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
- Clone the repo
- Install dependencies with
pip install -r requirements.txt
- Install locally for dev with
pip install -e . --config-settings editable_mode=strict
- Clone the
weaviate-io
repo intodata
folder - Run a Weaviate instance (e.g. with Docker)
- 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
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2c2bf0cf10c76b86bb5a65d3ee5fe25c8a599bd4de0aa532e8ae14442f050c1 |
|
MD5 | 990e759172b82cb9bc50f04c5406ed1f |
|
BLAKE2b-256 | 12d78670ae6b4c8737da8ddf612390c941d35c3f1b9acf4df4b16d8943606e20 |
File details
Details for the file weaviate_agent_demo-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: weaviate_agent_demo-0.1.0-py3-none-any.whl
- Upload date:
- Size: 16.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.9 Darwin/23.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90363fca6de27760db911b07c12fae2537ce5e5d0e8fa016a4b492fa4a4da6e3 |
|
MD5 | 5a70a1a52a534cbb47f53dcebeec75ed |
|
BLAKE2b-256 | 7f65b85cb9b1dde1a7c228786282838206febda4579079c2f73fded9395b6e6b |