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
27 28 29 30 31 32 33 |
# File 'lib/legion/extensions/service_now/skills/request_fulfillment.rb', line 27 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
50 51 52 53 54 55 |
# File 'lib/legion/extensions/service_now/skills/request_fulfillment.rb', line 50 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
42 43 44 45 46 47 48 |
# File 'lib/legion/extensions/service_now/skills/request_fulfillment.rb', line 42 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
35 36 37 38 39 40 |
# File 'lib/legion/extensions/service_now/skills/request_fulfillment.rb', line 35 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
20 21 22 23 24 25 |
# File 'lib/legion/extensions/service_now/skills/request_fulfillment.rb', line 20 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 |