OpenAI plugins connectChatGPT
to third-party applications. These plugins enableChatGPT
to interact with APIs defined by developers, enhancingChatGPT's
capabilities and allowing it to perform a wide range of actions.
Plugins allowThis notebook shows how to use the ChatGPT Retriever Plugin within LangChain.ChatGPT
to do things like:
- Retrieve real-time information; e.g., sports scores, stock prices, the latest news, etc.
- Retrieve knowledge-base information; e.g., company docs, personal notes, etc.
- Perform actions on behalf of the user; e.g., booking a flight, ordering food, etc.
Using the ChatGPT Retriever Plugin
Okay, so we’ve created the ChatGPT Retriever Plugin, but how do we actually use it? The below code walks through how to do that. We want to useChatGPTPluginRetriever
so we have to get the OpenAI API Key.