File size: 1,116 Bytes
d39be46
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
title: Code Assistant
emoji: 🏆
colorFrom: indigo
colorTo: indigo
sdk: streamlit
sdk_version: 1.36.0
app_file: app.py
pinned: false
---

# Building LLM Powered GitHub Assitant

This repository contains the code accompanying my Medium article, Building LLM Powered GitHub Assitant. Follow the steps below to set up and run the server for your needs.

## Setup Instructions

1. **Environment Variables**
   Create a `.env` file in the root directory of the project and add your API key:
   ```
   GEMINI_API_KEY=your_api_key_here
   ```

2. **Install Requirements**
   Install the required packages using the `requirements.txt` file:
   ```
   pip install -r requirements.txt
   ```

3. **Run the Streamlit Server**
   Start the Streamlit server by running:
   ```
   streamlit run app.py
   ```

4. **Example (with [keras-ocr](https://github.com/faustomorales/keras-ocr))**
![Alt text](images/image.png)
![Alt text](images/image-1.png)
![Alt text](images/image-2.png)
![Alt text](images/image-3.png)

If you encounter any issues or have questions, feel free to open an issue in this repository.

Happy coding!