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: 2 months 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 (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-11T17:58:57.000Z (4 months ago)
- Last Synced: 2025-03-31T18:21:22.736Z (2 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 - Prompt to SQL
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.
## Key Features
๐ฌ Interactive chat interface for easy communication.
๐ Enter SQL queries and receive query results as responses.
๐ค Utilizes language models from Hugging Face for advanced query generation ([Querypls-prompt2sql](https://huggingface.co/samadpls/querypls-prompt2sql)).
๐ป User-friendly interface for seamless interaction.
# Acknowledgments
`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.
| [๐ 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, while powered by a 7B model of Satablility AI LLM Model, is currently limited in providing optimal responses for simple queries.---
## 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_example` and set the necessary variables.
5. Run the application:
```bash
streamlit run src/app.py
```6. Open the provided link in your browser to use Querypls.
---
`Made with ๐ค by samadpls`