A middle layer between the applications and the LLMs.
Project description
qagent
- Query Agent
An abstract layer between applications and genAI.
Installation and Run
Setup credentials
- In
.env
file add your ownOPENAI_API_KEY
key
Run
You need to have poetry
installed first.
-
poetry install
-
poetry shell
-
Try one example command below.
Add your own flow
See the first example
Example
- Example usage of it in a customized usecase:
python tests/realstuff/01_dummy_question.py
- Example configuration of a prompt flow:
cat qagent/prompts/dialogflow/example-plan/text-to-table.json
- Run tests to see how it works: See Section
Test
below
Development
Test
Unitests
python -m unittest discover tests -v
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
querai-0.1.9.tar.gz
(14.8 kB
view details)
Built Distribution
querai-0.1.9-py3-none-any.whl
(26.2 kB
view details)
File details
Details for the file querai-0.1.9.tar.gz
.
File metadata
- Download URL: querai-0.1.9.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Darwin/21.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54891f85e70fd9d85fd6fafb34d9e2b340b2709838e705a367cd8448aaf13679 |
|
MD5 | 0471520dd6670c2e8af02141cffa7965 |
|
BLAKE2b-256 | 1f1ffcd9ff19b06a2d23fe4349c9bda44ad0371994a0543d286236f278b38352 |
File details
Details for the file querai-0.1.9-py3-none-any.whl
.
File metadata
- Download URL: querai-0.1.9-py3-none-any.whl
- Upload date:
- Size: 26.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Darwin/21.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 624e3dc589cfed2ad0ebc62a9b1c3ff3380fdec3a28eaed538500d6b038cc8a6 |
|
MD5 | 8d9164568c89b8c5ae74eec2458a2e46 |
|
BLAKE2b-256 | 901805bd12c2fbb3bcd6f6e5ba0ba5f91ee1d822e7260ea1dd3db02a41c39d73 |