qagent - Query Agent
An abstract layer between applications and genAI.
Installation and Run
Setup credentials
- In
.envfile add your ownOPENAI_API_KEYkey
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
Testbelow
Development
Test
Unitests
python -m unittest discover tests -v
Release files for querai 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| querai-0.1.9.tar.gz | 14.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| querai-0.1.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 41.0 kB
Release files / querai-0.1.9.tar.gz
| Download URL | querai-0.1.9.tar.gz |
|---|---|
| Size | 14.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
54891f85e70fd9d85fd6fafb34d9e2b340b2709838e705a367cd8448aaf13679
|
|
BLAKE2b-256 checksum How to use checksums |
1f1ffcd9ff19b06a2d23fe4349c9bda44ad0371994a0543d286236f278b38352
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.4 Darwin/21.4.0
|
Release files / querai-0.1.9-py3-none-any.whl
| Download URL | querai-0.1.9-py3-none-any.whl |
|---|---|
| Size | 26.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
624e3dc589cfed2ad0ebc62a9b1c3ff3380fdec3a28eaed538500d6b038cc8a6
|
|
BLAKE2b-256 checksum How to use checksums |
901805bd12c2fbb3bcd6f6e5ba0ba5f91ee1d822e7260ea1dd3db02a41c39d73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.4 Darwin/21.4.0
|