import maitai
# Update your application context text
maitai.context.update(
    application='YOUR_APPLICATION',
    reference='CONTEXT_REFERENCE',
    context_body='This is the context body to replace the existing context body with.'
)
## Or replace your application context file
maitai.context.update(
    application='YOUR_APPLICATION',
    reference='CONTEXT_REFERENCE',
    file_path='/path/to/your_file.txt'
)
import maitai
# Update your application context text
maitai.context.update(
    application='YOUR_APPLICATION',
    reference='CONTEXT_REFERENCE',
    context_body='This is the context body to replace the existing context body with.'
)
## Or replace your application context file
maitai.context.update(
    application='YOUR_APPLICATION',
    reference='CONTEXT_REFERENCE',
    file_path='/path/to/your_file.txt'
)

Update Context

application
string
required

The reference to the application the request is created from.

reference
string
required

Unique identifier for the context.

context_body
string

Application’s context

file_path
string

Location of file containing application context.