Partager via


OnnxKernelBuilderExtensions Class

Definition

Provides extension methods for the IKernelBuilder class to configure ONNX connectors.

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

Methods

AddBertOnnxTextEmbeddingGeneration(IKernelBuilder, Stream, Stream, BertOnnxOptions, String)

Adds a text embedding generation service using a BERT ONNX model.

AddBertOnnxTextEmbeddingGeneration(IKernelBuilder, String, String, BertOnnxOptions, String)

Adds a text embedding generation service using a BERT ONNX model.

AddOnnxRuntimeGenAIChatCompletion(IKernelBuilder, String, String, String)

Add OnnxRuntimeGenAI Chat Completion services to the kernel builder.

Applies to