Arcana::AI::Embed::Provider
Inherits Arcana::AI::Traceable < Reference < Object
Instance methods
Embed texts in batches, aggregating results.
batch_embed_with_retry(request : Request, batch_size : Int32 = 100, max_retries : Int32 = 3) : Result
Combines batching and retry.
embed(request : Request) : Result
SourceEmbed, retrying rate limits, server errors and network errors the
way chat calls do (see RetryPolicy), including waiting as long as
the provider asks. The result records the retries.
name
Source