v1

latestOpenAPI 3.1.0raw.githubusercontent.com2024-11-01441490.1 KB
Chat

Create New Chat Thread

Create a new chat instance

post/chat/

Request body

brain_idstring required

The ID of the brain to associate with the chat

namestring required

The name of the chat

chat_message_type'TEXT' | 'JSON' required

The type fo response interface

response_length'SHORT' | 'MEDIUM' | 'LONG' nullable

Configure response length

temperaturenumber nullable

between 0 and 1

system_messagestring nullable

System message for the LLM

modelstring nullable

LLM Model to choose from

Response

brain_idstring
chat_idstring
created_atstring
created_fromstring
last_updatedstring
modelstring
system_messagestring
temperaturenumber nullable
titlestring
user_idstring
response_length'SHORT' | 'MEDIUM' | 'LONG' nullable
chat_message_type'TEXT' | 'JSON'