SearchGPT is a tool-using agent that utilizes the power of GPT-3.5 to provide search-based responses to user queries. This project is based on the How to build a tool-using agent with LangChain example from the OpenAI Cookbook, with the addition of an interface using Gradio library.
You need to obtain API keys and put them into .env
file:
OPENAI_API_KEY=sk-***
PINECONE_API_KEY=***
PINECONE_ENVIRONMENT=northamerica-northeast1-gcp
SERPAPI_API_KEY=***
To download and process podcasts run:
python scripts/pinecone_podcasts.py
After that to start the SearchGPT interface, run the following command:
gradio searchgpt
This will launch the Gradio web interface for the SearchGPT chatbot.