Documentation
Table of Contents

Method EmbedAsync

Namespace
IntentSharp.Providers
Assembly
IntentSharp.dll

EmbedAsync(string, CancellationToken)

Returns the embedding vector of text from EmbeddingModel.

public override Task<float[]> EmbedAsync(string text, CancellationToken cancellationToken = default)

Parameters

text string
cancellationToken CancellationToken

Returns

Task<float[]>