Think and generate answer
POST/api/v1/memory banks/:agent_id/think
Think and formulate an answer using memory bank identity, world facts, and opinions.
This endpoint:
- Retrieves agent facts (memory bank's identity)
- Retrieves world facts relevant to the query
- Retrieves existing opinions (memory bank's perspectives)
- Uses LLM to formulate a contextual answer
- Extracts and stores any new opinions formed
- Returns plain text answer, the facts used, and new opinions
Request
Responses
- 200
- 422
Successful Response
Validation Error