Class: Legion::Extensions::ServiceNow::Skills::RequestFulfillment
- Inherits:
-
LLM::Skills::Base
- Object
- LLM::Skills::Base
- Legion::Extensions::ServiceNow::Skills::RequestFulfillment
- Defined in:
- lib/legion/extensions/service_now/skills/request_fulfillment.rb
Instance Method Summary collapse
-
#assign_fulfiller(context: {}) ⇒ Object
rubocop:disable Lint/UnusedMethodArgument.
-
#complete(context: {}) ⇒ Object
rubocop:disable Lint/UnusedMethodArgument.
-
#confirm_completion(context: {}) ⇒ Object
rubocop:disable Lint/UnusedMethodArgument.
-
#fulfill_request(context: {}) ⇒ Object
rubocop:disable Lint/UnusedMethodArgument.
-
#review_request(context: {}) ⇒ Object
rubocop:disable Lint/UnusedMethodArgument.
Instance Method Details
#assign_fulfiller(context: {}) ⇒ Object
rubocop:disable Lint/UnusedMethodArgument
21 22 23 24 25 26 27 |
# File 'lib/legion/extensions/service_now/skills/request_fulfillment.rb', line 21 def assign_fulfiller(context: {}) # rubocop:disable Lint/UnusedMethodArgument Legion::LLM::Skills::StepResult.new( inject: 'Assigning request to appropriate fulfillment group.', metadata: { step: 'assign_fulfiller' }, gate: :confirm ) end |
#complete(context: {}) ⇒ Object
rubocop:disable Lint/UnusedMethodArgument
44 45 46 47 48 49 |
# File 'lib/legion/extensions/service_now/skills/request_fulfillment.rb', line 44 def complete(context: {}) # rubocop:disable Lint/UnusedMethodArgument Legion::LLM::Skills::StepResult.new( inject: 'Request fulfillment workflow complete.', metadata: { step: 'complete' } ) end |
#confirm_completion(context: {}) ⇒ Object
rubocop:disable Lint/UnusedMethodArgument
36 37 38 39 40 41 42 |
# File 'lib/legion/extensions/service_now/skills/request_fulfillment.rb', line 36 def confirm_completion(context: {}) # rubocop:disable Lint/UnusedMethodArgument Legion::LLM::Skills::StepResult.new( inject: 'Confirming completion with requester.', metadata: { step: 'confirm_completion' }, gate: :confirm ) end |
#fulfill_request(context: {}) ⇒ Object
rubocop:disable Lint/UnusedMethodArgument
29 30 31 32 33 34 |
# File 'lib/legion/extensions/service_now/skills/request_fulfillment.rb', line 29 def fulfill_request(context: {}) # rubocop:disable Lint/UnusedMethodArgument Legion::LLM::Skills::StepResult.new( inject: 'Fulfilling the request and updating work notes.', metadata: { step: 'fulfill_request' } ) end |
#review_request(context: {}) ⇒ Object
rubocop:disable Lint/UnusedMethodArgument
14 15 16 17 18 19 |
# File 'lib/legion/extensions/service_now/skills/request_fulfillment.rb', line 14 def review_request(context: {}) # rubocop:disable Lint/UnusedMethodArgument Legion::LLM::Skills::StepResult.new( inject: 'Reviewing service request details and variables.', metadata: { step: 'review_request' } ) end |