Jump to content

ChatGPT Retrieval Plugin: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 2: Line 2:
[https://github.com/openai/chatgpt-retrieval-plugin GitHub]
[https://github.com/openai/chatgpt-retrieval-plugin GitHub]
==Introduction==
==Introduction==
The ChatGPT Retrieval Plugin is a powerful addition to OpenAI's ChatGPT, enabling the AI to access and utilize data stored in a vector database like Weaviate. This capability not only enhances ChatGPT's performance by providing access to customized data but also addresses its long-standing limitation of lacking long-term memory. The plugin is part of the broader ChatGPT plugins ecosystem, which allows ChatGPT to interact with various apps and services, transforming it from a conversation tool to an AI capable of taking actions in the real world.
The [[ChatGPT Retrieval Plugin]] is a powerful addition to [[OpenAI]]'s [[ChatGPT]], enabling the [[AI]] to access and utilize data stored in a [[vector database]]. This capability not only enhances ChatGPT's performance by providing access to customized data but also addresses its long-standing limitation of lacking long-term memory. The plugin is part of the broader [[ChatGPT plugins]] ecosystem, which allows ChatGPT to interact with various apps and services, transforming it from a conversation tool to an AI capable of taking actions in the real world.


==Background Information==
==Background Information==
Recently, OpenAI introduced plugins for ChatGPT, which have significantly expanded the chatbot's capabilities. These plugins act as a bridge between the chatbot and a range of third-party resources, enabling it to leverage these resources to perform tasks based on user conversations. The Retrieval Plugin, specifically, has the potential to be widely used, as it allows users to create customized versions of ChatGPT tailored to their own data.
Recently, OpenAI introduced plugins for ChatGPT, which have significantly expanded the [[chatbot]]'s capabilities. These plugins act as a bridge between the chatbot and a range of third-party resources, enabling it to leverage these resources to perform tasks based on user conversations. The Retrieval Plugin, specifically, has the potential to be widely used, as it allows users to create customized versions of ChatGPT tailored to their own data.


With the integration of plugins, ChatGPT can now perform various tasks such as ordering groceries, booking restaurants, and organizing vacations by utilizing services like Instacart, OpenTable, and Expedia. Moreover, the Zapier plugin allows ChatGPT to connect with thousands of other applications, from Google Sheets to Salesforce, thus broadening its reach.
With the integration of plugins, ChatGPT can now perform various tasks such as ordering groceries, booking restaurants, and organizing vacations by utilizing services like [[Instacart]], [[OpenTable]], and [[Expedia]]. Moreover, the Zapier plugin allows ChatGPT to connect with thousands of other applications, from [[Google Sheets]] to [[Salesforce]], thus broadening its reach.


==ChatGPT Retrieval Plugin: Connecting to a Vector Database==
==ChatGPT Retrieval Plugin: Connecting to a Vector Database==
The ChatGPT Retrieval Plugin enables users to connect ChatGPT to an instance of a vector database, allowing any information stored in the connected database to be used to answer questions and provide responses based on the details stored in the database. Additionally, the vector database can be utilized as a long-term storage solution for ChatGPT, allowing it to persist and store portions of user conversations beyond the short-lived memory of a browser tab.
The [[ChatGPT Retrieval Plugin]] enables users to connect [[ChatGPT]] to an instance of a [[vector database]], allowing any information stored in the connected database to be used to answer questions and provide responses based on the details stored in the database. Additionally, the vector database can be utilized as a long-term storage solution for ChatGPT, allowing it to persist and store portions of user conversations beyond the short-lived memory of a browser tab.
 
The retrieval plugin enables ChatGPT to accomplish tasks grounded in the context of knowledge stored in a connected vector database, such as Weaviate. The process consists of two steps: prompting ChatGPT with a question to craft a query that can be sent to the vector database, and then receiving relevant information and context from the database to formulate an appropriate response.


===Plugin Functionality===
===Plugin Functionality===
The main functions of the ChatGPT Retrieval Plugin include:
The main functions of the ChatGPT Retrieval Plugin include:
- Connecting a vector database with proprietary data to ChatGPT, allowing it to answer specific questions based on that data
*Connecting a vector database with proprietary data to ChatGPT, allowing it to answer specific questions based on that data
- Persisting personal documents and details to provide a personalized touch to ChatGPT's responses
*Persisting personal documents and details to provide a personalized touch to ChatGPT's responses
- Storing conversations with ChatGPT in the attached vector database, enabling continued conversations across multiple sessions
*Storing conversations with ChatGPT in the attached vector database, enabling continued conversations across multiple sessions


This functionality allows for regular updates to content stored in connected vector databases, giving the model awareness of new information without the need for costly and time-consuming retraining of the large language model (LLM).
This functionality allows for regular updates to content stored in connected vector databases, giving the model awareness of new information without the need for costly and time-consuming retraining of the [[large language model]] ([[LLM]]).


==Weaviate Retrieval Plugin in Action==
==Weaviate Retrieval Plugin in Action==
370

edits