AI
Commands
apply
Apply a AI
Create or Update a AI resource with Duplocloud cli.
Returns:
| Name | Type | Description |
|---|---|---|
message |
dict
|
Success message. |
Parameters:
--file, -f, --cli-input
--patches, --add, --remove, --copy, --replace, --test, --move
create
Create a AI resource.
Returns:
| Name | Type | Description |
|---|---|---|
message |
dict
|
Success message. |
Raises:
| Type | Description |
|---|---|
DuploError
|
If the resource could not be created. |
Parameters:
--file, -f, --cli-input
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.
Returns:
| Name | Type | Description |
|---|---|---|
ticket_response |
dict
|
A dictionary containing the following keys: ticketname : The name of the created AI helpdesk ticket. ai_response: The AI agent's response object or message content returned from the service. chat_url: The URL to the helpdesk chat interface for the created ticket. |
Parameters:
--title, --title
required
--agent_name, --agent_name, --agent
required
--instance_id, --instance_id, --instance
required
--message, --content, --msg, --message
--helpdesk_origin, --helpdesk-origin, --origin
--api_version, --api-version
delete
find
list
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.
Returns:
| Name | Type | Description |
|---|---|---|
chat_response |
dict
|
A dictionary containing the following keys: ai_response: The AI agent's response object or message content returned from the service. chat_url: The URL to the helpdesk chat interface for the specified ticket. |
Parameters:
--ticket_id, --ticket_id, --ticket
required
--message, --content, --msg, --message
--api_version, --api-version
update
Update a V3 resource by name.
Returns:
| Name | Type | Description |
|---|---|---|
message |
Success message. |
Raises:
| Type | Description |
|---|---|
DuploError
|
If the resource could not be created. |
Parameters:
name
positional
--file, -f, --cli-input
--patches, --add, --remove, --copy, --replace, --test, --move