Class: LLM::Response::Embedding
- Inherits:
-
LLM::Response
- Object
- LLM::Response
- LLM::Response::Embedding
- Defined in:
- lib/llm/response/embedding.rb
Instance Method Summary collapse
Methods inherited from LLM::Response
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 parsed[:embeddings] end |
#total_tokens ⇒ Object
13 14 15 |
# File 'lib/llm/response/embedding.rb', line 13 def total_tokens parsed[:total_tokens] end |