Skip to content

Tool-using GPT agent, equipped with Knowledge Base and ability to search using Google.

License

Notifications You must be signed in to change notification settings

khryniewicz/searchgpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SearchGPT

code style: black license: MIT

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.

Usage

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.

About

Tool-using GPT agent, equipped with Knowledge Base and ability to search using Google.

Topics

Resources

License

Stars

Watchers

Forks

Languages