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 hashes)

Uploaded Python 3

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