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.4.tar.gz (8.7 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.4-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: datachampsai-0.1.4.tar.gz
  • Upload date:
  • Size: 8.7 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.4.tar.gz
Algorithm Hash digest
SHA256 2540784894c21c02eeb15c58f46faa018413f330fabf840b9d68a2d70712e335
MD5 22cbaba32ce81113cd506a8695712a1a
BLAKE2b-256 a4c62861c76c4fb6e877d26695a36309d0a51dce016d55102cd2f2c683d64209

See more details on using hashes here.

File details

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

File metadata

  • Download URL: datachampsai-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 10.3 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 fb18a5a705e7cc630f8c348514da45920e00ec84314ab9df2087f42076effe17
MD5 7bc884e64b5552beace50f898b193781
BLAKE2b-256 299e7229cc4db0741eac51fbe8f77810369980e3da57bd67150e7f84951d5f04

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