@sqlrooms/ai-rag / RagSliceState
Type Alias: RagSliceState
RagSliceState:
object
Type declaration
| Name | Type |
|---|---|
rag | { initialize: () => Promise<void>; queryEmbeddings: (queryEmbedding, options?) => Promise<EmbeddingResult[]>; queryByText: (queryText, options?) => Promise<EmbeddingResult[]>; getMetadata: (databaseName) => Promise<DatabaseMetadata | null>; listDatabases: () => string[]; } |
