chat
Retrieve knowledge base chunks and summarize with an LLM to answer queries. Supply knowledge_base_ids to enable RAG; without them, answers fall back to LLM knowledge.
Instructions
RAG pipeline chat: retrieve relevant chunks from knowledge bases, then summarise with LLM. ALWAYS provide knowledge_base_ids (names like 'my-knowledge-base' or UUIDs) so retrieval can run — without them the answer is based on LLM knowledge only. Use list_knowledge_bases to discover available knowledge bases. For multi-step reasoning or tool-calling use agent_chat instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | User query | |
| session_id | Yes | Session ID (from create_session or list_sessions) | |
| knowledge_base_ids | No | Knowledge base names OR UUIDs to search. Strongly recommended for RAG — without them the answer falls back to LLM knowledge only. E.g. ['my-knowledge-base'] or ['a1b2c3d4-...']. Use list_knowledge_bases to find them. | |
| web_search_enabled | No | Enable web search alongside KB retrieval. |