Module: RCrewAI::HumanInteractionExtensions
Overview
Extensions for agents and tasks to support human input
Instance Method Summary collapse
- #confirm_with_human(action, **options) ⇒ Object
- #get_human_feedback(prompt, **options) ⇒ Object
- #request_human_approval(message, **options) ⇒ Object
- #request_human_choice(prompt, choices, **options) ⇒ Object
- #request_human_input(prompt, **options) ⇒ Object
- #request_human_review(content, **options) ⇒ Object
Instance Method Details
#confirm_with_human(action, **options) ⇒ Object
493 494 495 |
# File 'lib/rcrewai/human_input.rb', line 493 def confirm_with_human(action, **) human_input_client.confirm_action(action, **) end |
#get_human_feedback(prompt, **options) ⇒ Object
497 498 499 |
# File 'lib/rcrewai/human_input.rb', line 497 def get_human_feedback(prompt, **) human_input_client.get_feedback(prompt, **) end |
#request_human_approval(message, **options) ⇒ Object
477 478 479 |
# File 'lib/rcrewai/human_input.rb', line 477 def request_human_approval(, **) human_input_client.request_approval(, **) end |
#request_human_choice(prompt, choices, **options) ⇒ Object
485 486 487 |
# File 'lib/rcrewai/human_input.rb', line 485 def request_human_choice(prompt, choices, **) human_input_client.request_choice(prompt, choices, **) end |
#request_human_input(prompt, **options) ⇒ Object
481 482 483 |
# File 'lib/rcrewai/human_input.rb', line 481 def request_human_input(prompt, **) human_input_client.request_input(prompt, **) end |
#request_human_review(content, **options) ⇒ Object
489 490 491 |
# File 'lib/rcrewai/human_input.rb', line 489 def request_human_review(content, **) human_input_client.request_review(content, **) end |