Ask a question to get started
Enter to sendā¢Shift+Enter new line
Creates a new vectorstore from a list of texts
from_texts( cls: Type[ApertureDB], texts: List[str], embedding: Embeddings, metadatas: Optional[List[dict]] = None, **kwargs: Any = {} ) -> ApertureDB
texts
List[str]
List of text strings
embedding
Embeddings
Embeddings object as for constructing the vectorstore
metadatas
Optional[List[dict]]
None
Optional list of metadatas associated with the texts.
kwargs
Any
{}
Additional arguments to pass to the constructor