VertexAIGeminiChatCompletionService Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a chat completion service using Vertex AI Gemini API.
public sealed class VertexAIGeminiChatCompletionService : Microsoft.SemanticKernel.ChatCompletion.IChatCompletionService
type VertexAIGeminiChatCompletionService = class
interface IChatCompletionService
interface IAIService
Public NotInheritable Class VertexAIGeminiChatCompletionService
Implements IChatCompletionService
- Inheritance
-
VertexAIGeminiChatCompletionService
- Implements
Constructors
VertexAIGeminiChatCompletionService(String, Func<ValueTask<String>>, String, String, VertexAIVersion, HttpClient, ILoggerFactory) |
Initializes a new instance of the VertexAIGeminiChatCompletionService class. |
VertexAIGeminiChatCompletionService(String, String, String, String, VertexAIVersion, HttpClient, ILoggerFactory) |
Initializes a new instance of the VertexAIGeminiChatCompletionService class. |
Properties
Attributes |
Gets the AI service attributes. |
Methods
GetChatMessageContentsAsync(ChatHistory, PromptExecutionSettings, Kernel, CancellationToken) |
Get chat multiple chat content choices for the prompt and settings. |
GetStreamingChatMessageContentsAsync(ChatHistory, PromptExecutionSettings, Kernel, CancellationToken) |
Get streaming chat contents for the chat history provided using the specified settings. |