Ask a question to get started
Enter to sendā¢Shift+Enter new line
embed_query( self, text: str, *, task_type: str | None = None, title
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
Embed a single text.
Optional reduced dimension for the output embedding.