Skip to content

InlineSessionStateDict

Dictionary Type

InlineSessionStateDict

Bases: TypedDict

Dictionary form of InlineSessionState.

Attributes

conversation_history instance-attribute
conversation_history: ConversationHistory | ConversationHistoryDict | None

Contains the conversation history that persist across sessions.

files instance-attribute
files: Sequence[InputFile | InputFileDict] | None

Contains information about the files used by code interpreter.

invocation_id instance-attribute
invocation_id: str | None

The identifier of the invocation of an action. This value must match the invocationId returned in the InvokeInlineAgent response for the action whose results are provided in the returnControlInvocationResults field. For more information, see Return control to the agent developer.

prompt_session_attributes instance-attribute
prompt_session_attributes: Mapping[str, str] | None

Contains attributes that persist across a session and the values of those attributes.

return_control_invocation_results instance-attribute
return_control_invocation_results: Sequence[InvocationResultMember | InvocationResultMemberDict] | None

Contains information about the results from the action group invocation. For more information, see Return control to the agent developer.

Note

If you include this field in the sessionState field, the inputText field will be ignored.

session_attributes instance-attribute
session_attributes: Mapping[str, str] | None

Contains attributes that persist across a session and the values of those attributes.