---
hide_table_of_contents: true
---

# Remote Retriever

This example shows how to use a Remote Retriever in a `RetrievalQAChain` to retrieve documents from a remote server.

## Usage

import CodeBlock from "@theme/CodeBlock";
import Example from "@examples/chains/retrieval_qa_with_remote.ts";

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