ITextEmbeddingGenerationService Interface   
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.
Represents a generator of text embeddings of type float.
public interface ITextEmbeddingGenerationService : Microsoft.SemanticKernel.Embeddings.IEmbeddingGenerationService<string,float>
	type ITextEmbeddingGenerationService = interface
    interface IEmbeddingGenerationService<string, single>
    interface IAIService
	Public Interface ITextEmbeddingGenerationService
Implements IEmbeddingGenerationService(Of String, Single)
	- Derived
 
- Implements
 
Properties
| Attributes | 
		 Gets the AI service attributes. (Inherited from IAIService) | 
        	
Methods
| GenerateEmbeddingsAsync(IList<TValue>, Kernel, CancellationToken) | 
		 Generates an embedding from the given   | 
        	
Extension Methods
| AsEmbeddingGenerator<TValue,TEmbedding>(IEmbeddingGenerationService<TValue,TEmbedding>) | 
		 Creates an IEmbeddingGenerator<TInput,TEmbedding> for the specified IEmbeddingGenerationService<TValue,TEmbedding>.  | 
        	
| GenerateEmbeddingAsync<TValue,TEmbedding>(IEmbeddingGenerationService<TValue,TEmbedding>, TValue, Kernel, CancellationToken) | 
		 Generates an embedding from the given   | 
        	
| GetDimensions<TValue,TEmbedding>(IEmbeddingGenerationService<TValue,TEmbedding>) | 
		 Gets the dimensions from   | 
        	
| GetApiVersion(IAIService) | 
		 Gets the API version from   | 
        	
| GetEndpoint(IAIService) | 
		 Gets the endpoint from   | 
        	
| GetModelId(IAIService) | 
		 Gets the model identifier from   |