Table of Contents

Interface ITextEmbeddingService

Namespace
AutoGen.Ollama
Assembly
AutoGen.Ollama.dll
public interface ITextEmbeddingService

Methods

GenerateAsync(TextEmbeddingsRequest, CancellationToken)

Task<TextEmbeddingsResponse> GenerateAsync(TextEmbeddingsRequest request, CancellationToken cancellationToken)

Parameters

request TextEmbeddingsRequest
cancellationToken CancellationToken

Returns

Task<TextEmbeddingsResponse>