Skip to main content

A Streamlit app that refines data queries using chat context and reference instructions.

Project description

ChatApp

ChatApp is a lightweight Python package that powers a Streamlit-based chatbot interface designed to refine user queries using prior chat history and a reference document.

The app uses OpenAI's GPT-4 model (via LangChain) to return:

  • A refined query, and
  • Additional context or logic to help with analysis or automation

🚀 Features

  • 🧠 Maintains full chat history across turns
  • 📄 Incorporates a static reference document with example queries and hints
  • 🤖 Integrates with OpenAI GPT-4 via LangChain
  • 📦 Package-style installation for easy sharing or deployment
  • ✅ Clean XML-style formatted response:
    <refined_query>
    ...
    </refined_query>
    
    <additional_info>
    ...
    </additional_info>
    

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

datachampsai-0.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datachampsai-0.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file datachampsai-0.1.tar.gz.

File metadata

  • Download URL: datachampsai-0.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for datachampsai-0.1.tar.gz
Algorithm Hash digest
SHA256 a7aa5f0f00e7232529acad89aad891b3a82471da481c54f64056ebb1a3c0cbb7
MD5 129b5a85a3151854a2d85e39237a4ce7
BLAKE2b-256 0804ea7b633d0bab36dbdf9eedaf1d188cc2e63e40b0453db817ada31039123d

See more details on using hashes here.

File details

Details for the file datachampsai-0.1-py3-none-any.whl.

File metadata

  • Download URL: datachampsai-0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for datachampsai-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8aaf582fdccd3a7c4f408fd823e431b046f464f4ce7e3d7153bf8efe29b72bec
MD5 577b5708e28da63de3fdffe5e465293d
BLAKE2b-256 f9de8b2165377020ba555e79815d912bbf453689d2c7f8b54c229a70294ee7cf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page