---
title: Redis
---

You can use redis as a data store.

## Install Redis addon

```bash
npm install @llm-tools/embedjs-redis
```

## Usage
<CodeGroup>
```ts Partial example
import { RAGApplicationBuilder } from '@llm-tools/embedjs';
import { RedisStore } from '@llm-tools/embedjs-redis';

const app = await new RAGApplicationBuilder()
.setStore(new RedisStore({ ... }))
```
</CodeGroup>

<Snippet file="missing-store-tip.mdx" />
