Skip to main content
Pawa Knowledge Base is a managed content store that automatically indexes your documents for semantic search and retrieval-augmented generation (RAG). Upload files (PDF, DOCX, images, HTML, PPTX, XLSX, text) and query them with natural language in English or Swahili. You can create and update your knowledge base at any time. Explore the full list of endpoint workflows in the API reference. Unlock the value of your documents by transforming them into searchable, AI-ready knowledge, enabling you to build grounded assistants that cite your own content. You can knowledge base in :
  • Your agents chat request.
  • Your RAG pipelines.
Knowledge Base Example Using Pawa AI
Document Parsing Example

Use Cases of Knowledge Base

📚 Company Knowledge

Centralize policies, HR docs, and manuals for employees to query in natural language.

⚖️ Legal Document Search

Retrieve clauses, dates, and rules from contracts and compliance files instantly.

🏥 Healthcare Records

Index medical reports and prescriptions for secure semantic search in digital health systems.

📊 Research & Reports

Store and retrieve insights from research papers, presentations, and business reports.

Supported Formats

Pawa AI can help build a knowledge base with a wide range of formats, including:
  • PDFs
  • DOCX
  • Excel (XLSX)
  • PowerPoint (PPTX)
  • Images (PNG)
  • Audio files
  • Web links / HTML

Pawa AI Knowledge Base Workflow

  1. Create a knowledge base container, with reference files
  2. Query with natural language using semantic retrieval to retrieve top-K passages
  3. Feed semantic results into chat for grounded RAG answers.
  4. Out of the box RAG request, just pass the knowledge_base_id as parameter.

Create a Knowledge Base, With multiple files.

The Example Response

After creating the knowledge base, now you can anything with it, such as performing semantic retrieval, or sending your out-of-the-box RAG chat request.

Semantic retrieval on Knowledge Base

Grounded answers (RAG) on Knowledge Base

Troubleshooting

  • Low relevance: rephrase query; ensure documents are properly parsed
  • Missing files: confirm knowledge_base_id and upload success
  • Slow retrieval: reduce top_k or filter by metadata