Skip to main content

Demo project for sometimes (poorly) generating Python code for Weaviate

Project description

Weaviate helper

AI-powered helper app for using Weaviate, with a twist:

  • The app is of varying levels of intelligence and use...

Try out the different CLI commands set up in src/weaviate_agent_demo/cli.py, or in pyproject.toml.

e.g.:

  • ask_llm
  • ask_basic_ragbot
  • ask_ragbot_with_reformulation
  • ask_ragbot_with_tools
  • safely_ask_ragbot_with_tools

Dev setup

  1. Clone the repo
  2. Install dependencies with pip install -r requirements.txt
  3. Install locally for dev with pip install -e . --config-settings editable_mode=strict
  4. Clone the weaviate-io repo into data folder
  5. Run a Weaviate instance (e.g. with Docker)
  6. Run the files in src/weaviate_agent_demo/db_setup to ingest data

Notes:

  • LLM almost always refuses to decompose a query into sub-queries, regardless of how complex the query is.

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

weaviate_agent_demo-0.1.0.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

weaviate_agent_demo-0.1.0-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file weaviate_agent_demo-0.1.0.tar.gz.

File metadata

  • Download URL: weaviate_agent_demo-0.1.0.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Darwin/23.6.0

File hashes

Hashes for weaviate_agent_demo-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f2c2bf0cf10c76b86bb5a65d3ee5fe25c8a599bd4de0aa532e8ae14442f050c1
MD5 990e759172b82cb9bc50f04c5406ed1f
BLAKE2b-256 12d78670ae6b4c8737da8ddf612390c941d35c3f1b9acf4df4b16d8943606e20

See more details on using hashes here.

File details

Details for the file weaviate_agent_demo-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for weaviate_agent_demo-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 90363fca6de27760db911b07c12fae2537ce5e5d0e8fa016a4b492fa4a4da6e3
MD5 5a70a1a52a534cbb47f53dcebeec75ed
BLAKE2b-256 7f65b85cb9b1dde1a7c228786282838206febda4579079c2f73fded9395b6e6b

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