ChatConfiguration Class
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 and the IEvaluationTokenCounter that should be used when evaluation is performed using an AI model.
public ref class ChatConfiguration sealed
public sealed class ChatConfiguration
type ChatConfiguration = class
Public NotInheritable Class ChatConfiguration
- Inheritance
-
ChatConfiguration
Constructors
ChatConfiguration(IChatClient, IEvaluationTokenCounter) |
Specifies the IChatClient and the IEvaluationTokenCounter that should be used when evaluation is performed using an AI model. |
Properties
ChatClient |
An IChatClient that can be used to communicate with an AI model. |
TokenCounter |
An optional IEvaluationTokenCounter that can be used to counts tokens present in evaluation prompts. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |