AI Research Assistant — Your Personal GPT-4-Powered Research Buddy A Python-based terminal assistant that fetches real-time web data using Tavily and delivers detailed, GPT-4 generated answers. Ask anything, build a growing knowledge base, and research smarter — all in your terminal.
-
Install requirements (Python 3.10+ required):
pip install openai tavily
-
Add your API keys for Tavily and OpenAI in a .env file
-
Run the script:
python main.py
-
Ask about any topics that you want to research on like:
How did the NIFTY50 perform today -
Type
quitto exit the assistant.
- Takes your research question via terminal input.
- Fetches relevant web data using the Tavily API.
- Builds and stores a cumulative knowledge base.
- Uses OpenAI GPT-4 to generate rich, structured answers based on that knowledge.
- Continues until you exit the session.