Ask a question to get started
Enter to sendā¢Shift+Enter new line
Return VectorStore initialized from texts and embeddings.
from_texts( cls: type[DB2VS], texts: Iterable[str], embedding: Embeddings, metadatas: list[dict] | None = None, **kwargs: Any = {} ) -> DB2VS
texts
Iterable[str]
Iterable of strings to add to the vectorstore
embedding
Embeddings
Embedding to look up documents similar to
metadatas
list[dict] | None
None
Optional list of metadatas associated with the texts
kwargs
Any
{}
Additional keyword args