Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Documentation
How to use the Orkeia AI platform
What are agent payloads?
export interface AgentPayload { agent: string; input: string; context?: { role: 'user' | 'assistant'; content: string }[]; chatId?: string; files?: string[]; metadata?: Metadata; } export interface Metadata { useCache: boolean; hoursCache: number; }
AgentPayload
context: { role: 'user' | 'assistant'; content: string; }[]
[ { "role":"user", "content":"oi" } ]
{ "useCache": true, "hoursCache": 6}
Metadata
{ "agent": "Suporte Orkeia", "input": "Preciso de ajuda com a fatura" }
{ "agent": "Suporte Orkeia", "input": "Quais são os planos e valores?", "context": [ { "role": "user", "content": "Olá!" }, { "role": "assistant", "content": "Oi! Como posso ajudar?" } ], "chatId": "chat_12345", "files": ["https://storage.orkeia.ai/docs/termos.pdf"], "metadata": { "useCache": true, "hoursCache": 12 } }
Was this page helpful?