HuggingFaceServiceCollectionExtensions 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 Hugging Face connectors.
public static class HuggingFaceServiceCollectionExtensions
type HuggingFaceServiceCollectionExtensions = class
Public Module HuggingFaceServiceCollectionExtensions
- Inheritance
-
HuggingFaceServiceCollectionExtensions
Methods
AddHuggingFaceChatCompletion(IServiceCollection, String, Uri, String, String, HttpClient) |
Adds an Hugging Face chat completion service with the specified configuration. |
AddHuggingFaceImageToText(IServiceCollection, String, Uri, String, String, HttpClient) |
Adds an Hugging Face image-to-text service with the specified configuration. |
AddHuggingFaceTextEmbeddingGeneration(IServiceCollection, String, Uri, String, String, HttpClient) |
Adds an Hugging Face text embedding generation service with the specified configuration. |
AddHuggingFaceTextGeneration(IServiceCollection, String, Uri, String, String, HttpClient) |
Adds an Hugging Face text generation service with the specified configuration. |