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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET