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). |
required |
content
|
MESSAGE
|
Content or message of the ticket(required). |
required |
agent_name
|
AGENTNAME
|
The agent name (required). |
required |
instance_id
|
INSTANCEID
|
The agent instance ID (required). |
required |
api_version
|
APIVERSION
|
Helpdesk API version (default: v1). |
required |
Returns:
Name | Type | Description |
---|---|---|
ticketname |
dict
|
AI helpdesk ticket name |
response |
dict
|
AI Agent reponse |
chat_url |
dict
|
Helpdesk Chat url. |
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). |
required |
content
|
MESSAGE
|
The message content (required). |
required |
api_version
|
APIVERSION
|
Helpdesk API version (default: v1). |
'v1'
|
Returns:
Name | Type | Description |
---|---|---|
response |
dict
|
AI Agent reponse |
chat_url |
dict
|
Helpdesk chat URL. |