Freigeben über


VertexAIServiceCollectionExtensions Class

Definition

Extensions for adding VertexAI generation services to the application.

public static class VertexAIServiceCollectionExtensions
type VertexAIServiceCollectionExtensions = class
Public Module VertexAIServiceCollectionExtensions
Inheritance
VertexAIServiceCollectionExtensions

Methods

AddVertexAIEmbeddingGeneration(IServiceCollection, String, Func<ValueTask<String>>, String, String, VertexAIVersion, String)

Adds Vertex AI embeddings generation service to the specified service collection.

AddVertexAIEmbeddingGeneration(IServiceCollection, String, String, String, String, VertexAIVersion, String)

Adds Vertex AI embeddings generation service to the specified service collection.

AddVertexAIGeminiChatCompletion(IServiceCollection, String, Func<ValueTask<String>>, String, String, VertexAIVersion, String)

Adds Vertex AI Gemini Chat Completion and Text Generation services to the specified service collection.

AddVertexAIGeminiChatCompletion(IServiceCollection, String, String, String, String, VertexAIVersion, String)

Adds Vertex AI Gemini Chat Completion and Text Generation services to the specified service collection.

Applies to