google.generativeai.embed_content_async#
View source on GitHub |
Calls the API to create async embeddings for content passed in.
google.generativeai.embed_content_async(
model,
content,
task_type=None,
title=None,
output_dimensionality=None,
client=None,
request_options=None
)