LlamaIndex Packs Integration: Query Understanding Agent
This LlamaPack implements Query Understanding Agent
Taking inspiration from Humans - when asked a query, humans would clarify what the query means before proceeding if the human sensed the query is unclear. This LlamaPack implements this.
Check out the full notebook here.
Installation
pip install llama-index
CLI Usage
You can download llamapacks directly using llamaindex-cli, which comes installed with the llama-index python package:
llamaindex-cli download-llamapack QueryUnderstandingAgent --download-dir ./query_understanding_agent
You can then inspect the files at ./query_understanding_agent and use them as a template for your own project.
Code Usage
You can download the pack to a the ./query_understanding_agent directory:
from llama_index.core.llama_pack import download_llama_pack
# download and install dependencies
QueryUnderstandingAgentPack = download_llama_pack(
"QueryUnderstandingAgent", "./query_understanding_agent"
)
# You can use any llama-hub loader to get documents!
From here, you can use the pack, or inspect and modify the pack in ./query_understanding_agent.
See example notebook for usage.
Metadata
Release files for llama-index-packs-query-understanding-agent 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| llama_index_packs_query_understanding_agent-0.3.1.tar.gz | 7.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llama_index_packs_query_understanding_agent-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.1 kB
Release files / llama_index_packs_query_understanding_agent-0.3.1.tar.gz
| Download URL | llama_index_packs_query_understanding_agent-0.3.1.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36b383379eab0cb023e278f9660d8fbbebd516176170f2e1be343ce3f64eee17
|
|
BLAKE2b-256 checksum How to use checksums |
e3a698a4eb1d3732ba541b842b31277c8449fb5df8631f67fb392c5a5e33f375
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.17
|
Release files / llama_index_packs_query_understanding_agent-0.3.1-py3-none-any.whl
| Download URL | llama_index_packs_query_understanding_agent-0.3.1-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b64fdf29d3c2d9690aa170817c178ff435c17bfe9d60203a8a672fed70d97f31
|
|
BLAKE2b-256 checksum How to use checksums |
e25fca875eb82df7aebe672cd2000e5cd7afba279da1f831df56da82acc896ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.17
|