Module: Ollama::Schemas

Defined in:
lib/ollama/schemas/tool_intent.rb

Overview

JSON schemas and schema helper methods.

Constant Summary collapse

TOOL_INTENT_PATH =
File.join(__dir__, "tool_intent.json")
TOOL_INTENT =
JSON.parse(File.read(TOOL_INTENT_PATH))

Class Method Summary collapse

Class Method Details

.tool_intentObject



12
13
14
# File 'lib/ollama/schemas/tool_intent.rb', line 12

def self.tool_intent
  TOOL_INTENT
end