Documentation Index
Fetch the complete documentation index at: https://aimnahai.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Knowledge Base
The knowledge base lets you upload documents and websites that your agent can reference during conversations. When a user asks a question, the agent searches the knowledge base for relevant context and uses it to generate accurate answers.How it works
- You upload content (files or URLs)
- Content is split into chunks and converted to vector embeddings
- When the agent receives a message, it searches for the most relevant chunks
- Matching chunks are injected into the agent’s context before generating a response
Supported formats
| Type | Formats |
|---|---|
| Documents | PDF, DOCX, TXT, MD |
| Web pages | Any public URL (content is crawled and extracted) |
| Plain text | Paste text directly |
Adding sources
- Open your agent’s settings
- Go to the Knowledge Base tab
- Click Add Source
- Choose the source type and upload/enter content
- Wait for processing (usually a few seconds per document)
Best practices
- Be specific — Upload only content relevant to your agent’s domain. More data isn’t always better.
- Keep content fresh — Re-upload documents when they change. Old content can lead to outdated answers.
- Chunk size matters — The system automatically chunks documents. Very long documents work fine.
- Test retrieval — Ask your agent questions that should be answered by the knowledge base and verify accuracy.
Vector store
Aimna uses Pinecone as the vector store with OpenAI embeddings for semantic search. The minimum similarity score for retrieval is0.3 — this ensures relevant results without being too restrictive.