ChatHistoryAgentThread Constructors
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.
Overloads
| ChatHistoryAgentThread() |
Initializes a new instance of the ChatHistoryAgentThread class. |
| ChatHistoryAgentThread(ChatHistory, String) |
Initializes a new instance of the ChatHistoryAgentThread class that resumes an existing thread. |
ChatHistoryAgentThread()
Initializes a new instance of the ChatHistoryAgentThread class.
public ChatHistoryAgentThread();
Public Sub New ()
Applies to
ChatHistoryAgentThread(ChatHistory, String)
Initializes a new instance of the ChatHistoryAgentThread class that resumes an existing thread.
public ChatHistoryAgentThread(Microsoft.SemanticKernel.ChatCompletion.ChatHistory chatHistory, string? id = default);
new Microsoft.SemanticKernel.Agents.ChatHistoryAgentThread : Microsoft.SemanticKernel.ChatCompletion.ChatHistory * string -> Microsoft.SemanticKernel.Agents.ChatHistoryAgentThread
Public Sub New (chatHistory As ChatHistory, Optional id As String = Nothing)
Parameters
- chatHistory
- ChatHistory
An existing chat history to base this thread on.
- id
- String
The id of the existing thread. If not provided, a new one will be generated.