Method: DSPy::LM::Response#to_h

Defined in:
lib/dspy/lm/response.rb

#to_hObject



19
20
21
22
23
24
25
# File 'lib/dspy/lm/response.rb', line 19

def to_h
  {
    content: content,
    usage: usage,
    metadata: 
  }
end