Ask a question to get started
Enter to sendā¢Shift+Enter new line
Embed a list of documents.
embed_documents( self, texts: List[str], batch_size: int = 0 ) -> List[List[float]]
texts
List[str]
List[str] The list of texts to embed.
batch_size
int
0
[int] The batch size of embeddings to send to the model. If zero, then the largest batch size will be detected dynamically at the first request, starting from 250, down to 5.