AssistantsState Class
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.
The default implementation of IAssistantsState.
public class AssistantsState : Microsoft.Teams.AI.State.TurnState, Microsoft.Teams.AI.AI.Planners.Experimental.IAssistantsState
type AssistantsState = class
inherit TurnState
interface IAssistantsState
Public Class AssistantsState
Inherits TurnState
Implements IAssistantsState
- Inheritance
- Implements
CONVERSATION_SCOPE |
Name of the conversation scope. (Inherited from TurnState) |
Scope |
The default values to initial for each scope. (Inherited from TurnState) |
TEMP_SCOPE |
Name of the temp scope. (Inherited from TurnState) |
USER_SCOPE |
Name of the user scope. (Inherited from TurnState) |
Conversation |
Stores all the conversation-related state. (Inherited from TurnState) |
Last |
Get or set the last message ID. Stored in ConversationState with key "assistants_state_last_message_id". |
Run |
Get or set the run ID. Stored in ConversationState with key "assistants_state_run_id". |
Submit |
Get or set the submit tool map. Stored in TempState with key "assistants_state_submit_tool_map". |
Submit |
Get or set whether need to submit tool outputs. Stored in TempState with key "assistants_state_submit_tool_outputs". |
Temp |
Stores all the temporary state for the current turn. (Inherited from TurnState) |
Thread |
Get or set the thread ID. Stored in ConversationState with key "assistants_state_thread_id". |
User |
Stores all the user related state. (Inherited from TurnState) |
Delete |
Deletes the conversation state. (Inherited from TurnState) |
Delete |
Deletes the temporary state. (Inherited from TurnState) |
Delete |
Deletes the user state (Inherited from TurnState) |
Delete |
Deletes a value from the memory. (Inherited from TurnState) |
Get |
Returns the TurnStateEntry associated with the specified scope. (Inherited from TurnState) |
Get |
Retrieves a value from the memory. (Inherited from TurnState) |
Has |
Checks if a value exists in the memory. (Inherited from TurnState) |
Is |
Provides the current status of the load. (Inherited from TurnState) |
Load |
Loads all of the state scopes for the current turn. (Inherited from TurnState) |
On |
Computes the state keys (Inherited from TurnState) |
Save |
Saves all of the state scopes for the current turn. (Inherited from TurnState) |
Set |
Assigns a value to the memory. (Inherited from TurnState) |
Προϊόν | Εκδόσεις |
---|---|
Microsoft Teams Framework .NET SDK | Latest |