Class: Ollama::Responses::Base

Inherits:
Ollama::Response show all
Defined in:
lib/ollama/responses/base.rb

Overview

Base class for all typed domain responses

Direct Known Subclasses

Chat, Embeddings, Generate

Method Summary

Methods inherited from Ollama::Response

#[], #content, #created_at, #done?, #done_reason, #eval_count, #eval_duration, #initialize, #latency_ms, #load_duration, #logprobs, #message, #method_missing, #model, #prompt_eval_count, #prompt_eval_duration, #respond_to_missing?, #to_h, #total_duration, #usage

Constructor Details

This class inherits a constructor from Ollama::Response

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Ollama::Response