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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.