This project is an AI-powered research assistant that can gather, process, and synthesize information on any given topic, leveraging the Llama 3 70B Instruct model through NVIDIA's API and the LangChain framework.
- Topic-based information gathering
- Text summarization
- Automatic question generation and answering
- Information synthesis
- Clone this repository
- Install dependencies:
pip install -r requirements.txt
- Set up your NVIDIA API key in
config.py
Run the main script:
python main.py
Enter a research topic when prompted. The system will gather information, process it, and provide a synthesis including a summary and relevant questions and answers.
Here is an example of the output you can expect:
Enter a research topic (or 'quit' to exit): Artificial Intelligence
Gathering data...
Processing data...
Synthesizing information...
Synthesis on Artificial Intelligence:
Summary: Artificial Intelligence (AI) is a branch of computer science that aims to create machines capable of intelligent behavior. It encompasses various subfields such as machine learning, natural language processing, and robotics.
Q1: What is Artificial Intelligence?
A1: Artificial Intelligence (AI) is a branch of computer science that aims to create machines capable of intelligent behavior.
Q2: What are the subfields of AI?
A2: The subfields of AI include machine learning, natural language processing, and robotics.
Q3: How is AI used in robotics?
A3: AI is used in robotics to enable machines to perform tasks that typically require human intelligence, such as visual perception, speech recognition, decision-making, and language translation.
main.py
: Main script to run the applicationagents/
: Contains Researcher and Synthesizer classesutils/
: Contains utility functions for API calls and text processingconfig.py
: Configuration file for API keys
- langchain
- requests
- nltk
To view example outputs please see the photo pdf in this folder. View the PDF