IEmbeddingGenerator<TInput,TEmbedding>.GetService<TService> Method

Definition

public TService? GetService<TService> (object? key = default) where TService : class;
abstract member GetService : obj -> 'Service (requires 'Service : null)
Public Function GetService(Of TService As Class) (Optional key As Object = Nothing) As TService

Type Parameters

TService

Parameters

key
Object

Returns

TService

Applies to