{"id":22883639,"url":"https://github.com/deadbits/moce","last_synced_at":"2026-03-10T05:04:05.988Z","repository":{"id":214904224,"uuid":"737614298","full_name":"deadbits/moce","owner":"deadbits","description":"Local retrieval-augmented-generation with Mixtral, Ollama, Chainlit, and Embedchain 🌺🤖","archived":false,"fork":false,"pushed_at":"2023-12-31T21:29:24.000Z","size":381,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-15T09:42:45.362Z","etag":null,"topics":["chainlit","embedchain","large-language-models","llm","mixtral","ollama","retrieval-augmented-generation"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deadbits.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-31T18:49:52.000Z","updated_at":"2024-04-09T21:28:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"f9f8b3c0-8871-4ac7-93ed-8f095cd0b280","html_url":"https://github.com/deadbits/moce","commit_stats":null,"previous_names":["deadbits/moce"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deadbits/moce","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadbits%2Fmoce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadbits%2Fmoce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadbits%2Fmoce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadbits%2Fmoce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deadbits","download_url":"https://codeload.github.com/deadbits/moce/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadbits%2Fmoce/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30325603,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T01:36:58.598Z","status":"online","status_checked_at":"2026-03-10T02:00:06.579Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chainlit","embedchain","large-language-models","llm","mixtral","ollama","retrieval-augmented-generation"],"created_at":"2024-12-13T18:39:32.058Z","updated_at":"2026-03-10T05:04:05.967Z","avatar_url":"https://github.com/deadbits.png","language":"Python","readme":"# moce 🌺🤖\n\nSimple, fully local retrieval-augmented-generation powered by Ollama, Embedchain, and Chainlit.\n\n* **LLM:** [dolphin-mixtral](https://ollama.ai/library/dolphin-mixtral)\n* **Inference:** [Ollama](https://ollama.ai/)\n* **Web UI:** [Chainlit](https://chainlit.io/)\n* **RAG \u0026 Chat:** [Embedchain](https://embedchain.ai/)\n* **Vector DB:** [Chroma](https://www.trychroma.com/)\n\n![chainlit ui](data/assets/chainlit_ui.png)\n\n## Setup\n\n### Install Ollama\n\n[Download and install Ollama](https://ollama.ai/library/dolphin-mixtral)\n\nThe [embedchain config](data/config.yaml) uses [dolphin-mixtral](https://ollama.ai/library/dolphin-mixtral) by default, but you can swap this out for any other model.\n\n### Clone the repository\n\n```bash\ngit clone https://github.com/deadbits/moce.git\ncd moce\n```\n\n### Setup Python virtual environment\n```bash\npython3 -m venv venv\nsource venv/bin/activate\n```\n\n### Install Python requirements\n\n```bash\npip install -r requirements.txt\n```\n\n### Set Hugging Face API token\nThis is required during the first run to download the embedding model.\n\n```bash\nexport HUGGINGFACE_API_TOKEN=\"hf_...\"\n```\n\n### Start ChromaDB Docker\n```bash\ndocker pull chromadb/chroma\ndocker run -d -p 8000:8000 chromadb/chroma\n```\n\n## Run\n```bash\nchainlit run moce.py --port 8888\n```\n\n### Chat Commands\n| **command** | **action**                                            |\n|-------------|-------------------------------------------------------|\n| /add \u003curl\u003e       | add new document to the knowledge base           |\n| /kb              | return last 25 documents added to knowledge base |\n| /help            | display this table                               |\n| *                | all other input is chat                          |\n\n### Add Data\nYou can start a conversation by asking a question or sharing a document with the `/add` command.\n\n**Add data to knowledge base**\n\n```\n/add https://huggingface.co/blog/shivance/illustrated-llm-os\n```\n\n### View KB\nDocument names added to your knowledge base are tracked in `data/indexed.json`.\nThe `/kb` command will return the last 25 document names.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadbits%2Fmoce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeadbits%2Fmoce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadbits%2Fmoce/lists"}