File size: 2,791 Bytes
92337c5
 
3977ca3
92337c5
 
 
 
 
 
 
 
3977ca3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
---
title: ByteBot
emoji: 🤖
colorFrom: indigo
colorTo: red
sdk: gradio
sdk_version: 5.21.0
app_file: app.py
pinned: false
---

# 🤖 ByteBot: Your CS Companion

ByteBot is a friendly and knowledgeable virtual assistant designed to simplify the complexities of Computer Science. From explaining algorithms to debugging code, ByteBot provides clear explanations and personalized guidance tailored to your learning needs. Whether you're a beginner or an expert, ByteBot is here to empower you on your coding journey.

## 📝 Description

ByteBot serves as a comprehensive resource for users seeking clarity on various Computer Science topics. Employing a user-centric approach, it endeavors to elucidate queries and concepts using accessible language and practical examples. Following explanations, the chatbot proactively assesses user comprehension, ensuring clarity and understanding. By seamlessly integrating theory with real-world applications, it empowers users to grasp complex CS concepts with confidence and ease.

## What it Does

ByteBot is an AI chatbot designed to simplify Computer Science concepts. It provides explanations, examples, and personalized guidance to users, helping them understand various topics in the field.

## Features

- **GUI**: It has Graphical User Interface (GUI) for user convenience.
- **Personalized Assistance**: It tailors its responses to user queries, ensuring a customized learning experience.
- **Multi-turn Conversation**: It supports multi-turn conversations, allowing for deeper exploration of topics.
- **Easy Installation**: It can be easily installed using the provided instructions.

## Installation

1. **Clone the Repository**:

   ```bash
   git clone https://huggingface.co/spaces/CoderNoah/ByteBot
   ```

2. **Create a Virtual Environment**:

   ```bash
   python -m venv .venv
   ```

3. **Activate the Virtual Environment**:

   - Linux:

   ```bash
   source .venv/bin/activate
   ```

   - Windows:

   ```bash
   .venv/Scripts/activate
   ```

4. **Install Dependencies**:

   ```bash
   pip install -r requirements.txt
   ```

## Usage

1. **Get Gemini API Key**:

   Get your Gemini API key at [Gemini API Key](https://aistudio.google.com/).

2. **Create `.env` File**:

   ```bash
   code .env
   ```

3. **Add API Key to `.env`**:

   ```bash
   GOOGLE_API_KEY=YOUR_API_KEY
   ```

   Replace `YOUR_API_KEY` with your Gemini API key.

4. **Run the App**:

   ```bash
   python app.py
   ```

   Open your web browser and visit [http://127.0.0.1:7860](http://127.0.0.1:7860).


## Technologies Used

1. **Python**: Programming language used for development.
2. **Gemini API**: API for accessing additional features.
3. **Gradio**: Library for creating GUI interfaces.

Happy coding! 🤖💻

Made with ❤️ by Noah.