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
-
Clone uagents repo and navigate to this folder
-
Use
poetry installto install the dependencies -
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
- Run the following command in your terminal:
python -m spacy download en_core_web_lg
Usage
- Generate a random seed phrase and edit agent.py and set the SEED to your secret!
- Run the agent using the following command:
poetry run agent
- 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
-
Run your agent using
poetry run agent -
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!