https://github.com/samadpls/querypls
Queryplsπ οΈ: WebApp that Simplify SQL with Your Prompts. Transforming questions into SQL commands effortlessly.
https://github.com/samadpls/querypls
falcon-7b finetune-llm huggingface langchain langchain-app llm mistral-7b opensource python stability-ai streamlit
Last synced: 24 days ago
JSON representation
Queryplsπ οΈ: WebApp that Simplify SQL with Your Prompts. Transforming questions into SQL commands effortlessly.
- Host: GitHub
- URL: https://github.com/samadpls/querypls
- Owner: samadpls
- License: mit
- Created: 2023-06-17T16:46:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-11T17:58:57.000Z (8 months ago)
- Last Synced: 2025-03-31T18:21:22.736Z (6 months ago)
- Topics: falcon-7b, finetune-llm, huggingface, langchain, langchain-app, llm, mistral-7b, opensource, python, stability-ai, streamlit
- Language: Python
- Homepage: https://querypls.streamlit.app/
- Size: 314 KB
- Stars: 75
- Watchers: 1
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README

[](https://github.com/psf/black)
[](https://github.com/samadpls/Querypls/actions/workflows/unittests.yml)
[](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](https://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
# Acknowledgments
`Querypls` received a shoutout from [π¦ π Langchain](https://www.langchain.com/) 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](https://www.youtube.com/watch?v=htHVb-fK9xU), 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](https://twitter.com/LangChainAI/status/1729959981523378297?t=Zdpw9ZQYvE3QS-3Bf-xaGw&s=19) | [π Langhcain Blog Post](https://blog.langchain.dev/week-of-11-27-langchain-release-notes/) |
|----------|----------|
| [](https://twitter.com/LangChainAI/status/1729959981523378297?t=Zdpw9ZQYvE3QS-3Bf-xaGw&s=19) | [](https://blog.langchain.dev/week-of-11-27-langchain-release-notes/) |
[π₯ YouTube Video](https://www.youtube.com/watch?v=htHVb-fK9xU) | [Backdrop Hackathon Invitation](https://backdropbuild.com/v2/directory) |
[](https://www.youtube.com/watch?v=htHVb-fK9xU) ||
> A big thank you to Langchain for their support and recognition!## License
This project is licensed under the MIT License. See the [LICENSE](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:
```bash
git clone https://github.com/samadpls/Querypls.git
```2. Navigate to the project directory:
```bash
cd Querypls
```3. Install dependencies:
```bash
pip install -r requirements.txt
```4. Create a `.env` file based on `.env_examp` and set the necessary variables.
5. Run the application:
```bash
streamlit run src/frontend/app.py
```6. Open the provided link in your browser to use Querypls.
---
`Made with π€ by samadpls`