Knowledge Data Preparation & Formats
Properly formatted knowledge data guarantees that your AI assistant always returns accurate, factual answers without misunderstanding technical terms or pricing policies.
Supported File Types
ToolsWallet RAG natively accepts three main data formats (max 10MB per file):
| Format | Extension | Best Used For |
|---|---|---|
| JSON | .json | Structured FAQs, e-commerce product catalogs, API schemas, price lists. |
| Markdown | .md | Technical documentation, user guides, knowledge base articles. |
| Plain Text | .txt | Company policies, terms of service, meeting notes, snippets. |
Structuring JSON Files
Upload an array of objects where each object represents a single Question & Answer or Product. For example:
[
{
"question": "How do I cancel my subscription?",
"answer": "Go to Settings > Billing and click Cancel Plan before your next billing cycle."
},
{
"question": "What payment methods do you accept?",
"answer": "We accept Visa, MasterCard, American Express, UPI, and NetBanking."
}
]Each array item is automatically indexed as 1 discrete record.
Clear, concise questions and answers in JSON format yield the highest search accuracy.
Automatic SHA-256 Deduplication
When you re-upload a document, our engine calculates a cryptographic SHA-256 hash of each record. If a record has not changed, it is skipped automatically without consuming new record slots.