A multi-agent system that automates research and generates concise reports on given topics using Langchain and Streamlit, with data stored in SQLite.
- Automated Research: Gathers information on a given topic using various APIs.
- Summarization: Generates concise summaries using a language model.
- Interactive Interface: User-friendly Streamlit interface to input topics and view/edit summaries.
- Database Integration: Stores edited summaries in an SQLite database.
- Python 3.10+
- Docker (for containerized setup)
-
Clone the Repository:
git clone https://github.com/your-username/AutoResearchBot.git cd AutoResearchBot
-
Create a Virtual Environment:
poetry install poetry shell
-
Set Up Environment Variables: Create a
.env
file in the root directory and add the following:OPENAI_API_KEY=your_openai_api_key
-
Run the Application:
streamlit run app.py
-
Build the Docker Image:
docker build -t autoresearchbot .
-
Run the Docker Container:
docker run -d -p 8501:8501 --env OPENAI_API_KEY=your_openai_api_key autoresearchbot
-
Input a Topic: Enter a topic in the input field on the Streamlit interface.
-
Generate Report: Click the "Generate Report" button to fetch data and generate a summary.
-
Edit and Save Summary: Edit the summary if needed and click the "Save Summary" button to store it in the database.