Ask a question to get started
Enter to sendā¢Shift+Enter new line
Call out to LocalAI's embedding endpoint for embedding search docs.
embed_documents( self, texts: List[str], chunk_size: Optional[int] = 0 ) -> List[List[float]]
texts
List[str]
The list of texts to embed.
chunk_size
Optional[int]
0
The chunk size of embeddings. If None, will use the chunk size specified by the class.