struct Memo::Providers::EmbedResult

Overview

Result from batch embedding operation

Defined in:

memo/providers/base.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(embeddings : Array(Array(Float64)), token_counts : Array(Int32), total_tokens : Int32) #

[View source]

Instance Method Detail

def embeddings : Array(Array(Float64)) #

[View source]
def token_counts : Array(Int32) #

[View source]
def total_tokens : Int32 #

[View source]