Build stateful agents
Overview
curl -v -XPOST https://agents.toolhouse.ai/{YOUR_AGENT_ID}
... curl output ...
< x-toolhouse-run-id: 92fa77db-507e-4c16-9a6d-06fb69eb1caf
¿Sobre qué tema te gustaría hablar hoy?curl -XPUT https://agents.toolhouse.ai/{YOUR_AGENT_ID}/{RUN_ID} \
--json '{ "message": "no sé, puedes escoger tu un tema para esta conversación?" }'
¿Hablamos de inteligencia artificial?curl -GET https://agents.toolhouse.ai/{YOUR_AGENT_ID}/{RUN_ID}
[
{ "role": "user", "content": "Hola" },
{ "role": "assistant", "content": "¿Sobre qué tema te gustaría hablar hoy?" },
{ "role": "user", "content": "no sé, puedes escoger tu un tema para esta conversación?" },
{ "role": "assistant", "content": "¿Hablamos de inteligencia artificial?" }
]Resources
Last updated