Commit
Β·
0c4a5aa
1
Parent(s):
ae374df
reactive
Browse files- README.md +47 -1
- test.ipynb +0 -0
README.md
CHANGED
@@ -12,4 +12,50 @@ hf_oauth: true
|
|
12 |
hf_oauth_expiration_minutes: 480
|
13 |
---
|
14 |
|
15 |
-
Check out the
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
hf_oauth_expiration_minutes: 480
|
13 |
---
|
14 |
|
15 |
+
Check out the configurat# Final Assignment Template π΅π»ββοΈ
|
16 |
+
|
17 |
+
This repository contains a multi-language project template for a final assignment, featuring Python, C, C++, JavaScript, TypeScript, and SQL components. The project leverages modern tools such as Gradio for UI, and integrates with Hugging Face Spaces.
|
18 |
+
|
19 |
+
## Features
|
20 |
+
|
21 |
+
- Python backend with tool-based search (Wikipedia, Arxiv, web, vector DB)
|
22 |
+
- Gradio UI (see `app.py`)
|
23 |
+
- Multi-language support: Python, C, C++, JavaScript, TypeScript, SQL
|
24 |
+
- Dependency management via `pip`, `npm`, `yarn`
|
25 |
+
- Hugging Face OAuth integration
|
26 |
+
|
27 |
+
## Getting Started
|
28 |
+
|
29 |
+
### Prerequisites
|
30 |
+
|
31 |
+
- Python 3.8+
|
32 |
+
- Node.js & npm/yarn# Final Assignment Template π΅π»ββοΈ
|
33 |
+
|
34 |
+
This repository provides a multi-language project template, with a primary focus on the Python backend agent and Gradio UI.
|
35 |
+
|
36 |
+
## Key Components
|
37 |
+
|
38 |
+
- **`agent.py`**: Implements the core logic for tool-based search and LLM orchestration. It defines search tools (Wikipedia, Arxiv, web, vector DB), integrates with language models, and manages the agent workflow.
|
39 |
+
- **`app.py`**: Launches the Gradio user interface, connecting user queries to the agent backend for interactive responses.
|
40 |
+
|
41 |
+
## Features
|
42 |
+
|
43 |
+
- Modular agent with extensible tools (`agent.py`)
|
44 |
+
- Gradio-powered web UI (`app.py`)
|
45 |
+
- Multi-language support: Python, C, C++, JavaScript, TypeScript, SQL
|
46 |
+
- Hugging Face OAuth integration
|
47 |
+
|
48 |
+
## Usage
|
49 |
+
|
50 |
+
1. **Install dependencies**:
|
51 |
+
```sh
|
52 |
+
pip install -r requirements.txt
|
53 |
+
npm install # or yarn install
|
54 |
+
- (Optional) C/C++ compiler
|
55 |
+
|
56 |
+
### Installation
|
57 |
+
|
58 |
+
1. Clone the repository:
|
59 |
+
```sh
|
60 |
+
git clone https://github.com/your-username/your-repo.git
|
61 |
+
cd your-repoion reference at https://huggingface.co/docs/hub/spaces-config-reference
|
test.ipynb
CHANGED
The diff for this file is too large to render.
See raw diff
|
|