Spaces:
Running
Running
lezaf
commited on
Commit
ยท
fb5f7c4
1
Parent(s):
ee7c854
Specify langfuse version in requirements.txt
Browse files- README.md +0 -19
- app.py +4 -7
- description.md +28 -0
- requirements.txt +0 -0
README.md
CHANGED
@@ -32,25 +32,6 @@ Welcome to **Super Agent** โ the AI agent built to be evaluated on [GAAI](http
|
|
32 |
|
33 |
---
|
34 |
|
35 |
-
## ๐ Quickstart
|
36 |
-
|
37 |
-
1. **Clone the repo**
|
38 |
-
`git clone https://github.com/yourusername/super_agent.git`
|
39 |
-
|
40 |
-
2. **Install dependencies**
|
41 |
-
`pip install -r requirements.txt`
|
42 |
-
|
43 |
-
3. **Set up your `.env` file**
|
44 |
-
Copy `.env.example` to `.env` and fill in your API keys.
|
45 |
-
|
46 |
-
4. **Run the app**
|
47 |
-
`python app.py`
|
48 |
-
|
49 |
-
5. **Test the agent**
|
50 |
-
Try the test scripts or use the Gradio interface!
|
51 |
-
|
52 |
-
---
|
53 |
-
|
54 |
## ๐งฉ Supported Tools
|
55 |
|
56 |
- `web_search` โ Search the web for up-to-date info
|
|
|
32 |
|
33 |
---
|
34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
## ๐งฉ Supported Tools
|
36 |
|
37 |
- `web_search` โ Search the web for up-to-date info
|
app.py
CHANGED
@@ -234,17 +234,14 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
234 |
results_df = pd.DataFrame(results_log)
|
235 |
return status_message, results_df
|
236 |
|
|
|
|
|
|
|
237 |
|
238 |
# --- Build Gradio Interface using Blocks ---
|
239 |
with gr.Blocks() as demo:
|
240 |
gr.Markdown("# Super Agent Evaluation Runner")
|
241 |
-
gr.Markdown(
|
242 |
-
"""
|
243 |
-
## Welcome to my **Super Agent** Runner!
|
244 |
-
|
245 |
-
Please, sit back and relax while the evaluation runs on the GAAI benchmark!
|
246 |
-
"""
|
247 |
-
)
|
248 |
|
249 |
gr.LoginButton()
|
250 |
|
|
|
234 |
results_df = pd.DataFrame(results_log)
|
235 |
return status_message, results_df
|
236 |
|
237 |
+
# Read the app description from markdown file
|
238 |
+
with open("description.md", "r", encoding="utf-8") as f:
|
239 |
+
description_md = f.read()
|
240 |
|
241 |
# --- Build Gradio Interface using Blocks ---
|
242 |
with gr.Blocks() as demo:
|
243 |
gr.Markdown("# Super Agent Evaluation Runner")
|
244 |
+
gr.Markdown(description_md)
|
|
|
|
|
|
|
|
|
|
|
|
|
245 |
|
246 |
gr.LoginButton()
|
247 |
|
description.md
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# ๐ต๏ธโโ๏ธ Super Agent: The AI Answer Machine ๐
|
2 |
+
|
3 |
+
Welcome to **Super Agent** โ the AI agent built to be evaluated on [GAAI](https://huggingface.co/papers/2311.12983) benchmark to complete the [AI agents](https://huggingface.co/learn/agents-course/unit0/introduction) course by [Hugging Face](https://huggingface.co/)!
|
4 |
+
|
5 |
+
---
|
6 |
+
|
7 |
+
## โจ Features
|
8 |
+
|
9 |
+
- ๐ **Web Search**: Finds up-to-date info using DuckDuckGo or Tavily.
|
10 |
+
- ๐ **Excel & Data Extraction**: Reads and analyzes Excel files.
|
11 |
+
- ๐ง **Audio & YouTube Transcripts**: Extracts transcripts from audio files and YouTube videos.
|
12 |
+
- ๐งฎ **Math Tools**: Adds numbers, checks commutativity, and more.
|
13 |
+
- ๐ง **RAG-Ready**: Retrieval-Augmented Generation for smarter, more accurate answers.
|
14 |
+
- ๐ค **LLM Integration**: Works with Google Gemini, HuggingFace, and OpenAI models.
|
15 |
+
- ๐ก๏ธ **Exact Match Mode**: Answers are evaluated for exactness.
|
16 |
+
- ๐ ๏ธ **Extensible Tooling**: Easily add new tools for more superpowers.
|
17 |
+
- โณ **Gemini Rate Limiter**: Includes a rate limiter implementation for Gemini, perfect for handling free tier API limits.
|
18 |
+
|
19 |
+
---
|
20 |
+
|
21 |
+
## ๐งฉ Supported Tools
|
22 |
+
|
23 |
+
- `web_search` โ Search the web for up-to-date info
|
24 |
+
- `extract_data_from_excel` โ Download and parse Excel files
|
25 |
+
- `extract_transcript_from_youtube` โ Get YouTube video transcripts
|
26 |
+
- `extract_transcript_from_audio` โ Get transcripts from audio files
|
27 |
+
- `add_numbers_in_list` โ Add up numbers
|
28 |
+
- `check_commutativity` โ Test if a binary operation is commutative
|
requirements.txt
CHANGED
Binary files a/requirements.txt and b/requirements.txt differ
|
|