Class: Rasti::AI::Anthropic::Assistant

Inherits:
Rasti::AI::Assistant show all
Defined in:
lib/rasti/ai/anthropic/assistant.rb

Constant Summary collapse

ALLOWED_SCHEMA_FIELDS =
%w[type description properties required enum items format nullable anyOf].freeze
THINKING_LEVELS =
{
  'low'    => {type: 'enabled', budget_tokens: 1_024}.freeze,
  'medium' => {type: 'enabled', budget_tokens: 8_000}.freeze,
  'high'   => {type: 'enabled', budget_tokens: 16_000}.freeze
}.freeze

Constants inherited from Rasti::AI::Assistant

Rasti::AI::Assistant::VALID_THINKING_LEVELS

Instance Attribute Summary

Attributes inherited from Rasti::AI::Assistant

#model, #state, #thinking

Method Summary

Methods inherited from Rasti::AI::Assistant

#call, #initialize

Constructor Details

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