Ask a question to get started
Enter to sendā¢Shift+Enter new line
Compute doc embeddings using a SageMaker Inference Endpoint.
embed_documents( self, texts: List[str], chunk_size: int = 64 ) -> List[List[float]]
texts
List[str]
The list of texts to embed.
chunk_size
int
64
The chunk size defines how many input texts will be grouped together as request. If None, will use the chunk size specified by the class.