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