Criar contexto do agente
Changed onCria um contexto do agente. Sem order, ele entra no fim da lista. Para type: "text" envie o texto em content; para type: "file" envie a requisição como multipart/form-data com o arquivo no campo file (imagem ou PDF, até 10 MB) — nesse caso o content passa a apontar para o arquivo armazenado.
Request
- Base URL: https://api.olie.ai
- URL: https://api.olie.ai/api/management/ai/agents/{agentId}/contexts
- Auth: HTTP bearer
Request body
Response
Sucesso
Changes
- breaking
the request property
became not nullable
- breaking
- breaking
request property
was restricted to a list of enum values - breaking
the request property
became required - breaking
the response property
became nullable for the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
added the new
fileenum value to theresponse property for the response status - warning
added the new
textenum value to theresponse property for the response status - info
added the new optional request property
- info
added the new optional request property
- info
the request property
became nullable - info
added the new
fileenum value to the request property - info
added the new
textenum value to the request property - info
added the optional property
to the response with the status
- breaking