OnnxServiceCollectionExtensions 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.
Provides extension methods for the IServiceCollection interface to configure ONNX connectors.
public static class OnnxServiceCollectionExtensions
type OnnxServiceCollectionExtensions = class
Public Module OnnxServiceCollectionExtensions
- Inheritance
-
OnnxServiceCollectionExtensions
Methods
AddBertOnnxTextEmbeddingGeneration(IServiceCollection, Stream, Stream, BertOnnxOptions, String) |
Adds a text embedding generation service using a BERT ONNX model. |
AddBertOnnxTextEmbeddingGeneration(IServiceCollection, String, String, BertOnnxOptions, String) |
Adds a text embedding generation service using a BERT ONNX model. |
AddOnnxRuntimeGenAIChatCompletion(IServiceCollection, String, String, String) |
Add OnnxRuntimeGenAI Chat Completion services to the specified service collection. |