Method EmbedAsync
- Namespace
- IntentSharp.Providers
- Assembly
- IntentSharp.dll
EmbedAsync(string, CancellationToken)
Always throws: Anthropic has no embeddings endpoint. Use another provider, such as OpenAI, for embeddings.
public override Task<float[]> EmbedAsync(string text, CancellationToken cancellationToken = default)
Parameters
textstringcancellationTokenCancellationToken
Returns
- Task<float[]>
Exceptions
- NotSupportedException
Always.