Spaces:
Running
Running
Delanoe Pirard
commited on
Commit
·
554a563
1
Parent(s):
12be796
stockfish ubuntu
Browse files- agents/__pycache__/advanced_validation_agent.cpython-311.pyc +0 -0
- agents/__pycache__/code_agent.cpython-311.pyc +0 -0
- agents/__pycache__/long_context_management_agent.cpython-311.pyc +0 -0
- agents/__pycache__/math_agent.cpython-311.pyc +0 -0
- agents/__pycache__/planner_agent.cpython-311.pyc +0 -0
- agents/__pycache__/reasoning_agent.cpython-311.pyc +0 -0
- agents/__pycache__/research_agent.cpython-311.pyc +0 -0
- agents/__pycache__/text_analyzer_agent.cpython-311.pyc +0 -0
- agents/__pycache__/video_analyzer_agent.cpython-311.pyc +0 -0
- agents/code_agent.py +1 -6
- agents/video_analyzer_agent.py +0 -3
- cookies.txt +13 -13
- prompts/code_gen_prompt.txt +2 -3
agents/__pycache__/advanced_validation_agent.cpython-311.pyc
CHANGED
Binary files a/agents/__pycache__/advanced_validation_agent.cpython-311.pyc and b/agents/__pycache__/advanced_validation_agent.cpython-311.pyc differ
|
|
agents/__pycache__/code_agent.cpython-311.pyc
CHANGED
Binary files a/agents/__pycache__/code_agent.cpython-311.pyc and b/agents/__pycache__/code_agent.cpython-311.pyc differ
|
|
agents/__pycache__/long_context_management_agent.cpython-311.pyc
CHANGED
Binary files a/agents/__pycache__/long_context_management_agent.cpython-311.pyc and b/agents/__pycache__/long_context_management_agent.cpython-311.pyc differ
|
|
agents/__pycache__/math_agent.cpython-311.pyc
CHANGED
Binary files a/agents/__pycache__/math_agent.cpython-311.pyc and b/agents/__pycache__/math_agent.cpython-311.pyc differ
|
|
agents/__pycache__/planner_agent.cpython-311.pyc
CHANGED
Binary files a/agents/__pycache__/planner_agent.cpython-311.pyc and b/agents/__pycache__/planner_agent.cpython-311.pyc differ
|
|
agents/__pycache__/reasoning_agent.cpython-311.pyc
CHANGED
Binary files a/agents/__pycache__/reasoning_agent.cpython-311.pyc and b/agents/__pycache__/reasoning_agent.cpython-311.pyc differ
|
|
agents/__pycache__/research_agent.cpython-311.pyc
CHANGED
Binary files a/agents/__pycache__/research_agent.cpython-311.pyc and b/agents/__pycache__/research_agent.cpython-311.pyc differ
|
|
agents/__pycache__/text_analyzer_agent.cpython-311.pyc
CHANGED
Binary files a/agents/__pycache__/text_analyzer_agent.cpython-311.pyc and b/agents/__pycache__/text_analyzer_agent.cpython-311.pyc differ
|
|
agents/__pycache__/video_analyzer_agent.cpython-311.pyc
CHANGED
Binary files a/agents/__pycache__/video_analyzer_agent.cpython-311.pyc and b/agents/__pycache__/video_analyzer_agent.cpython-311.pyc differ
|
|
agents/code_agent.py
CHANGED
@@ -7,9 +7,6 @@ from llama_index.llms.google_genai import GoogleGenAI
|
|
7 |
from llama_index.llms.openai import OpenAI
|
8 |
from llama_index.tools.code_interpreter import CodeInterpreterToolSpec
|
9 |
|
10 |
-
import dotenv
|
11 |
-
dotenv.load_dotenv()
|
12 |
-
|
13 |
# Setup logging
|
14 |
logger = logging.getLogger(__name__)
|
15 |
|
@@ -147,7 +144,7 @@ def initialize_code_agent() -> ReActAgent:
|
|
147 |
7. **Hand-Off**: If further logical reasoning or verification is needed, delegate to **reasoning_agent**. Otherwise, pass your final output to **planner_agent** for synthesis.
|
148 |
|
149 |
**Special Instructions for Chess-Related Tasks**:
|
150 |
-
- Prioritize using the Stockfish engine to solve chess problems.
|
151 |
- Use `python-chess` to represent boards, generate and validate moves, and parse PGN/FEN.
|
152 |
|
153 |
**Available Python Packages**:
|
@@ -155,7 +152,6 @@ def initialize_code_agent() -> ReActAgent:
|
|
155 |
- beautifulsoup4: HTML/XML parsing and lightweight web scraping
|
156 |
- certifi: Mozilla CA bundle for secure TLS/SSL requests
|
157 |
- datasets: Hugging Face dataset loading and streaming
|
158 |
-
- dotenv: Load environment variables from .env files
|
159 |
- duckdb: In‑process OLAP SQL engine (analytics, Parquet, Arrow)
|
160 |
- ffmpeg-python: Wrapper around FFmpeg for audio/video operations
|
161 |
- gradio[oauth]: Rapid web‑UI prototyping with optional OAuth
|
@@ -194,7 +190,6 @@ def initialize_code_agent() -> ReActAgent:
|
|
194 |
"- beautifulsoup4>=4.13.4 : HTML/XML parsing and lightweight web scraping\n"
|
195 |
"- certifi>=2025.4.26 : Mozilla CA bundle for secure TLS/SSL requests\n"
|
196 |
"- datasets>=3.5.1 : Hugging Face dataset loading and streaming\n"
|
197 |
-
"- dotenv>=0.9.9 : Load environment variables from .env files\n"
|
198 |
"- duckdb>=1.2.2 : In‑process OLAP SQL engine (analytics, Parquet, Arrow)\n"
|
199 |
"- ffmpeg-python>=0.2.0 : Wrapper around FFmpeg for audio/video operations\n"
|
200 |
"- gradio[oauth]>=5.28.0 : Rapid web‑UI prototyping with optional OAuth\n"
|
|
|
7 |
from llama_index.llms.openai import OpenAI
|
8 |
from llama_index.tools.code_interpreter import CodeInterpreterToolSpec
|
9 |
|
|
|
|
|
|
|
10 |
# Setup logging
|
11 |
logger = logging.getLogger(__name__)
|
12 |
|
|
|
144 |
7. **Hand-Off**: If further logical reasoning or verification is needed, delegate to **reasoning_agent**. Otherwise, pass your final output to **planner_agent** for synthesis.
|
145 |
|
146 |
**Special Instructions for Chess-Related Tasks**:
|
147 |
+
- Prioritize using the Stockfish engine to solve chess problems. Ubuntu installation: `sudo apt-get install stockfish` so path is `/usr/games/stockfish`
|
148 |
- Use `python-chess` to represent boards, generate and validate moves, and parse PGN/FEN.
|
149 |
|
150 |
**Available Python Packages**:
|
|
|
152 |
- beautifulsoup4: HTML/XML parsing and lightweight web scraping
|
153 |
- certifi: Mozilla CA bundle for secure TLS/SSL requests
|
154 |
- datasets: Hugging Face dataset loading and streaming
|
|
|
155 |
- duckdb: In‑process OLAP SQL engine (analytics, Parquet, Arrow)
|
156 |
- ffmpeg-python: Wrapper around FFmpeg for audio/video operations
|
157 |
- gradio[oauth]: Rapid web‑UI prototyping with optional OAuth
|
|
|
190 |
"- beautifulsoup4>=4.13.4 : HTML/XML parsing and lightweight web scraping\n"
|
191 |
"- certifi>=2025.4.26 : Mozilla CA bundle for secure TLS/SSL requests\n"
|
192 |
"- datasets>=3.5.1 : Hugging Face dataset loading and streaming\n"
|
|
|
193 |
"- duckdb>=1.2.2 : In‑process OLAP SQL engine (analytics, Parquet, Arrow)\n"
|
194 |
"- ffmpeg-python>=0.2.0 : Wrapper around FFmpeg for audio/video operations\n"
|
195 |
"- gradio[oauth]>=5.28.0 : Rapid web‑UI prototyping with optional OAuth\n"
|
agents/video_analyzer_agent.py
CHANGED
@@ -15,9 +15,6 @@ from llama_index.core.tools import FunctionTool
|
|
15 |
from llama_index.llms.google_genai import GoogleGenAI
|
16 |
from tqdm import tqdm
|
17 |
from youtube_transcript_api import YouTubeTranscriptApi, TranscriptsDisabled, NoTranscriptFound
|
18 |
-
import dotenv
|
19 |
-
|
20 |
-
dotenv.load_dotenv()
|
21 |
|
22 |
# ---------------------------------------------------------------------------
|
23 |
# Environment setup & logging
|
|
|
15 |
from llama_index.llms.google_genai import GoogleGenAI
|
16 |
from tqdm import tqdm
|
17 |
from youtube_transcript_api import YouTubeTranscriptApi, TranscriptsDisabled, NoTranscriptFound
|
|
|
|
|
|
|
18 |
|
19 |
# ---------------------------------------------------------------------------
|
20 |
# Environment setup & logging
|
cookies.txt
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
|
4 |
.youtube.com TRUE / TRUE 1772810415 SOCS CAESEwgDEgk3MjI0NDY2OTcaAmZyIAEaBgiAsYW9Bg
|
5 |
.youtube.com TRUE / TRUE 1773242519 LOGIN_INFO AFmmF2swRQIhAN5tw3v4vzvqkE9jFGTfwRfuSlsgvo8oZFND0KLeJSiZAiBe35g8ohBeSsOxXaaBST6ZIwRjsaj8TciBG4Qbwf6K0A:QUQ3MjNmeWJBWWxHS19XRTc3X2dQbzBiMDQwVDlLWmJfcEhzSVI1NWsyR2otbFQyVnlqdFpqandUMWtELXZqcEJsZjVaSl9rQzF2UFRULXdNbU9fRTk4Y2VtUHcxa1JUb2JIbWZDZ1JLeGpZUVhYS2x3RlltSktBZ1VFcnRqVUc0RkZzRWdxQjJYdmVOMUVOc0E1TER3a05nSnZBOGVicDA2c21sN2tYelhWRjhtU202cmJRVm9OcjBGMjR6WEtlRGFOazkyZTE3OGE4OURqMW5zVDdNdkNtRk55LWRIcU1oUQ==
|
6 |
-
.youtube.com TRUE / TRUE
|
7 |
-
.youtube.com TRUE / TRUE
|
8 |
.youtube.com TRUE / FALSE 1781171326 SID g.a000wgiyYfwWbhaK50WfWqfX9wGtc5AN9kBMrz73fEyP_cRPUjni8ppqkSKdDM9ksOR38k2NPQACgYKAfsSARASFQHGX2MicxUQ0e-BNo8Wi9EniKaX3BoVAUF8yKpXumEKYDuFms-e_KKcVMJF0076
|
9 |
.youtube.com TRUE / TRUE 1781171326 __Secure-1PSID g.a000wgiyYfwWbhaK50WfWqfX9wGtc5AN9kBMrz73fEyP_cRPUjnihPJmq-OGf0cC6C2aYqH-yAACgYKAQcSARASFQHGX2MijJRbqQNyo9BHMzvkk9HXUBoVAUF8yKpPaBvpsOcQqoYQe2pZOfNL0076
|
10 |
.youtube.com TRUE / TRUE 1781171326 __Secure-3PSID g.a000wgiyYfwWbhaK50WfWqfX9wGtc5AN9kBMrz73fEyP_cRPUjnix4LQh8UGsF1ttmxm5asDFwACgYKAfgSARASFQHGX2MimceB5eU37gApYiJGCnGDihoVAUF8yKoXYXFKC51Fi3JAsb3l7faw0076
|
@@ -14,14 +14,14 @@
|
|
14 |
.youtube.com TRUE / TRUE 1781171326 SAPISID qU-9iyk0zB5n9bf-/ApnBCKOoR_j1JOL-B
|
15 |
.youtube.com TRUE / TRUE 1781171326 __Secure-1PAPISID qU-9iyk0zB5n9bf-/ApnBCKOoR_j1JOL-B
|
16 |
.youtube.com TRUE / TRUE 1781171326 __Secure-3PAPISID qU-9iyk0zB5n9bf-/ApnBCKOoR_j1JOL-B
|
17 |
-
.youtube.com TRUE / TRUE 1772810410 __Secure-YEC
|
18 |
-
.youtube.com TRUE / TRUE
|
19 |
-
.youtube.com TRUE / FALSE 0 PREF f4=4000000&tz=UTC&f7=100&f6=
|
20 |
-
.youtube.com TRUE / TRUE
|
21 |
-
.youtube.com TRUE / TRUE
|
22 |
-
.youtube.com TRUE / FALSE
|
23 |
-
.youtube.com TRUE / TRUE
|
24 |
-
.youtube.com TRUE / TRUE
|
25 |
-
.youtube.com TRUE / TRUE 0 YSC
|
26 |
-
.youtube.com TRUE / TRUE
|
27 |
-
.youtube.com TRUE / TRUE
|
|
|
3 |
|
4 |
.youtube.com TRUE / TRUE 1772810415 SOCS CAESEwgDEgk3MjI0NDY2OTcaAmZyIAEaBgiAsYW9Bg
|
5 |
.youtube.com TRUE / TRUE 1773242519 LOGIN_INFO AFmmF2swRQIhAN5tw3v4vzvqkE9jFGTfwRfuSlsgvo8oZFND0KLeJSiZAiBe35g8ohBeSsOxXaaBST6ZIwRjsaj8TciBG4Qbwf6K0A:QUQ3MjNmeWJBWWxHS19XRTc3X2dQbzBiMDQwVDlLWmJfcEhzSVI1NWsyR2otbFQyVnlqdFpqandUMWtELXZqcEJsZjVaSl9rQzF2UFRULXdNbU9fRTk4Y2VtUHcxa1JUb2JIbWZDZ1JLeGpZUVhYS2x3RlltSktBZ1VFcnRqVUc0RkZzRWdxQjJYdmVOMUVOc0E1TER3a05nSnZBOGVicDA2c21sN2tYelhWRjhtU202cmJRVm9OcjBGMjR6WEtlRGFOazkyZTE3OGE4OURqMW5zVDdNdkNtRk55LWRIcU1oUQ==
|
6 |
+
.youtube.com TRUE / TRUE 1762642036 __Secure-ROLLOUT_TOKEN CK2CtoGE9_qCKBDVmd6PqaqLAxjYr4vIgZ-NAw%3D%3D
|
7 |
+
.youtube.com TRUE / TRUE 1762643089 VISITOR_INFO1_LIVE XJWWeg-61Jo
|
8 |
.youtube.com TRUE / FALSE 1781171326 SID g.a000wgiyYfwWbhaK50WfWqfX9wGtc5AN9kBMrz73fEyP_cRPUjni8ppqkSKdDM9ksOR38k2NPQACgYKAfsSARASFQHGX2MicxUQ0e-BNo8Wi9EniKaX3BoVAUF8yKpXumEKYDuFms-e_KKcVMJF0076
|
9 |
.youtube.com TRUE / TRUE 1781171326 __Secure-1PSID g.a000wgiyYfwWbhaK50WfWqfX9wGtc5AN9kBMrz73fEyP_cRPUjnihPJmq-OGf0cC6C2aYqH-yAACgYKAQcSARASFQHGX2MijJRbqQNyo9BHMzvkk9HXUBoVAUF8yKpPaBvpsOcQqoYQe2pZOfNL0076
|
10 |
.youtube.com TRUE / TRUE 1781171326 __Secure-3PSID g.a000wgiyYfwWbhaK50WfWqfX9wGtc5AN9kBMrz73fEyP_cRPUjnix4LQh8UGsF1ttmxm5asDFwACgYKAfgSARASFQHGX2MimceB5eU37gApYiJGCnGDihoVAUF8yKoXYXFKC51Fi3JAsb3l7faw0076
|
|
|
14 |
.youtube.com TRUE / TRUE 1781171326 SAPISID qU-9iyk0zB5n9bf-/ApnBCKOoR_j1JOL-B
|
15 |
.youtube.com TRUE / TRUE 1781171326 __Secure-1PAPISID qU-9iyk0zB5n9bf-/ApnBCKOoR_j1JOL-B
|
16 |
.youtube.com TRUE / TRUE 1781171326 __Secure-3PAPISID qU-9iyk0zB5n9bf-/ApnBCKOoR_j1JOL-B
|
17 |
+
.youtube.com TRUE / TRUE 1772810410 __Secure-YEC CgtaV0NPeGJVRncxZyiQ_YnBBjInCgJCRRIhEh0SGwsMDg8QERITFBUWFxgZGhscHR4fICEiIyQlJiAy
|
18 |
+
.youtube.com TRUE / TRUE 1762643089 VISITOR_PRIVACY_METADATA CgJCRRIhEh0SGwsMDg8QERITFBUWFxgZGhscHR4fICEiIyQlJiBt
|
19 |
+
.youtube.com TRUE / FALSE 0 PREF f4=4000000&tz=UTC&f7=100&f6=40000400&f5=30000&hl=en
|
20 |
+
.youtube.com TRUE / TRUE 1778626640 __Secure-1PSIDTS sidts-CjIBjplskOfLYqOWfHbik540ZpwFBI2jOGBbPTxcc_79T8WrqaqFIW__ByzwzE27PdTrMhAA
|
21 |
+
.youtube.com TRUE / TRUE 1778626640 __Secure-3PSIDTS sidts-CjIBjplskOfLYqOWfHbik540ZpwFBI2jOGBbPTxcc_79T8WrqaqFIW__ByzwzE27PdTrMhAA
|
22 |
+
.youtube.com TRUE / FALSE 1778627089 SIDCC AKEyXzU04DAJ1xdkVRY0_COivRahMJPereJrve4NXQwWo-OSDJBigcJId1S2IrT-cUqL7vmXy9U
|
23 |
+
.youtube.com TRUE / TRUE 1778627089 __Secure-1PSIDCC AKEyXzVck1n4TeBTP8ZRXRwsTYyCA2Us0wWcB31a4sEJr9RE8M5bBaaxcay9CvAKlp3pkZNRayk
|
24 |
+
.youtube.com TRUE / TRUE 1778627089 __Secure-3PSIDCC AKEyXzUw1VqC_zsRzzp8yi8_KO5S3LxlEHTD0BpeHTPoL0A4GbEDja6m9B0y9WMOjMQGi4hJVf95
|
25 |
+
.youtube.com TRUE / TRUE 0 YSC Hk4GBz7R3SM
|
26 |
+
.youtube.com TRUE / TRUE 1810163089 __Secure-YT_TVFAS t=483201&s=2
|
27 |
+
.youtube.com TRUE / TRUE 1762643089 DEVICE_INFO ChxOelV3TXpZNU9UQTVNRFE1TURJM05EWTBOQT09EJH9icEGGJH9icEG
|
prompts/code_gen_prompt.txt
CHANGED
@@ -9,15 +9,14 @@ You are CodeAgent, a specialist in generating and executing Python code. Your mi
|
|
9 |
7. **Hand-Off**: If further logical reasoning or verification is needed, delegate to **reasoning_agent**. Otherwise, pass your final output to **planner_agent** for synthesis.
|
10 |
|
11 |
**Special Instructions for Chess-Related Tasks**:
|
12 |
-
- Prioritize using the Stockfish engine to solve chess problems.
|
13 |
- Use `python-chess` to represent boards, generate and validate moves, and parse PGN/FEN.
|
14 |
|
15 |
**Available Python Packages**:
|
16 |
|
17 |
- beautifulsoup4: HTML/XML parsing and lightweight web scraping
|
18 |
- certifi: Mozilla CA bundle for secure TLS/SSL requests
|
19 |
-
- datasets: Hugging Face dataset loading and streaming
|
20 |
-
- dotenv: Load environment variables from .env files
|
21 |
- duckdb: In‑process OLAP SQL engine (analytics, Parquet, Arrow)
|
22 |
- ffmpeg-python: Wrapper around FFmpeg for audio/video operations
|
23 |
- gradio[oauth]: Rapid web‑UI prototyping with optional OAuth
|
|
|
9 |
7. **Hand-Off**: If further logical reasoning or verification is needed, delegate to **reasoning_agent**. Otherwise, pass your final output to **planner_agent** for synthesis.
|
10 |
|
11 |
**Special Instructions for Chess-Related Tasks**:
|
12 |
+
- Prioritize using the Stockfish engine to solve chess problems. Ubuntu installation: `sudo apt-get install stockfish` so path is `/usr/games/stockfish`
|
13 |
- Use `python-chess` to represent boards, generate and validate moves, and parse PGN/FEN.
|
14 |
|
15 |
**Available Python Packages**:
|
16 |
|
17 |
- beautifulsoup4: HTML/XML parsing and lightweight web scraping
|
18 |
- certifi: Mozilla CA bundle for secure TLS/SSL requests
|
19 |
+
- datasets: Hugging Face dataset loading and streaming
|
|
|
20 |
- duckdb: In‑process OLAP SQL engine (analytics, Parquet, Arrow)
|
21 |
- ffmpeg-python: Wrapper around FFmpeg for audio/video operations
|
22 |
- gradio[oauth]: Rapid web‑UI prototyping with optional OAuth
|