You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Querypls is a web application that provides an interactive chat interface, simplifying SQL query generation. Users can effortlessly enter SQL queries and receive corresponding results. The application harnesses the capabilities of the language models from Hugging Face to generate SQL queries based on user input.
12
+
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.
13
+
14
+
🌐 **Try it live**: [querypls.streamlit.app](https://querypls.streamlit.app/)
13
15
14
16
## Key Features
15
17
16
-
💬 Interactive chat interface for easy communication.
17
-
🔍 Enter SQL queries and receive query results as responses.
18
-
🤖 Utilizes language models from Hugging Face for advanced query generation ([Querypls-prompt2sql](https://huggingface.co/samadpls/querypls-prompt2sql)).
19
-
💻 User-friendly interface for seamless interaction.
18
+
💬 **Interactive Chat Interface** - Natural language conversations for data analysis
19
+
🔍 **SQL Query Generation** - Convert natural language to optimized SQL queries
20
+
📊 **CSV Data Analysis** - Upload and analyze CSV files with intelligent insights
21
+
🤖 **Intelligent Routing** - Automatically determines the best agent for your query
22
+
⚡ **Fast Inference** - Powered by Groq's optimized infrastructure
23
+
🔒 **Type-Safe Development** - Built with Pydantic AI for robust validation
24
+
📈 **Visual Analytics** - Generate charts and visualizations from your data
`Querypls` received a shoutout from [🦜 🔗 Langchain](https://www.langchain.com/) on their Twitter, 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.
32
+
`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.
33
+
34
+
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.
28
35
29
36
|[🔗 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/)|
30
37
|----------|----------|
@@ -38,7 +45,7 @@ This project is licensed under the MIT License. See the [LICENSE](LICENSE) file
38
45
39
46
40
47
> [!Note]
41
-
> Querypls, while powered by a 7B model of Satablility AI LLM Model, is currently limited in providing optimal responses for simple queries.
48
+
> 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.
42
49
43
50
---
44
51
@@ -59,11 +66,11 @@ This project is licensed under the MIT License. See the [LICENSE](LICENSE) file
59
66
pip install -r requirements.txt
60
67
```
61
68
62
-
4. Create a `.env` file based on `.env_example` and set the necessary variables.
69
+
4. Create a `.env` file based on `.env_examp` and set the necessary variables.
63
70
64
71
5. Run the application:
65
72
```bash
66
-
streamlit run src/app.py
73
+
streamlit run src/frontend/app.py
67
74
```
68
75
69
76
6. Open the provided link in your browser to use Querypls.
0 commit comments