> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# In Memory Vector Store • Rust AI Agent SDK

> InMemoryVectorStore: In-memory vector store implementation.

# InMemoryVectorStore

> Defined in the [**knowledge**](../modules/knowledge) module.

<Badge color="orange">Rust AI Agent SDK</Badge>

In-memory vector store implementation.

## Fields

| Name      | Type                      | Description |
| --------- | ------------------------- | ----------- |
| `records` | `Vec&lt;VectorRecord&gt;` | -           |

## Methods

### `new`

```rust theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
fn new() -> Self
```

Create a new in-memory vector store

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-rust/praisonai/src/knowledge/mod.rs#L295">
  `praisonai/src/knowledge/mod.rs` at line 295
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Rust Memory" icon="database" href="/docs/rust/memory" />

  <Card title="Rust Sessions" icon="clock" href="/docs/rust/sessions" />

  <Card title="Rust Knowledge" icon="book" href="/docs/rust/knowledge" />

  <Card title="Rust Vector Store" icon="database" href="/docs/rust/vector-store" />

  <Card title="Rust Embeddings" icon="code" href="/docs/rust/embeddings" />
</CardGroup>
