File size: 2,353 Bytes
a0017e2
 
 
 
 
 
 
 
 
 
e40d2f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a0017e2
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
---
title: Solar Industry AI Assistant
emoji: πŸŒ–
colorFrom: green
colorTo: purple
sdk: streamlit
sdk_version: 1.42.0
app_file: app.py
pinned: false
---
# Solar Industry AI Assistant

A Streamlit-based web application that provides AI-powered responses to solar energy-related queries using Google's Gemini Pro model. The application features a user-friendly interface, chat history management, and solar domain-specific query filtering.

## Features

- πŸ€– AI-powered responses using Google's Gemini Pro model
- β˜€οΈ Solar energy domain-specific query filtering
- πŸ’¬ Interactive chat interface with history tracking
- πŸ’Ύ Export chat history functionality
- 🎨 Modern and responsive UI design
- πŸ‘€ Developer profile and contact information

## Installation

1. Clone the repository:
```bash
git clone https://github.com/yourusername/solar-industry-ai-assistant.git
cd solar-industry-ai-assistant
```

2. Install the required dependencies:
```bash
pip install -r requirements.txt
```

3. Create a `config.py` file with your Google API key:
```python
API_KEY = "your-google-api-key"
```

## Usage

1. Run the Streamlit application:
```bash
streamlit run test.py
```

2. Open your web browser and navigate to the local URL provided by Streamlit (typically http://localhost:8501)

3. Enter your solar energy-related questions in the text area and click "Get Answer"

## Project Structure

- `test.py`: Main application file containing the Streamlit UI and core functionality
- `filter.py`: Module for filtering solar energy-related queries
- `config.py`: Configuration file for API keys and other settings
- `requirements.txt`: List of Python dependencies
- `README.md`: Project documentation

## Contributing

1. Fork the repository
2. Create a new branch for your feature
3. Commit your changes
4. Push to the branch
5. Create a Pull Request

## License

This project is licensed under the MIT License - see the LICENSE file for details.

## Contact

- Uditanshu Pandey
- Email: [email protected]
- LinkedIn: [LinkedIn Profile](https://www.linkedin.com/in/uditanshupandey?lipi=urn%3Ali%3Apage%3Ad_flagship3_profile_view_base_contact_details%3BqqRVF%2FNpRheKgruh2Qy9aw%3D%3D)
- GitHub: [GitHub Profile](https://github.com/UditanshuPandey)


Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference