Skip to main content

Simba - Your Knowledge Management System

Simba Logo

Connect your knowledge to any RAG system

Simba  - Connect your Knowledge into any RAG based system | Product Hunt

License Stars Forks Issues Pull Requests

Twitter Follow

Simba is an open source, portable KMS (knowledge management system) designed to integrate seamlessly with any Retrieval-Augmented Generation (RAG) system. With a modern UI and modular architecture, Simba allows developers to focus on building advanced AI solutions without worrying about the complexities of knowledge management.

Table of Contents

🚀 Features

  • 🧩 Modular Architecture: Plug in various vector stores, embedding models, chunkers, and parsers.
  • 🖥️ Modern UI: Intuitive user interface to visualize and modify every document chunk.
  • 🔗 Seamless Integration: Easily integrates with any RAG-based system.
  • 👨‍💻 Developer Focus: Simplifies knowledge management so you can concentrate on building core AI functionality.
  • 📦 Open Source & Extensible: Community-driven, with room for custom features and integrations.

🎥 Demo

Watch the demo

🛠️ Getting Started

📋 Prerequisites

Before you begin, ensure you have met the following requirements:

📦 Installation

Clone the repository and install dependencies:

git clone https://github.com/GitHamza0206/simba.git
cd simba
poetry install
poetry shell

🔑 Configuration

Create a .env file in the root directory:

OPENAI_API_KEY=your_openai_api_key
REDIS_HOST=localhost
CELERY_BROKER_URL=redis://localhost:6379/0
CELERY_RESULT_BACKEND=redis://localhost:6379/1

create or update config.yaml file in the root directory:

# config.yaml

project:
  name: "Simba"
  version: "1.0.0"
  api_version: "/api/v1"

paths:
  base_dir: null  # Will be set programmatically
  faiss_index_dir: "vector_stores/faiss_index"
  vector_store_dir: "vector_stores"

llm:
  provider: "openai"
  model_name: "gpt-4o-mini"
  temperature: 0.0
  max_tokens: null
  streaming: true
  additional_params: {}

embedding:
  provider: "huggingface"
  model_name: "BAAI/bge-base-en-v1.5"
  device: "mps"  # Changed from mps to cpu for container compatibility
  additional_params: {}

vector_store:
  provider: "faiss"
  collection_name: "simba_collection"

  additional_params: {}

chunking:
  chunk_size: 512
  chunk_overlap: 200

retrieval:
  k: 5

celery: 
  broker_url: ${CELERY_BROKER_URL:-redis://redis:6379/0}
  result_backend: ${CELERY_RESULT_BACKEND:-redis://redis:6379/1}

🚀 Run Simba

Run the server:

simba server

Run the frontend:

simba front 

Run the parsers:

simba parsers

🏁 Roadmap

  • 💻 pip install simba
  • 🔧 pip install simba-sdk
  • 🌐 www.simba-docs.com
  • 🔒 Adding Auth & access management
  • 🕸️ Adding web scraping
  • ☁️ Pulling data from Azure / AWS / GCP
  • 📚 More parsers and chunkers available
  • 🎨 Better UX/UI

🤝 Contributing

Contributions are welcome! If you'd like to contribute to Simba, please follow these steps:

  • Fork the repository.

  • Create a new branch for your feature or bug fix.

  • Commit your changes with clear messages.

  • Open a pull request describing your changes.

💬 Support & Contact

For support or inquiries, please open an issue 📌 on GitHub or contact repo owner at Hamza Zerouali

Metadata

Release files for simba-core 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simba-core 1.0.1
File Size Uploaded Provenance
simba_core-1.0.1.tar.gz 2.3 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for simba-core 1.0.1
File Interpreter ABI Platform
simba_core-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 4.7 MB

Release files / simba_core-1.0.1.tar.gz

Download URL simba_core-1.0.1.tar.gz
Size 2.3 MB
Tags Source
SHA-256 checksum
How to use checksums
f39ae7a0dad7766c9acd8331b0f292e2c5fb484c36533983161a2bddb5f0120d
BLAKE2b-256 checksum
How to use checksums
a9e496bfc51d24bbf8e497b3426d27f857bd9a14e21d6bafc7f2c9777f273bb6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.11.5 Darwin/24.3.0

Release files / simba_core-1.0.1-py3-none-any.whl

Download URL simba_core-1.0.1-py3-none-any.whl
Size 2.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
2249cb82f23968daa6f4b7f0ee187b9cab0431db700cad377b2ae053da96b0bb
BLAKE2b-256 checksum
How to use checksums
2af2424584bf4ef39ad9a453746a1b6451b8205446d3a98c6c893989c81a3346
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.11.5 Darwin/24.3.0

Security for simba-core 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page