MCPcopy Index your code
hub / github.com/RapidAI/RapidRAG

github.com/RapidAI/RapidRAG @v0.0.9

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.0.9 ↗ · + Follow
75 symbols 336 edges 35 files 0 documented · 0% updated 5mo agov0.0.8 · 2023-08-29★ 250
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

🧐 Knowledge QA LLM

 <a href=""><img src="https://img.shields.io/badge/Python->=3.8,<3.12-aff.svg"></a>
 <a href=""><img src="https://img.shields.io/badge/OS-Linux%2C%20Win%2C%20Mac-pink.svg"></a>
 <a href=""><img src="https://img.shields.io/github/v/release/RapidAI/QA-LocalKnowledge-LLM?logo=github"></a>
 <a href="https://semver.org/"><img alt="SemVer2.0" src="https://img.shields.io/badge/SemVer-2.0-brightgreen"></a>
 <a href="https://github.com/psf/black"><img src="https://img.shields.io/badge/code%20style-black-000000.svg"></a>
 <a href="https://choosealicense.com/licenses/apache-2.0/"><img alt="GitHub" src="https://img.shields.io/github/license/RapidAI/Knowledge-QA-LLM"></a>

📣 We're looking for front-end development engineers interested in Knowledge QA with LLM, who can help us achieve front-end and back-end separation with our current implementation.

  • Questions & Answers based on local knowledge base + LLM.
  • Reason:
  • Advantage:
    • The whole project is modularized and does not depend on the lanchain library, each part can be easily replaced, and the code is simple and easy to understand.
    • In addition to the large language model interface that needs to be deployed separately, other parts can use CPU.
    • Support documents in common formats, including txt, md, pdf, docx, pptx, excel etc. Of course, other types of documents can also be customized and supported.

Demo

<img src="https://github.com/RapidAI/Knowledge-QA-LLM/releases/download/v0.0.1/UIDemo.gif" width="100%" height="100%">

Documentation

Full documentation can be found on docs.

Roadmap

  • [ ] Support keyword + vector hybrid search.
  • [ ] UI base vue.

Contributing

  • Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
  • Please make sure to update tests as appropriate.

Authors and acknowledgment

License

Apache 2.0

Core symbols most depended-on inside this repo

read_yaml
called by 7
knowledge_qa_llm/utils/utils.py
connect_db
called by 7
knowledge_qa_llm/vector_utils/sqlite_version.py
bot_print
called by 6
webui.py
tips
called by 4
webui.py
split_text
called by 4
knowledge_qa_llm/text_splitter/chinese_text_splitter.py
search_local
called by 3
knowledge_qa_llm/vector_utils/sqlite_version.py
insert
called by 3
knowledge_qa_llm/vector_utils/sqlite_version.py
make_prompt
called by 2
knowledge_qa_llm/utils/utils.py

Shape

Method 41
Function 19
Class 15

Languages

Python100%

Modules by API surface

knowledge_qa_llm/vector_utils/sqlite_version.py13 symbols
webui.py8 symbols
knowledge_qa_llm/file_loader/main.py6 symbols
knowledge_qa_llm/utils/utils.py5 symbols
knowledge_qa_llm/text_splitter/chinese_text_splitter.py4 symbols
knowledge_qa_llm/llm/ernie_bot_turbo.py4 symbols
knowledge_qa_llm/encoder/encode_text.py4 symbols
knowledge_qa_llm/llm/qwen7b_chat.py3 symbols
knowledge_qa_llm/llm/llama2.py3 symbols
knowledge_qa_llm/llm/internlm_7b.py3 symbols
knowledge_qa_llm/llm/chatglm2_6b.py3 symbols
knowledge_qa_llm/llm/baichuan_7b.py3 symbols

For agents

$ claude mcp add RapidRAG \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact