ChatClientBuilderChatClientExtensions.AsBuilder(IChatClient) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new ChatClientBuilder using innerClient
as its inner client.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::AI::ChatClientBuilder ^ AsBuilder(Microsoft::Extensions::AI::IChatClient ^ innerClient);
public static Microsoft.Extensions.AI.ChatClientBuilder AsBuilder (this Microsoft.Extensions.AI.IChatClient innerClient);
static member AsBuilder : Microsoft.Extensions.AI.IChatClient -> Microsoft.Extensions.AI.ChatClientBuilder
<Extension()>
Public Function AsBuilder (innerClient As IChatClient) As ChatClientBuilder
Parameters
- innerClient
- IChatClient
The client to use as the inner client.
Returns
The new ChatClientBuilder instance.
Remarks
This method is equivalent to using the ChatClientBuilder constructor directly, specifying innerClient
as the inner client.
Applies to
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.