Share via


OpenTelemetryEmbeddingGeneratorBuilderExtensions Class

Definition

Provides extensions for configuring OpenTelemetryEmbeddingGenerator<TInput,TEmbedding> instances.

public ref class OpenTelemetryEmbeddingGeneratorBuilderExtensions abstract sealed
public static class OpenTelemetryEmbeddingGeneratorBuilderExtensions
type OpenTelemetryEmbeddingGeneratorBuilderExtensions = class
Public Module OpenTelemetryEmbeddingGeneratorBuilderExtensions
Inheritance
OpenTelemetryEmbeddingGeneratorBuilderExtensions

Methods

UseOpenTelemetry<TInput,TEmbedding>(EmbeddingGeneratorBuilder<TInput, TEmbedding>, ILoggerFactory, String, Action<OpenTelemetryEmbeddingGenerator<TInput, TEmbedding>>)

Adds OpenTelemetry support to the embedding generator pipeline, following the OpenTelemetry Semantic Conventions for Generative AI systems.

Applies to