Ask a question to get started
Enter to sendā¢Shift+Enter new line
aembed_documents( self, texts: list[str], chunk_size: int | None = None
texts
list[str]
The list of texts to embed.
chunk_size
int | None
None
The chunk size of embeddings.
If None, will use the chunk size specified by the class.
kwargs
Any
{}
Asynchronously call OpenAI's embedding endpoint to embed search docs.
Additional keyword arguments to pass to the embedding API.