Skip to main content

Gradio ReActAgent Chatbot Pack

Create a ReActAgent Chatbot equipped with two LlamaHub tools, namely: ArxivToolSpec and Wikipedia tool and WikipediaToolSpec.

This pack's Gradio app is built using Gradio Blocks. User messages are submitted via a TextBox Block, which are then handled by a LlamaIndex ReActAgent to generate a response (calling required tools). The result is then sent to a Chatbot Block — additionally the agent's thoughts are captured in an HTML Block.

CLI Usage

You can download llamapacks directly using llamaindex-cli, which comes installed with the llama-index python package:

llamaindex-cli download-llamapack GradioReActAgentPack --download-dir ./gradio_react_agent_chatbot

You can then inspect the files at ./gradio_react_agent_chatbot and use them as a template for your own project!

To run the app directly, use in your terminal:

export OPENAI_API_KEY="sk-...
python ./gradio_react_agent_pack/base.py

Metadata

Release files for llama-index-packs-gradio-react-agent-chatbot 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llama-index-packs-gradio-react-agent-chatbot 0.3.1
File Size Uploaded Provenance Actions
llama_index_packs_gradio_react_agent_chatbot-0.3.1.tar.gz 5.3 kB Without provenance Details for llama_index_packs_gradio_react_agent_chatbot-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-packs-gradio-react-agent-chatbot 0.3.1
File Interpreter ABI Platform Actions
llama_index_packs_gradio_react_agent_chatbot-0.3.1-py3-none-any.whl Python 3 none any Details for llama_index_packs_gradio_react_agent_chatbot-0.3.1-py3-none-any.whl

Total release size: 10.4 kB

Release files / llama_index_packs_gradio_react_agent_chatbot-0.3.1.tar.gz

Download URL llama_index_packs_gradio_react_agent_chatbot-0.3.1.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b8a0cbd7af250cbf47ff79e64a8395ad278c680da07b3b2f0e9a05f22f1c66d3
BLAKE2b-256 checksum
How to use checksums
11d2db975563462cb0e837d6823d54a4ed333dad5c2049d92260a25aa17c095e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.17

Release files / llama_index_packs_gradio_react_agent_chatbot-0.3.1-py3-none-any.whl

Download URL llama_index_packs_gradio_react_agent_chatbot-0.3.1-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
78059d7d9109d86459353c31b710b7448fee827dca94b20cf2755d1f90cb21c8
BLAKE2b-256 checksum
How to use checksums
7a1708a4efcedf4d60de48b50c46e358344dfc3b8e133aebba72d03e572a1fe3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.17

Security for llama-index-packs-gradio-react-agent-chatbot 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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