Class: LLM::Response::Embedding
Instance Method Summary
collapse
#body, #initialize
Constructor Details
This class inherits a constructor from LLM::Response
Instance Method Details
#model ⇒ Object
5
6
7
|
# File 'lib/llm/response/embedding.rb', line 5
def model
parsed[:model]
end
|
#embeddings ⇒ Object
9
10
11
|
# File 'lib/llm/response/embedding.rb', line 9
def embeddings
parsed[:embeddings]
end
|
#total_tokens ⇒ Object
13
14
15
|
# File 'lib/llm/response/embedding.rb', line 13
def total_tokens
parsed[:total_tokens]
end
|