SYMBOL INDEX (185 symbols across 27 files) FILE: lib/raix.rb type Raix (line 7) | module Raix function configuration (line 13) | def self.configuration function configure (line 18) | def self.configure FILE: lib/raix/chat_completion.rb type Raix (line 9) | module Raix class UndeclaredToolError (line 10) | class UndeclaredToolError < StandardError; end type ChatCompletion (line 38) | module ChatCompletion function configuration (line 48) | def configuration function configure (line 53) | def configure function configuration (line 59) | def configuration function chat_completion (line 74) | def chat_completion(params: {}, loop: false, json: false, raw: false... function transcript (line 271) | def transcript function ruby_llm_chat (line 276) | def ruby_llm_chat function dispatch_tool_function (line 298) | def dispatch_tool_function(function_name, arguments, cache: nil) function filtered_tools (line 304) | def filtered_tools(tool_names) function run_before_completion_hooks (line 316) | def run_before_completion_hooks(params, messages) function ruby_llm_request (line 341) | def ruby_llm_request(params:, model:, messages:, openai_override: nil) function determine_provider (line 425) | def determine_provider(model, openai_override) FILE: lib/raix/completion_context.rb type Raix (line 3) | module Raix class CompletionContext (line 7) | class CompletionContext method initialize (line 10) | def initialize(chat_completion:, messages:, params:) method transcript (line 17) | def transcript method current_model (line 22) | def current_model method chat_completion_class (line 27) | def chat_completion_class method configuration (line 32) | def configuration FILE: lib/raix/configuration.rb type Raix (line 3) | module Raix class Configuration (line 5) | class Configuration method attr_accessor_with_fallback (line 6) | def self.attr_accessor_with_fallback(method_name) method initialize (line 58) | def initialize(fallback: nil) method client? (line 68) | def client? method ruby_llm_configured? (line 73) | def ruby_llm_configured? method get_with_fallback (line 82) | def get_with_fallback(method) FILE: lib/raix/function_dispatch.rb type Raix (line 4) | module Raix type FunctionDispatch (line 23) | module FunctionDispatch function function (line 46) | def function(name, description = nil, **parameters, &block) function chat_completion (line 114) | def chat_completion(**chat_completion_args) function stop_tool_calls_and_respond! (line 122) | def stop_tool_calls_and_respond! function tools (line 126) | def tools FILE: lib/raix/function_tool_adapter.rb type Raix (line 3) | module Raix class FunctionToolAdapter (line 5) | class FunctionToolAdapter method create_tool_from_function (line 6) | def self.create_tool_from_function(function_def, instance) method convert_tools_for_ruby_llm (line 42) | def self.convert_tools_for_ruby_llm(raix_instance) FILE: lib/raix/mcp.rb type Raix (line 19) | module Raix type MCP (line 26) | module MCP class ProtocolError (line 30) | class ProtocolError < StandardError; end function sse_mcp (line 41) | def sse_mcp(url, headers: {}, only: nil, except: nil) function stdio_mcp (line 54) | def stdio_mcp(*args, env: {}, only: nil, except: nil) function mcp (line 70) | def mcp(client:, only: nil, except: nil) function coerce_arguments (line 168) | def coerce_arguments(arguments, schema) function coerce_value (line 193) | def coerce_value(value, schema) FILE: lib/raix/mcp/sse_client.rb type Raix (line 7) | module Raix type MCP (line 8) | module MCP class SseClient (line 10) | class SseClient method initialize (line 18) | def initialize(url, headers: {}) method tools (line 32) | def tools method call_tool (line 47) | def call_tool(name, **arguments) method close (line 80) | def close method unique_key (line 86) | def unique_key method establish_sse_connection (line 94) | def establish_sse_connection method process_sse_buffer (line 138) | def process_sse_buffer method handle_message_event (line 154) | def handle_message_event(event_data) method initialize_mcp_session (line 174) | def initialize_mcp_session method send_json_rpc (line 198) | def send_json_rpc(id, method, params) method send_notification (line 220) | def send_notification(method, params) method wait_for_response (line 240) | def wait_for_response(request_id) method parse_sse_fields (line 269) | def parse_sse_fields(event_text) method build_absolute_url (line 286) | def build_absolute_url(base, candidate) FILE: lib/raix/mcp/stdio_client.rb type Raix (line 5) | module Raix type MCP (line 6) | module MCP class StdioClient (line 8) | class StdioClient method initialize (line 10) | def initialize(*args, env) method tools (line 16) | def tools method call_tool (line 26) | def call_tool(name, **arguments) method close (line 55) | def close method unique_key (line 59) | def unique_key method call (line 67) | def call(method, **params) FILE: lib/raix/mcp/tool.rb type Raix (line 1) | module Raix type MCP (line 2) | module MCP class Tool (line 11) | class Tool method initialize (line 19) | def initialize(name:, description:, input_schema: {}) method from_json (line 29) | def self.from_json(json) method input_type (line 40) | def input_type method properties (line 47) | def properties method required_properties (line 54) | def required_properties method required? (line 62) | def required?(property_name) FILE: lib/raix/message_adapters/base.rb type Raix (line 5) | module Raix type MessageAdapters (line 6) | module MessageAdapters class Base (line 8) | class Base method initialize (line 13) | def initialize(context) method transform (line 17) | def transform(message) method content (line 31) | def content(message) FILE: lib/raix/predicate.rb type Raix (line 3) | module Raix type Predicate (line 28) | module Predicate function ask (line 32) | def ask(question, openai: false) type ClassMethods (line 52) | module ClassMethods function yes? (line 55) | def yes?(&block) function no? (line 59) | def no?(&block) function maybe? (line 63) | def maybe?(&block) FILE: lib/raix/prompt_declarations.rb type Raix (line 8) | module Raix type PromptDeclarations (line 12) | module PromptDeclarations type ClassMethods (line 15) | module ClassMethods # rubocop:disable Style/Documentation function prompt (line 25) | def prompt(system: nil, call: nil, text: nil, stream: nil, success... function prompts (line 37) | def prompts function chat_completion (line 66) | def chat_completion(prompt = nil, params: {}, raw: false, openai: fa... function execute_ai_request (line 125) | def execute_ai_request(params:, raw:, openai:, transcript:, loop_cou... function model (line 141) | def model function temperature (line 148) | def temperature function max_tokens (line 155) | def max_tokens function chat_completion_from_superclass (line 162) | def chat_completion_from_superclass(*, **kargs) FILE: lib/raix/response_format.rb type Raix (line 6) | module Raix class ResponseFormat (line 21) | class ResponseFormat method initialize (line 22) | def initialize(name, input) method to_json (line 27) | def to_json(*) method to_schema (line 31) | def to_schema method decode (line 49) | def decode(input) FILE: lib/raix/transcript_adapter.rb type Raix (line 3) | module Raix class TranscriptAdapter (line 5) | class TranscriptAdapter method initialize (line 8) | def initialize(ruby_llm_chat) method << (line 14) | def <<(message_hash) method flatten (line 26) | def flatten method to_a (line 33) | def to_a method compact (line 38) | def compact method clear (line 43) | def clear method last (line 50) | def last method size (line 55) | def size method add_message_from_hash (line 63) | def add_message_from_hash(hash) method message_to_raix_format (line 82) | def message_to_raix_format(message) method normalize_message_format (line 99) | def normalize_message_format(msg) FILE: lib/raix/version.rb type Raix (line 3) | module Raix FILE: spec/raix/before_completion_spec.rb function mock_response (line 5) | def mock_response(content = "test response") function initialize (line 35) | def initialize function initialize (line 76) | def initialize function initialize (line 100) | def initialize function initialize (line 133) | def initialize function initialize (line 172) | def initialize function initialize (line 228) | def initialize function initialize (line 253) | def initialize function initialize (line 278) | def initialize function call (line 287) | def call(_context) function initialize (line 313) | def initialize function initialize (line 371) | def initialize function initialize (line 453) | def initialize FILE: spec/raix/chat_completion_spec.rb class MeaningOfLife (line 3) | class MeaningOfLife method initialize (line 6) | def initialize class TestClassLevelConfiguration (line 13) | class TestClassLevelConfiguration method initialize (line 20) | def initialize FILE: spec/raix/completion_context_spec.rb function initialize (line 8) | def initialize FILE: spec/raix/function_dispatch_spec.rb class WhatIsTheWeather (line 3) | class WhatIsTheWeather method non_exposed_method (line 12) | def non_exposed_method(...) method initialize (line 16) | def initialize class MultipleToolCalls (line 22) | class MultipleToolCalls method initialize (line 30) | def initialize(callback) class SearchForFile (line 35) | class SearchForFile function decorate_clients_with_fake_middleman! (line 93) | def decorate_clients_with_fake_middleman! FILE: spec/raix/mcp/sse_spec.rb function initialize (line 24) | def initialize function functions (line 28) | def self.functions FILE: spec/raix/mcp_spec.rb function name (line 11) | def self.name function initialize (line 338) | def initialize function name (line 342) | def self.name function chat_completion_args (line 346) | def chat_completion_args function loop (line 350) | def loop FILE: spec/raix/nil_content_spec.rb function nil_content_response (line 9) | def nil_content_response(tool_calls: nil) function tool_call_response (line 29) | def tool_call_response function initialize (line 63) | def initialize function initialize (line 95) | def initialize function initialize (line 141) | def initialize FILE: spec/raix/predicate_spec.rb class Question (line 5) | class Question method initialize (line 20) | def initialize(callback) class QuestionWithNoBlocks (line 25) | class QuestionWithNoBlocks FILE: spec/raix/prompt_caching_spec.rb class GettingRealAnthropic (line 3) | class GettingRealAnthropic method initialize (line 6) | def initialize FILE: spec/raix/prompt_declarations_spec.rb class TestCallablePrompt (line 5) | class TestCallablePrompt method initialize (line 8) | def initialize(context) method call (line 12) | def call(input = nil) class TestPromptDeclarations (line 17) | class TestPromptDeclarations class TestTextPromptDeclarations (line 24) | class TestTextPromptDeclarations class TestMixedPromptDeclarations (line 31) | class TestMixedPromptDeclarations FILE: spec/support/mcp_server.rb class TestMCPServer (line 7) | class TestMCPServer method initialize (line 10) | def initialize method run (line 15) | def run method create_response (line 34) | def create_response(id:, result: nil, error: nil) method create_error_response (line 43) | def create_error_response(id, code, message) method handle_request (line 47) | def handle_request(request) method handle_tools_list (line 62) | def handle_tools_list(id) method handle_tools_call (line 69) | def handle_tools_call(id, params) method build_tools (line 86) | def build_tools