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