Git Product home page Git Product logo

simple_qa's Introduction

本地知识问答系统

配置

修改qa.conf下的配置项

部署

pip install -r requirements.txt

添加知识

python build.py --type pdf --url xxxx #可以是远程地址和本地文件路径
python build.py --type web --url http://xxxxxx #网页

启动前端

python chatshell.py

包含模块

  • parser.py 解析文档
  • splitter.py 文本分片
  • embedding*.py 词向量生成
  • store.py 知识的本地存储
  • prompt.py 提示词生成
  • llm*.py 回答生成的大语言模型
  • config.py 配置解析
  • build.py 本地知识维护
  • chatshell.py 网页版的前端
  • application.py 组织问答系统的各模块

simple_qa's People

Contributors

jnchen avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.