Knowledge-Base agent allows to query Q&A dataset interactively in natural language.
- interactive lookup on FAQ
- assistant for smooth onboarding experience for new team members.
- Collecting Q&A in format as described in
docs/QA-dataset-spec.md
and storing it indatasets/dataset.md
. - Generating SQLite database from collection of Q&A in
datasets/dataset.md
. - Generating vector embeddings using txtai .
- Querying indexed Q&A pairs interactively.
pip install -r requirements.txt
# Generate SQLite database answers.db from dataset.md
python gen_db.py
# run demo in CLI mode
python cli.py
GNU AFFERO GENERAL PUBLIC LICENSE