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.5.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.5-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: datachampsai-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 85d5eeab541dad3089480244fb64fb7b53c7543db8b3ec51720da72a523af98e
MD5 d0dc849c31b1b993a3062ebdf299f660
BLAKE2b-256 b857dcbfe1bb1d1c7edbec77db53d2ac55f096299380b6c374d6120e8c77168e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: datachampsai-0.1.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c1f0fdee14265fd40551200dce95d71452f4fba5da029a170292693b86cc3300
MD5 794426168e7559f013cca8a5cd311216
BLAKE2b-256 4bc671dad20661b73d3d4afac9d8fab9f1d677c732fb3f7a540da065a373fb5d

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