Skip to content

Q&A Knowledge-Base agent 🤖. Chat with Markdown documents in free text ⌨

License

Notifications You must be signed in to change notification settings

romiras/kb-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kb-agent

Knowledge-Base agent allows to query Q&A dataset interactively in natural language.

Use cases

  • interactive lookup on FAQ
  • assistant for smooth onboarding experience for new team members.

How it works

  1. Collecting Q&A in format as described in docs/QA-dataset-spec.md and storing it in datasets/dataset.md.
  2. Generating SQLite database from collection of Q&A in datasets/dataset.md.
  3. Generating vector embeddings using txtai .
  4. Querying indexed Q&A pairs interactively.

Install

pip install -r requirements.txt

Run demo

# Generate SQLite database answers.db from dataset.md
python gen_db.py

# run demo in CLI mode
python cli.py

License

GNU AFFERO GENERAL PUBLIC LICENSE

About

Q&A Knowledge-Base agent 🤖. Chat with Markdown documents in free text ⌨

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages