2024-09-15 15:38:35 +03:00
..
2024-09-15 15:38:35 +03:00
2024-09-15 15:38:35 +03:00
2024-09-15 15:38:35 +03:00
2024-09-15 15:38:35 +03:00
2024-09-15 15:38:35 +03:00
2024-09-15 15:38:35 +03:00
2024-09-15 15:38:35 +03:00

Youtube Video Summarization and Question Answering Agent

This project is a Youtube video summarization and question answering agent. It uses natural language processing techniques to generate summaries of Youtube videos and answer questions based on the video content.

Installation

  1. Clone uagents repo and navigate to this folder

  2. Use poetry install to install the dependencies

  3. Obtain the OpenAI and Anthropoc key. Follow the instructions provided by the respective service to get your API key.

export OPENAI_API_KEY=YOUR_KEY
export ANTHROPIC_API_KEY=YOUR_KEY
  1. Run the following command in your terminal:
python -m spacy download en_core_web_lg

Usage

  1. Generate a random seed phrase and edit agent.py and set the SEED to your secret!
  2. Run the agent using the following command:
poetry run agent
  1. Copy out your agent address, and go to agentverse.ai, log in and create a Mailroom mailbox for this agent, copy out the key and set it as the following environment variable:
export AGENT_MAILBOX_KEY=YOUR_KEY
  1. Run your agent using poetry run agent

  2. Go to agentverse.ai and register your agent as a service! Afterwards you can go to https://deltav.agentverse.ai and play with your agent!