RajMl commited on
Commit
d9ba12f
1 Parent(s): 1295ae5

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -59
README.md CHANGED
@@ -1,59 +1,12 @@
1
- # SQL Chatbot for Easy Data Extraction
2
-
3
- This repository provides a user-friendly SQL chatbot that simplifies extracting information from your tabular files. Leverage the power of OpenAI's language processing and LangChain's SQL generation capabilities to perform insightful queries in a natural language interface.
4
-
5
- ## Features
6
-
7
- - **Intuitive Chat Interface:** Interact with your data in a conversational manner using plain English queries.
8
- - **Streamlit UI:** Enjoy a visually appealing web app for seamless interaction with the chatbot.
9
- - **SQLite Support:** Utilize SQLite, a lightweight and embedded database engine, for efficient data storage.
10
-
11
- ## Requirements
12
-
13
- - Python 3.x (https://www.python.org/downloads/)
14
- - OpenAI API Key (https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key)
15
- - LangChain API Key ([invalid URL removed]) (Note: Check LangChain documentation for API key acquisition instructions)
16
- - `requirements.txt` (included)
17
-
18
- ## Installation and Configuration
19
-
20
- ```bash
21
- git clone https://github.com/paramrajyadav/sql_chat_bot.git
22
- ```
23
- ```bash
24
- cd sql-chatbot
25
- ```
26
- ```bash
27
- pip install -r requirements.txt
28
- ```
29
-
30
- # Create a .env file and add these lines, replacing placeholders with your actual keys:
31
- OPENAI_API_KEY=your_openai_api_key
32
-
33
- LANGCHAIN_API_KEY=your_langchain_api_key
34
-
35
- ## Usage
36
- Run the application: streamlit run app.py
37
-
38
- Access the Streamlit app in your web browser (usually http://localhost:8501).
39
-
40
- Interact with the chatbot by typing natural language queries in the input field.
41
-
42
- The chatbot will translate your queries into SQL and retrieve the desired information from your table.
43
-
44
-
45
- ## Sample Queries
46
- "Show me all customers in California."
47
-
48
- "What are the average order values per product category?"
49
-
50
- "Find orders placed between January and March 2024."
51
-
52
-
53
- ## Contributing
54
-
55
- We welcome contributions from the community! Here are some ways you can get involved:
56
-
57
- * **Bug reports:** If you find a bug, please create an issue on the GitHub repository. Be sure to include clear steps to reproduce the bug.
58
- * **Feature requests:** If you have an idea for a new feature, please create an issue on the GitHub repository. Describe the feature in detail and explain why it would be valuable.
59
- * **Pull requests:** If you have implemented a bug fix or feature, you can submit a pull request. Make sure to follow the contributing guidelines (if available) and test your changes thoroughly.
 
1
+ ---
2
+ title: sql_chat_bot
3
+ emoji: 💻
4
+ colorFrom: purple
5
+ colorTo: pink
6
+ sdk: streamlit
7
+ sdk_version: 1.35.0
8
+ app_file: app.py
9
+ pinned: false
10
+ ---
11
+
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference