Creates a new SupabaseVectorStore instance from an array of documents.
fromDocuments(
docs: Document<Record<string, any>>[],
embeddings: EmbeddingsInterface,
dbConfig: SupabaseLibArgs
): Promise<SupabaseVectorStore>| Name | Type | Description |
|---|---|---|
docs* | Document<Record<string, any>>[] | The documents to create the instance from. |
embeddings* | EmbeddingsInterface | The embeddings to use. |
dbConfig* | SupabaseLibArgs | The configuration for the Supabase database. |