Class AssistantMessage
Inheritance
object
AssistantMessage
Assembly: .dll
Syntax
public class AssistantMessage : ChatMessage
Constructors
AssistantMessage()
Declaration
public AssistantMessage()
AssistantMessage(ChatCompletion)
Declaration
public AssistantMessage(ChatCompletion chat)
Parameters
AssistantMessage(Content)
Declaration
public AssistantMessage(Content content)
Parameters
Type |
Name |
Description |
Content |
content |
|
Properties
Role
The role of the messages author.
Declaration
public override ChatRole Role { get; }
Property Value
Overrides
Optional. A list of tool calls (functions) the model wants to use.
Declaration
public ToolCall[] Tools { get; set; }
Property Value
Usage
Declaration
public Usage Usage { get; set; }
Property Value
Operators
implicit operator string(AssistantMessage)
Declaration
public static implicit operator string(AssistantMessage message)
Parameters
Returns
Extension Methods