Module: LLM::OpenAI::Response::Responds

Defined in:
lib/llm/providers/openai/response/responds.rb

Instance Method Summary collapse

Instance Method Details

#outputsObject



5
# File 'lib/llm/providers/openai/response/responds.rb', line 5

def outputs = [format_message]

#choicesObject



6
# File 'lib/llm/providers/openai/response/responds.rb', line 6

def choices = body.output

#toolsObject



7
# File 'lib/llm/providers/openai/response/responds.rb', line 7

def tools = output.select { _1.type == "function_call" }