Skip to main content

qagent - Query Agent

An abstract layer between applications and genAI.

Installation and Run

Setup credentials

  • In .env file add your own OPENAI_API_KEY key

Run

You need to have poetry installed first.

  1. poetry install

  2. poetry shell

  3. 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

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)

Source distribution for querai 0.1.9
File Size Uploaded
querai-0.1.9.tar.gz 14.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for querai 0.1.9
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.9 This release

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page