Class: RbsGoose::TypeInferrer

Inherits:
Object
  • Object
show all
Defined in:
lib/rbs_goose/type_inferrer.rb

Instance Method Summary collapse

Instance Method Details

#fix_error(target_group) ⇒ Object



15
16
17
18
# File 'lib/rbs_goose/type_inferrer.rb', line 15

def fix_error(target_group)
  error_messages = steep_check
  call_llm(RbsGoose.fix_error_template, { typed_ruby_list: target_group, error_messages: })
end

#infer(target_group) ⇒ Object



11
12
13
# File 'lib/rbs_goose/type_inferrer.rb', line 11

def infer(target_group)
  call_llm(RbsGoose.infer_template, { typed_ruby_list: target_group })
end