Resource: Context
Represents a context.
JSON representation | |
---|---|
{ "name": string, "lifespanCount": integer, "parameters": { object } } |
Fields | |
---|---|
name |
Required. The unique identifier of the context. Format: The If |
lifespanCount |
Optional. The number of conversational query requests after which the context expires. If set to |
parameters |
Optional. The collection of parameters associated with this context. Refer to this doc for syntax. |
Methods |
|
---|---|
|
Creates a context. |
|
Deletes the specified context. |
|
Retrieves the specified context. |
|
Returns the list of all contexts in the specified session. |
|
Updates the specified context. |