JBHF commited on
Commit
01bb279
·
verified ·
1 Parent(s): 09c7203

Create JBReadme.txt

Browse files
Files changed (1) hide show
  1. JBReadme.txt +80 -0
JBReadme.txt ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # AI Researcher Pro - Your Research Companion
2
+
3
+ AI Researcher Pro is an AI-powered research assistant designed to streamline your research workflow. The app uses Groq API for intelligent research assistance and Google Scholar to retrieve relevant papers based on user queries. The tool helps researchers ask domain-specific questions and get AI-driven answers, along with recommended papers from the research community.
4
+
5
+ ## Features
6
+ - **AI-Powered Research**: Ask research questions in specific domains like Computer Science, Medical, Engineering, and more.
7
+ - **Research Paper Suggestions**: Get suggested papers directly from Google Scholar based on your question and selected sub-fields.
8
+ - **Customizable Fields**: Choose from multiple research domains and their respective sub-fields to narrow down your research.
9
+ - **Interactive User Interface**: User-friendly interface with enhanced styling and tooltips for better user experience.
10
+ - **Secure API Handling**: Uses `st.secrets` to securely handle API keys, making the app ready for hackathon environments.
11
+
12
+ ## Tech Stack
13
+ - **Streamlit**: For creating the interactive web interface.
14
+ - **Groq API**: To generate AI-powered research responses.
15
+ - **Google Scholar**: For fetching research papers based on the query.
16
+ - **Python**: Core language used for application development.
17
+ - **st.secrets**: Used for secure environment variable management.
18
+
19
+ ## Installation
20
+
21
+ 1. **Clone the Repository**
22
+ ```bash
23
+ git clone https://github.com/yourusername/ai-researcher-pro.git
24
+ cd ai-researcher-pro
25
+ ```
26
+
27
+ 2. **Set Up Environment Variables**
28
+ - Create a `secrets.toml` file in the `.streamlit` directory (if it doesn't exist):
29
+ ```bash
30
+ mkdir -p .streamlit
31
+ nano .streamlit/secrets.toml
32
+ ```
33
+ - Add your Groq API key in the `secrets.toml` file:
34
+ ```toml
35
+ [general]
36
+ GROQ_API_KEY = "your-groq-api-key-here"
37
+ ```
38
+
39
+ 3. **Install Dependencies**
40
+ Use `pip` to install the required dependencies:
41
+ ```bash
42
+ pip install -r requirements.txt
43
+ ```
44
+
45
+ 4. **Run the Application**
46
+ Start the Streamlit app by running the following command:
47
+ ```bash
48
+ streamlit run app.py
49
+ ```
50
+
51
+ ## Usage
52
+
53
+ 1. **Select a Research Field**: Choose a broad research field from the sidebar (e.g., Computer Science, Medical, Engineering, etc.).
54
+ 2. **Select Sub-fields**: Based on the chosen research field, you can select specific sub-fields like AI, Data Science, Quantum Mechanics, and more.
55
+ 3. **Enter Research Question**: Type a clear, research-related question in the provided text box.
56
+ 4. **Submit**: Click the **Submit** button to get AI-generated answers and suggested research papers.
57
+ 5. **View Results**: Check the AI response in the **AI Response** tab and view suggested research papers in the **Suggested Papers** tab.
58
+
59
+ ## Example Queries
60
+ - "What are the latest trends in Machine Learning?"
61
+ - "How to improve model accuracy in Natural Language Processing?"
62
+ - "Current advancements in Quantum Mechanics?"
63
+
64
+ The app will return a tailored response based on your query and the sub-fields selected.
65
+
66
+ ## Troubleshooting
67
+
68
+ - **No Internet Connection**: If the app shows a "No internet connection" error, ensure your device is connected to the internet.
69
+ - **Missing API Key**: If you encounter an error related to the API key, double-check your `secrets.toml` file for the correct `GROQ_API_KEY`.
70
+
71
+ ## Contribution
72
+
73
+ Feel free to fork this project and submit a pull request if you'd like to contribute. You can also open an issue if you find bugs or have feature requests.
74
+
75
+ ## License
76
+
77
+ This project is licensed under the [LICENSE](LICENSE).
78
+
79
+ ---
80
+