lwant's picture
Add `YoutubeTranscriptReader` tool integration, update dependencies, and enhance agent functionality.
84c7ca2

A newer version of the Gradio SDK is available: 6.9.0

Upgrade
metadata
title: Agent Course Final Assignment - Lwant
emoji: πŸš€πŸŽ“
colorFrom: red
colorTo: yellow
python_version: 3.13
sdk: gradio
sdk_version: 5.25.2
app_file: src/gaia_solving_agent/app.py
pinned: false
hf_oauth: true
hf_oauth_expiration_minutes: 480

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

Agent course final assignement

What do I want to do?

Orchestration / steps :

  • Load additional file
  • Analyze the user query, make a plan
  • (Multi-agent step)
    • Plan the tools to gather external resources
    • Analyze resources and summarize learnings
    • Answer the question
  • Parse the result in the response format

Tools :

  • Web search
  • Url requests
  • Wikipedia
  • Image queries
  • Video queries
  • Video audio transcripts
  • Website parser
  • Text chunker ==> via LoadAndSearchToolSpec

Install

LlamaIndex observability

from gaia_solving_agent.telemetry import set_telemetry


set_telemetry()

# Run your agent
...

Troubleshouting

Debug log level for OPENAPI like

export OPENAI_LOG=debug
import os
os.environ["OPENAI_LOG"] = "debug"