Ask a question to get started
Enter to sendā¢Shift+Enter new line
Embed a single text asynchronously.
aembed_query( self, text: str, *, task_type: str | None = None, title: str | None = None, output_dimensionality: int | None = None ) -> list[float]
text
str
The text to embed.
task_type
str | None
None
title
Optional title for the text.
Only applicable when TaskType is 'RETRIEVAL_DOCUMENT'.
TaskType
'RETRIEVAL_DOCUMENT'
output_dimensionality
int | None
Optional reduced dimension for the output embedding.