Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/add-pinecone-milvus.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@anvia/pinecone": minor
"@anvia/milvus": minor
---

Add Pinecone and Milvus vector store adapters following the existing pattern (Chroma, PgVector, Qdrant). Both implement the `VectorSearchIndex` interface with full filter translation, multi-embedding support, and `asTool()` integration.
7 changes: 7 additions & 0 deletions apps/docs/content/docs/changelog/chroma.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ ChromaDB vector store adapter for Anvia.

Source: [`packages/vector-stores/chroma/CHANGELOG.md`](https://github.com/anvia-hq/anvia/blob/main/packages/vector-stores/chroma/CHANGELOG.md)

## 0.2.5

### Patch Changes

- Updated dependencies [2d039f6]
- @anvia/core@0.6.1

## 0.2.4

### Patch Changes
Expand Down
6 changes: 6 additions & 0 deletions apps/docs/content/docs/changelog/core.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ Core runtime primitives for context-aware Anvia agents.

Source: [`packages/core/CHANGELOG.md`](https://github.com/anvia-hq/anvia/blob/main/packages/core/CHANGELOG.md)

## 0.6.1

### Patch Changes

- 2d039f6: Add ergonomic tool result message helpers and export `ToolContent` from the root entrypoint.

## 0.6.0

### Minor Changes
Expand Down
7 changes: 7 additions & 0 deletions apps/docs/content/docs/changelog/fastembed.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ FastEmbed embedding model adapter for Anvia.

Source: [`packages/embeddings/fastembed/CHANGELOG.md`](https://github.com/anvia-hq/anvia/blob/main/packages/embeddings/fastembed/CHANGELOG.md)

## 0.2.5

### Patch Changes

- Updated dependencies [2d039f6]
- @anvia/core@0.6.1

## 0.2.4

### Patch Changes
Expand Down
26 changes: 14 additions & 12 deletions apps/docs/content/docs/changelog/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,51 +13,53 @@ Developers should keep writing release notes with `pnpm changeset`. The docs pag

| Package | Current version | Release notes |
| --- | --- | --- |
| `@anvia/core` | `0.6.0` | [View changelog](/docs/changelog/core) |
| `@anvia/core` | `0.6.1` | [View changelog](/docs/changelog/core) |

## Providers

| Package | Current version | Release notes |
| --- | --- | --- |
| `@anvia/anthropic` | `0.3.5` | [View changelog](/docs/changelog/anthropic) |
| `@anvia/gemini` | `0.2.4` | [View changelog](/docs/changelog/gemini) |
| `@anvia/mistral` | `0.2.5` | [View changelog](/docs/changelog/mistral) |
| `@anvia/openai` | `0.3.6` | [View changelog](/docs/changelog/openai) |
| `@anvia/mistral` | `0.2.6` | [View changelog](/docs/changelog/mistral) |
| `@anvia/openai` | `0.3.7` | [View changelog](/docs/changelog/openai) |

## Embeddings

| Package | Current version | Release notes |
| --- | --- | --- |
| `@anvia/fastembed` | `0.2.4` | [View changelog](/docs/changelog/fastembed) |
| `@anvia/transformers` | `0.2.4` | [View changelog](/docs/changelog/transformers) |
| `@anvia/fastembed` | `0.2.5` | [View changelog](/docs/changelog/fastembed) |
| `@anvia/transformers` | `0.2.5` | [View changelog](/docs/changelog/transformers) |

## Vector Stores

| Package | Current version | Release notes |
| --- | --- | --- |
| `@anvia/chroma` | `0.2.4` | [View changelog](/docs/changelog/chroma) |
| `@anvia/pgvector` | `0.2.4` | [View changelog](/docs/changelog/pgvector) |
| `@anvia/qdrant` | `0.2.4` | [View changelog](/docs/changelog/qdrant) |
| `@anvia/chroma` | `0.2.5` | [View changelog](/docs/changelog/chroma) |
| `@anvia/milvus` | `0.2.5` | [View changelog](/docs/changelog/milvus) |
| `@anvia/pgvector` | `0.2.5` | [View changelog](/docs/changelog/pgvector) |
| `@anvia/pinecone` | `0.2.5` | [View changelog](/docs/changelog/pinecone) |
| `@anvia/qdrant` | `0.2.5` | [View changelog](/docs/changelog/qdrant) |

## Logger

| Package | Current version | Release notes |
| --- | --- | --- |
| `@anvia/logger` | `0.3.5` | [View changelog](/docs/changelog/logger) |
| `@anvia/logger` | `0.3.6` | [View changelog](/docs/changelog/logger) |

## Observability

| Package | Current version | Release notes |
| --- | --- | --- |
| `@anvia/langfuse` | `0.2.3` | [View changelog](/docs/changelog/langfuse) |
| `@anvia/otel` | `0.2.4` | [View changelog](/docs/changelog/otel) |
| `@anvia/otel` | `0.2.5` | [View changelog](/docs/changelog/otel) |

## Tools

| Package | Current version | Release notes |
| --- | --- | --- |
| `@anvia/sandbox` | `0.2.1` | [View changelog](/docs/changelog/sandbox) |
| `@anvia/studio` | `0.5.10` | [View changelog](/docs/changelog/studio) |
| `@anvia/sandbox` | `0.2.2` | [View changelog](/docs/changelog/sandbox) |
| `@anvia/studio` | `0.5.11` | [View changelog](/docs/changelog/studio) |

## React

Expand Down
7 changes: 7 additions & 0 deletions apps/docs/content/docs/changelog/logger.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ Structured logger adapters for Anvia.

Source: [`packages/logger/CHANGELOG.md`](https://github.com/anvia-hq/anvia/blob/main/packages/logger/CHANGELOG.md)

## 0.3.6

### Patch Changes

- Updated dependencies [2d039f6]
- @anvia/core@0.6.1

## 0.3.5

### Patch Changes
Expand Down
2 changes: 2 additions & 0 deletions apps/docs/content/docs/changelog/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
"transformers",
"---Vector Stores---",
"chroma",
"milvus",
"pgvector",
"pinecone",
"qdrant",
"---Logger---",
"logger",
Expand Down
17 changes: 17 additions & 0 deletions apps/docs/content/docs/changelog/milvus.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: "@anvia/milvus"
description: "Release notes for @anvia/milvus."
---

# `@anvia/milvus`

Milvus vector store adapter for Anvia.

Source: [`packages/vector-stores/milvus/CHANGELOG.md`](https://github.com/anvia-hq/anvia/blob/main/packages/vector-stores/milvus/CHANGELOG.md)

## No release notes yet

`@anvia/milvus` is public, but `packages/vector-stores/milvus/CHANGELOG.md` does not exist yet.

Release notes will appear here after the next Changesets version bump creates the package changelog.

7 changes: 7 additions & 0 deletions apps/docs/content/docs/changelog/mistral.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ Mistral provider adapter for Anvia.

Source: [`packages/providers/mistral/CHANGELOG.md`](https://github.com/anvia-hq/anvia/blob/main/packages/providers/mistral/CHANGELOG.md)

## 0.2.6

### Patch Changes

- Updated dependencies [2d039f6]
- @anvia/core@0.6.1

## 0.2.5

### Patch Changes
Expand Down
7 changes: 7 additions & 0 deletions apps/docs/content/docs/changelog/openai.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ OpenAI provider adapter for Anvia.

Source: [`packages/providers/openai/CHANGELOG.md`](https://github.com/anvia-hq/anvia/blob/main/packages/providers/openai/CHANGELOG.md)

## 0.3.7

### Patch Changes

- Updated dependencies [2d039f6]
- @anvia/core@0.6.1

## 0.3.6

### Patch Changes
Expand Down
7 changes: 7 additions & 0 deletions apps/docs/content/docs/changelog/otel.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ OpenTelemetry tracing adapter for Anvia.

Source: [`packages/observability/otel/CHANGELOG.md`](https://github.com/anvia-hq/anvia/blob/main/packages/observability/otel/CHANGELOG.md)

## 0.2.5

### Patch Changes

- Updated dependencies [2d039f6]
- @anvia/core@0.6.1

## 0.2.4

### Patch Changes
Expand Down
7 changes: 7 additions & 0 deletions apps/docs/content/docs/changelog/pgvector.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ Postgres pgvector store adapter for Anvia.

Source: [`packages/vector-stores/pgvector/CHANGELOG.md`](https://github.com/anvia-hq/anvia/blob/main/packages/vector-stores/pgvector/CHANGELOG.md)

## 0.2.5

### Patch Changes

- Updated dependencies [2d039f6]
- @anvia/core@0.6.1

## 0.2.4

### Patch Changes
Expand Down
17 changes: 17 additions & 0 deletions apps/docs/content/docs/changelog/pinecone.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: "@anvia/pinecone"
description: "Release notes for @anvia/pinecone."
---

# `@anvia/pinecone`

Pinecone vector store adapter for Anvia.

Source: [`packages/vector-stores/pinecone/CHANGELOG.md`](https://github.com/anvia-hq/anvia/blob/main/packages/vector-stores/pinecone/CHANGELOG.md)

## No release notes yet

`@anvia/pinecone` is public, but `packages/vector-stores/pinecone/CHANGELOG.md` does not exist yet.

Release notes will appear here after the next Changesets version bump creates the package changelog.

7 changes: 7 additions & 0 deletions apps/docs/content/docs/changelog/qdrant.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ Qdrant vector store adapter for Anvia.

Source: [`packages/vector-stores/qdrant/CHANGELOG.md`](https://github.com/anvia-hq/anvia/blob/main/packages/vector-stores/qdrant/CHANGELOG.md)

## 0.2.5

### Patch Changes

- Updated dependencies [2d039f6]
- @anvia/core@0.6.1

## 0.2.4

### Patch Changes
Expand Down
7 changes: 7 additions & 0 deletions apps/docs/content/docs/changelog/sandbox.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ Sandboxed workspace tools for Anvia agents.

Source: [`packages/tools/sandbox/CHANGELOG.md`](https://github.com/anvia-hq/anvia/blob/main/packages/tools/sandbox/CHANGELOG.md)

## 0.2.2

### Patch Changes

- Updated dependencies [2d039f6]
- @anvia/core@0.6.1

## 0.2.1

### Patch Changes
Expand Down
7 changes: 7 additions & 0 deletions apps/docs/content/docs/changelog/studio.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ Studio UI and HTTP runtime for Anvia agents.

Source: [`packages/tools/studio/CHANGELOG.md`](https://github.com/anvia-hq/anvia/blob/main/packages/tools/studio/CHANGELOG.md)

## 0.5.11

### Patch Changes

- Updated dependencies [2d039f6]
- @anvia/core@0.6.1

## 0.5.10

### Patch Changes
Expand Down
7 changes: 7 additions & 0 deletions apps/docs/content/docs/changelog/transformers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ Transformers.js embedding model adapter for Anvia.

Source: [`packages/embeddings/transformers/CHANGELOG.md`](https://github.com/anvia-hq/anvia/blob/main/packages/embeddings/transformers/CHANGELOG.md)

## 0.2.5

### Patch Changes

- Updated dependencies [2d039f6]
- @anvia/core@0.6.1

## 0.2.4

### Patch Changes
Expand Down
11 changes: 11 additions & 0 deletions apps/docs/content/docs/reference/integrations/chroma.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,14 @@ Purpose: convert Anvia vector filters to Chroma `where` filters.
Return behavior: returns `undefined` when no filter is supplied.

Notable errors: none directly.

## ChromaCollectionLike

```ts
type ChromaCollectionLike = {
upsert(options: Record<string, unknown>): Promise<unknown>;
query(options: Record<string, unknown>): Promise<unknown>;
};
```

Purpose: duck-typed interface for a Chroma collection.
81 changes: 81 additions & 0 deletions apps/docs/content/docs/reference/integrations/milvus.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
---
title: Milvus
description: Public exports from @anvia/milvus.
---

Import from `@anvia/milvus`.

## MilvusVectorStoreConnectOptions

```ts
type MilvusVectorStoreConnectOptions = {
client?: MilvusClientLike;
collectionName: string;
vectorSize: number;
createIfMissing?: boolean;
metric?: "COSINE" | "L2" | "IP";
};
```

Purpose: connection options for a Milvus collection.

Return behavior: consumed by `MilvusVectorStore.connect(...)`.

Notable errors: collection lookup fails when `createIfMissing` is `false` and the collection does not exist.

Design note: `connect(...)` optionally creates a collection with HNSW index, then loads it into memory. This keeps constructors synchronous and side-effect free while ensuring the collection exists before ingestion or search.

## MilvusVectorStore

```ts
class MilvusVectorStore<T, Metadata extends VectorMetadata = VectorMetadata> {
static connect<T, Metadata extends VectorMetadata = VectorMetadata>(
options: MilvusVectorStoreConnectOptions,
): Promise<MilvusVectorStore<T, Metadata>>;
upsertDocuments(documents: Array<EmbeddedDocument<T, Metadata>>): Promise<void>;
index(model: EmbeddingModel): MilvusVectorIndex<T, Metadata>;
}
```

Purpose: Milvus-backed document storage.

Return behavior: `connect(...)` resolves a store; `index(...)` binds it to an embedding model.

Notable errors: connection and insert calls reject on Milvus errors; `upsertDocuments(...)` throws when a document has no embeddings.

## MilvusVectorIndex

```ts
class MilvusVectorIndex<T, Metadata extends VectorMetadata = VectorMetadata>
implements VectorSearchIndex<T, Metadata> {
search(request: VectorSearchRequest): Promise<Array<VectorSearchResult<T, Metadata>>>;
searchIds(request: VectorSearchRequest): Promise<Array<{ score: number; id: string }>>;
asTool(options: VectorSearchToolOptions): Tool<{ query: string; topK?: number }, unknown>;
}
```

Purpose: query-time Milvus search adapter.

Return behavior: embeds the query, searches Milvus with boolean expression filters, deduplicates multi-embedding document IDs, and returns normalized results.

Notable errors: embedding or Milvus search failures reject.

## filterToMilvusExpr

```ts
function filterToMilvusExpr(filter: VectorFilter | undefined): string | undefined;
```

Purpose: convert Anvia vector filters to Milvus boolean expression strings.

Return behavior: returns `undefined` when no filter is supplied.

Notable errors: none directly.

## MilvusMetric

```ts
type MilvusMetric = "COSINE" | "L2" | "IP";
```

Purpose: distance metric for a Milvus collection.
Loading
Loading