Ask a question to get started
Enter to send•Shift+Enter new line
Embed a list of texts.
The method first checks the cache for the embeddings. If the embeddings are not found, the method uses the underlying embedder to embed the documents and stores the results in the cache.
embed_documents( self, texts: list[str], ) -> list[list[float]]
texts
list[str]
A list of texts to embed.