Skip to main content

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

wisdomweaver-0.4.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file wisdomweaver-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for wisdomweaver-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 812cd28068d414e7eb8c36fc86d67eec1dd6b652d4a87e1ea6d14e35b39fd53b
MD5 3542b42616820c2d1db8c55610cc4126
BLAKE2b-256 255c485ec2c27e8332d70123367ba1eb5a730fa7b95db841cfeee8eec2e5967c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page