Skip to content

@sqlrooms/ai-rag / createRagSlice

Function: createRagSlice()

createRagSlice(__namedParameters): StateCreator<RagSliceState>

Parameters

ParameterType
__namedParameters{ embeddingsDatabases: EmbeddingDatabase[]; }
__namedParameters.embeddingsDatabasesEmbeddingDatabase[]

Returns

StateCreator<RagSliceState>