---
hide_table_of_contents: true
---

# ChatGPT Plugin Retriever

This example shows how to use the ChatGPT Retriever Plugin within LangChain.

To set up the ChatGPT Retriever Plugin, please follow instructions [here](https://github.com/openai/chatgpt-retrieval-plugin).

## Usage

import CodeBlock from "@theme/CodeBlock";
import Example from "@examples/retrievers/chatgpt-plugin.ts";

<CodeBlock language="typescript">{Example}</CodeBlock>
