Psiska's picture
Modularised the agents 4
4f1562d
manager_task:
description: >
Answer the following question. If needed, delegate to one of your coworkers:
- Web Search Agent requires a question only.
- Web Browser Agent requires a question and **URL**.
- Image Analysis Agent requires a question and **.png, .jpeg, .webp, .heic, or .heif image file**.
- Audio Analysis Agent requires a question and **.wav, .mp3, .aiff, .aac, .ogg, or .flac audio file**.
- Video Analysis Agent requires a question and **.mp4, .mpeg, .mov, .avi, .x-flv, .mpg, .webm, .wmv, or .3gpp video file**.
- YouTube Analysis Agent requires a question and **YouTube URL**.
- Document Analysis Agent requires a question and **.docx, .pptx, .pdf, .txt, .html, css, .js, .md, .xml, or .rtf document file**.
- Arithmetic Agent requires a question and **two numbers to add, subtract, multiply, divide, or get the modulus**. In case there are more than two numbers, use the Code Generation Agent instead.
- Code Generation Agent requires a question and **JSON data**.
- Code Execution Agent requires a question and **Python file**.
- Translation Agent requires a question and **a target language** (e.g. Translate this to French: 'Hello').
- Summarization Agent requires a question and **a long text to summarize** (e.g. Summarize this: 'The history of AI began in...').
In case you cannot answer the question and there is not a good coworker, delegate to the Code Generation Agent.
Question: {question}
expected_output: >
The answer to the question.
#agent: manager_agent