ChatConfiguration(IChatClient) Constructor
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.
Specifies the IChatClient that should be used when evaluation is performed using an AI model.
public:
ChatConfiguration(Microsoft::Extensions::AI::IChatClient ^ chatClient);
public ChatConfiguration(Microsoft.Extensions.AI.IChatClient chatClient);
new Microsoft.Extensions.AI.Evaluation.ChatConfiguration : Microsoft.Extensions.AI.IChatClient -> Microsoft.Extensions.AI.Evaluation.ChatConfiguration
Public Sub New (chatClient As IChatClient)
Parameters
- chatClient
- IChatClient
An IChatClient that can be used to communicate with an AI model.