Skip to content

Commit 2f90071

Browse files
committed
fix: import MetadataValue from IVectorStore to resolve type conflict
1 parent f4e881a commit 2f90071

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/rag/RetrievalAugmentor.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,9 @@ import {
3232
import { RetrievalAugmentorServiceConfig } from '../config/RetrievalAugmentorConfiguration';
3333
import { IEmbeddingManager } from './IEmbeddingManager';
3434
import { IVectorStoreManager } from './IVectorStoreManager';
35-
import { VectorDocument, QueryOptions as VectorStoreQueryOptions } from './IVectorStore';
35+
import { VectorDocument, QueryOptions as VectorStoreQueryOptions, MetadataValue } from './IVectorStore';
3636
import { GMIError, GMIErrorCode } from '@framers/agentos/utils/errors';
3737

38-
/** Metadata value types supported in vector documents */
39-
type MetadataValue = string | number | boolean | string[] | number[] | null;
40-
4138
const DEFAULT_CONTEXT_JOIN_SEPARATOR = "\n\n---\n\n";
4239
const DEFAULT_MAX_CHARS_FOR_AUGMENTED_PROMPT = 4000;
4340
const DEFAULT_CHUNK_SIZE = 512; // Default characters for basic chunking

0 commit comments

Comments
 (0)