Skip to content

Latest commit

Β 

History

History
80 lines (53 loc) Β· 4.48 KB

File metadata and controls

80 lines (53 loc) Β· 4.48 KB

Supported python versions Code style: black Run Unittests License

πŸ’¬ Querypls - Intelligent SQL and CSV Analysis

Querypls is a modern web application that provides an interactive chat interface for SQL query generation and CSV data analysis. Built with Pydantic AI and powered by OpenAI's GPT-OSS-120B model through Groq, it offers intelligent routing between different analysis modes to handle various data-related queries.

🌐 Try it live: querypls.streamlit.app

Key Features

πŸ’¬ Interactive Chat Interface - Natural language conversations for data analysis
πŸ” SQL Query Generation - Convert natural language to optimized SQL queries
πŸ“Š CSV Data Analysis - Upload and analyze CSV files with intelligent insights
πŸ€– Intelligent Routing - Automatically determines the best agent for your query
⚑ Fast Inference - Powered by Groq's optimized infrastructure
πŸ”’ Type-Safe Development - Built with Pydantic AI for robust validation
πŸ“ˆ Visual Analytics - Generate charts and visualizations from your data

QueryplsDemo

Acknowledgments

Querypls received a shoutout from 🦜 πŸ”— Langchain on their Twitter in 2023, reaching over 60,000 impressions. Additionally, it was featured under the Community Favorite Projects section on 🦜 πŸ”— Langchain's blog, leading to a significant increase in stars for this repository and a growing user base. The project was also highlighted in a YouTube video, and it also caught the attention of Backdrop, expressing their interest and liking in an email, inviting the project to be a part of their hackathon.

However, due to constant breakdowns and instability issues with the LangChain framework, we made the strategic decision to migrate to Pydantic AI - a more stable and reliable framework. This transition has brought improved performance, better type safety, and enhanced maintainability to the project.

πŸ”— Langhchain Twitter Post πŸ”— Langhcain Blog Post
Twitter Post Blog Post
πŸŽ₯ YouTube Video Backdrop Hackathon Invitation
YouTube Video

A big thank you to Langchain for their support and recognition!

License

This project is licensed under the MIT License. See the LICENSE file for details.

Note

Querypls is now powered by OpenAI's GPT-OSS-120B model through Groq, providing fast and reliable AI-powered SQL generation and CSV analysis capabilities.


How to Contribute

  1. Clone the repository:

    git clone https://github.com/samadpls/Querypls.git
  2. Navigate to the project directory:

    cd Querypls
  3. Install dependencies:

    pip install -r requirements.txt
  4. Create a .env file based on .env_examp and set the necessary variables.

  5. Run the application:

    streamlit run src/frontend/app.py
  6. Open the provided link in your browser to use Querypls.


Made with 🀍 by samadpls