Wisdom indexer and generator
Project description
WisdomWeaver
This is a document question answering implementation that combines several concepts together to produce an arbitrary document question answering machine.
- Sentence Transformers: used to index text into a vector database
- Question Answering Model: used to find answers in text most likely to contain them
- ChatGPT: used to post process the answers
Getting started
pip3 install wisdomweaver
Index a directory of asciidoc files:
wisdom -v index --path /path/to/data
Search the index in interactive mode:
wisdom ask "What practice did many ancient C projects use?" --max 5 --threshold 0.2 --interactive --gpt
License
Apache 2.0
Learn Mode
- Learn techniques used in this project: https://swedishembedded.com/tag/gpt/
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wisdomweaver-0.3.1.tar.gz
(9.1 kB
view details)
Built Distribution
File details
Details for the file wisdomweaver-0.3.1.tar.gz
.
File metadata
- Download URL: wisdomweaver-0.3.1.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7979f66f03cc9ad260402b43e44080149abe76b4c06c43a8811e5975b37837b4 |
|
MD5 | e88acca7a32933fc06389bb652dd3392 |
|
BLAKE2b-256 | 2b5d16601ff4ee1fabc857d45e109971330de79472ace1d0badbad189cb4c968 |
File details
Details for the file wisdomweaver-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: wisdomweaver-0.3.1-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 696f967733ba99c872114409a5e0c48d30dc54e8dd32cd320587045561e7b593 |
|
MD5 | dae9c5364cb9cc7238344b2414cdd11d |
|
BLAKE2b-256 | c8e457eb6d1162c24b7ccfb196e38f57e49669667e4c76374780a27f16ca666a |