AI
Bases: DuploTenantResourceV3
Resource for creating tickets in the DuploCloud AI HelpDesk.
create_ticket
Create DuploCloud AI ticket.
Create a ticket in the DuploCloud AI HelpDesk.
Usage
Create DuploCloud AI helpdesk ticket
Run this command Create a ticket for a failed build pipeline in test environment.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
title
|
TITLE
|
Title of the ticket. |
required |
agent_name
|
AGENTNAME
|
The agent name. |
required |
instance_id
|
INSTANCEID
|
The agent instance ID. |
required |
content
|
MESSAGE
|
Content or message of the ticket. |
None
|
api_version
|
APIVERSION
|
Helpdesk API version. |
'v1'
|
Returns:
Name | Type | Description |
---|---|---|
ticket_response |
dict
|
A dictionary containing the following keys: |
send_message
Send DuploCloud AI Message.
Send a message to an existing ticket in the DuploCloud AI HelpDesk.
Send a message to an AI helpdesk ticket
Run this command to send a message to ai helpdesk ticket.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
ticket_id
|
TICKETID
|
Ticket ID to send the message to. |
required |
content
|
MESSAGE
|
The message content. |
required |
api_version
|
APIVERSION
|
Helpdesk API version. |
'v1'
|
Returns:
Name | Type | Description |
---|---|---|
chat_response |
dict
|
A dictionary containing the following keys: |