Interface IGeminiClient
public interface IGeminiClient
Methods
GenerateContentAsync(GenerateContentRequest, CancellationToken)
Task<GenerateContentResponse> GenerateContentAsync(GenerateContentRequest request, CancellationToken cancellationToken = default)
Parameters
request
GenerateContentRequestcancellationToken
CancellationToken
Returns
GenerateContentStreamAsync(GenerateContentRequest)
IAsyncEnumerable<GenerateContentResponse> GenerateContentStreamAsync(GenerateContentRequest request)
Parameters
request
GenerateContentRequest