Spaces:
Runtime error
Download README.md from Mairu10/Multi-Agent-openAI: direct link, hf CLI and curl.
- Browser
- Download file 1.96 kB
-
https://huggingface.co/spaces/Mairu10/Multi-Agent-openAI/resolve/main/README.md
- Command line
-
hf download hf://spaces/Mairu10/Multi-Agent-openAI/README.md
-
curl -L -o README.md https://huggingface.co/spaces/Mairu10/Multi-Agent-openAI/resolve/main/README.md
A newer version of the Streamlit SDK is available: 1.67.0
license: apache-2.0
title: MultiAgentGPT4o
sdk: streamlit
emoji: π
colorFrom: red
colorTo: green
π° Multi-Agent AI Researcher
This Streamlit app empowers you to research top stories and users on HackerNews using a team of AI assistants with GPT-4o.
Features
- Research top stories and users on HackerNews
- Utilize a team of AI assistants specialized in story and user research
- Generate blog posts, reports, and social media content based on your research queries
How to get Started?
Clone the GitHub repository
Install the required dependencies:
pip install -r requirements.txt
- Get your OpenAI API Key
- Sign up for an OpenAI account and obtain your API key.
- Run the Streamlit App
streamlit run research_agent.py
How it works?
Upon running the app, you will be prompted to enter your OpenAI API key. This key is used to authenticate and access the OpenAI language models.
Once you provide a valid API key, three instances of the Assistant class are created:
- story_researcher: Specializes in researching HackerNews stories.
- user_researcher: Focuses on researching HackerNews users and reading articles from URLs.
- hn_assistant: A team assistant that coordinates the research efforts of the story and user researchers.
Enter your research query in the provided text input field. This could be a topic, keyword, or specific question related to HackerNews stories or users.
The hn_assistant will orchestrate the research process by delegating tasks to the story_researcher and user_researcher based on your query.
The AI assistants will gather relevant information from HackerNews using the provided tools and generate a comprehensive response using the GPT-4 language model.
The generated content, which could be a blog post, report, or social media post, will be displayed in the app for you to review and use.