GeminiModelGenerateContentAsync Method

Overload List

GenerateContentAsync(GenerateContentRequest, CancellationToken) Generates content asynchronously based on the given input parameters.
GenerateContentAsync(IEnumerablePart, CancellationToken) Generate content based on a sequence of Part objects.
GenerateContentAsync(String, GenerateContentRequest) Generates a model response given an input GenerateContentRequest.
GenerateContentAsync(String, CancellationToken) Generates content asynchronously based on the specified text input prompt.
GenerateContentAsync(String, String, CancellationToken) Generates content asynchronously based on the given text prompt and the specified file path.
GenerateContentAsync(String, String, String, CancellationToken) Generates content asynchronously based on the provided text prompt and an inline file path.

See Also