Interaction API
This page details on how you can interact with Character.
Interacting with a Character
Headers
Name
Type
Description
Request Body
Name
Type
Description
{
"charID": "<character id sent in the request body>",
"text": "<response generated by the language model to the query>",
"audio": null / "<base64 encoded audio>"
"sample_rate": null / "<sample rate of the audio in Hz>"
"sessionID": "<your session id. In case of a new session, it returns a newly generated value or returns the old one>"
}{
"charID": "<character id sent in the request body>",
"text": "process_failure, error: <error representation>"
}{
"ERROR": "Expecting only one; either an audio file or user's query as a string"
}Generate Conversation Options
Headers
Name
Type
Description
Request Body
Name
Type
Description