Class: Rasti::AI::Gemini::Assistant

Inherits:
Assistant
  • Object
show all
Defined in:
lib/rasti/ai/gemini/assistant.rb

Constant Summary collapse

ALLOWED_SCHEMA_FIELDS =
%w[type description properties required enum items format nullable anyOf].freeze
THINKING_LEVELS =
{
  'low'    => {thinking_budget: 1_024}.freeze,
  'medium' => {thinking_budget: 8_192}.freeze,
  'high'   => {thinking_budget: 24_576}.freeze
}.freeze

Constants inherited from Assistant

Assistant::VALID_THINKING_LEVELS

Instance Attribute Summary

Attributes inherited from Assistant

#model, #state, #thinking

Method Summary

Methods inherited from Assistant

#call, #initialize

Constructor Details

This class inherits a constructor from Rasti::AI::Assistant