The basics
Multi-turn conversations
Pass the full message history in each call. Memic is stateless — every request must include the complete conversation context:Citations
Every chat response includes structured citations pointing back to the source documents:When to use chat vs search
- Use
searchwhen you want passages to render as a list, or when you need raw retrieved content to feed into your own prompt - Use
chatwhen you want an answer composed for you, with citations
search + your own
LLM call.
Related
Recipe: Chatbot
A complete chatbot with memory walkthrough.
API reference
Full chat endpoint docs.