{"id":25264309,"url":"https://github.com/samadpls/querypls","last_synced_at":"2025-09-13T16:39:47.172Z","repository":{"id":176151857,"uuid":"655026178","full_name":"samadpls/Querypls","owner":"samadpls","description":"Querypls🛠️: WebApp that Simplify SQL with Your Prompts. Transforming questions into SQL commands effortlessly.","archived":false,"fork":false,"pushed_at":"2025-02-11T17:58:57.000Z","size":322,"stargazers_count":75,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T18:21:22.736Z","etag":null,"topics":["falcon-7b","finetune-llm","huggingface","langchain","langchain-app","llm","mistral-7b","opensource","python","stability-ai","streamlit"],"latest_commit_sha":null,"homepage":"https://querypls.streamlit.app/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samadpls.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-17T16:46:39.000Z","updated_at":"2025-02-13T03:20:09.000Z","dependencies_parsed_at":"2023-11-07T17:51:45.517Z","dependency_job_id":"0dfc07ec-c962-45a1-b56d-eabadab56af1","html_url":"https://github.com/samadpls/Querypls","commit_stats":null,"previous_names":["samadpls/querypls"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samadpls%2FQuerypls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samadpls%2FQuerypls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samadpls%2FQuerypls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samadpls%2FQuerypls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samadpls","download_url":"https://codeload.github.com/samadpls/Querypls/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247767236,"owners_count":20992548,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["falcon-7b","finetune-llm","huggingface","langchain","langchain-app","llm","mistral-7b","opensource","python","stability-ai","streamlit"],"created_at":"2025-02-12T07:36:23.999Z","updated_at":"2025-09-13T16:39:47.155Z","avatar_url":"https://github.com/samadpls.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cimg src=\"static/image/logo.png\"\u003e\n\n![Supported python versions](https://img.shields.io/badge/python-3.8%20%7C%203.9%20%7C%203.10%20%7C%203.11-blue)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) \n[![Run Unittests](https://github.com/samadpls/Querypls/actions/workflows/unittests.yml/badge.svg)](https://github.com/samadpls/Querypls/actions/workflows/unittests.yml)\n[![License](https://img.shields.io/badge/License-MIT%202.0-blue.svg)](LICENSE)\n\u003cimg src='https://img.shields.io/github/stars/samadpls/querypls?color=red\u0026label=stars\u0026logoColor=black\u0026style=social'\u003e\n\n# 💬 Querypls - Intelligent SQL and CSV Analysis\n\nQuerypls 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.\n\n🌐 **Try it live**: [querypls.streamlit.app](https://querypls.streamlit.app/)\n\n## Key Features\n\n💬 **Interactive Chat Interface** - Natural language conversations for data analysis  \n🔍 **SQL Query Generation** - Convert natural language to optimized SQL queries  \n📊 **CSV Data Analysis** - Upload and analyze CSV files with intelligent insights  \n🤖 **Intelligent Routing** - Automatically determines the best agent for your query  \n⚡ **Fast Inference** - Powered by Groq's optimized infrastructure  \n🔒 **Type-Safe Development** - Built with Pydantic AI for robust validation  \n📈 **Visual Analytics** - Generate charts and visualizations from your data  \n\n![QueryplsDemo](https://github.com/samadpls/Querypls/assets/94792103/daa6e37d-a256-4fd8-9607-6e18cf41df3f)\n\n\n\n# Acknowledgments\n\n`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.\n\nHowever, 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.\n\n| [🔗 Langhchain Twitter Post](https://twitter.com/LangChainAI/status/1729959981523378297?t=Zdpw9ZQYvE3QS-3Bf-xaGw\u0026s=19) | [🔗 Langhcain Blog Post](https://blog.langchain.dev/week-of-11-27-langchain-release-notes/) | \n|----------|----------|\n| [![Twitter Post](https://github.com/samadpls/Querypls/assets/94792103/045519c1-3f50-4d60-ab51-68669ce1f270)](https://twitter.com/LangChainAI/status/1729959981523378297?t=Zdpw9ZQYvE3QS-3Bf-xaGw\u0026s=19) | [![Blog Post](https://github.com/samadpls/Querypls/assets/94792103/3d399715-bfa6-4ee3-a736-e692477c6f31)](https://blog.langchain.dev/week-of-11-27-langchain-release-notes/) | \n[🎥 YouTube Video](https://www.youtube.com/watch?v=htHVb-fK9xU) | [Backdrop Hackathon Invitation](https://backdropbuild.com/v2/directory) |\n[![YouTube Video](https://img.youtube.com/vi/htHVb-fK9xU/0.jpg)](https://www.youtube.com/watch?v=htHVb-fK9xU) | \u003cimg src='https://github.com/samadpls/Querypls/assets/94792103/3e990638-e585-4082-bfc3-398469309dc8' height=400px\u003e |\n\u003e A big thank you to Langchain for their support and recognition!\n\n## License\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n\n\u003e [!Note]  \n\u003e 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.\n\n---\n\n## How to Contribute\n\n1. Clone the repository:\n    ```bash\n    git clone https://github.com/samadpls/Querypls.git\n    ```\n\n2. Navigate to the project directory:\n    ```bash\n    cd Querypls\n    ```\n\n3. Install dependencies:\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n4. Create a `.env` file based on `.env_examp` and set the necessary variables.\n\n5. Run the application:\n    ```bash\n    streamlit run src/frontend/app.py\n    ```\n\n6. Open the provided link in your browser to use Querypls.\n\n---\n\n`Made with 🤍 by samadpls`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamadpls%2Fquerypls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamadpls%2Fquerypls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamadpls%2Fquerypls/lists"}