InferenceClientHostExtensions 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.
Extension methods to add InferenceClient to an IHostApplicationBuilder.
public static class InferenceClientHostExtensions
type InferenceClientHostExtensions = class
Public Module InferenceClientHostExtensions
- Inheritance
-
InferenceClientHostExtensions
Methods
| Name | Description |
|---|---|
| AddInferenceClient(IHostApplicationBuilder, String, Action<InferenceClientSettings>) |
Adds a singleton InferenceClient to the IHostApplicationBuilder's service collection. |
| AddInferenceClient(IHostApplicationBuilder, String) |
Adds a singleton InferenceClient to the IHostApplicationBuilder's service collection. |
| AddKeyedInferenceClient(IHostApplicationBuilder, String, String, Action<InferenceClientSettings>) |
Adds a keyed singleton InferenceClient to the IHostApplicationBuilder's service collection. |
| AddKeyedInferenceClient(IHostApplicationBuilder, String, String) |
Adds a keyed singleton InferenceClient to the IHostApplicationBuilder's service collection. |