Skip to content

Querypls🛠️: WebApp that Simplify SQL with Your Prompts. Transforming questions into SQL commands effortlessly.

License

Notifications You must be signed in to change notification settings

samadpls/Querypls

Repository files navigation

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

About

Querypls🛠️: WebApp that Simplify SQL with Your Prompts. Transforming questions into SQL commands effortlessly.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages