# Weaviate Self Query Retriever

This example shows how to use a self query retriever with a [Weaviate](https://weaviate.io/) vector store.

If you haven't already set up Weaviate, please [follow the instructions here](/docs/modules/data_connection/vectorstores/integrations/weaviate).

## Usage

This example shows how to intialize a `SelfQueryRetriever` with a vector store:

import CodeBlock from "@theme/CodeBlock";
import Example from "@examples/retrievers/weaviate_self_query.ts";

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