Skip to content

@sqlrooms/ai-rag / RagSliceState

Type Alias: RagSliceState

RagSliceState: object

Type declaration

NameType
rag{ initialize: () => Promise<void>; queryEmbeddings: (queryEmbedding, options?) => Promise<EmbeddingResult[]>; queryByText: (queryText, options?) => Promise<EmbeddingResult[]>; getMetadata: (databaseName) => Promise<DatabaseMetadata | null>; listDatabases: () => string[]; }