Ask a question to get started
Enter to sendā¢Shift+Enter new line
Embed texts.
embed( self, texts: list[str], *, task_type: str ) -> list[list[float]]
texts
list[str]
List of texts to embed
task_type
str
The task type to use when embedding. One of 'search_query', 'search_document', 'classification', 'clustering'
'search_query'
'search_document'
'classification'
'clustering'