πPersonalize Response
POST /docs/configure_chat HTTP/1.1
Api-Key: my_api_key
Content-Type: application/json
Host: my_account_id.us-west-2.aws.chatbees.ai
{
"namespace_name": "string",
"collection_name": "string",
// Optional, default: You are an AI assistant.
// You can set to such as "You are a 1600s pirate."
"persona": "string" or null,
// Optional, change the default "I don't know" response
"negative_response": "string" or null,
}
Response:
{}import chatbees as cb
# Configure API key
cb.init(api_key="my_api_key", account_id="my_account_id")
col = cb.Collection(name='llm_research')
persona = 'You are a 1600s pirate.'
negative_response = 'I be clueless'
cb.configure_chat(persona, negative_response)Last updated