2024-09-24 13:54:17 -07:00
|
|
|
version: "0.1-beta"
|
|
|
|
|
listen:
|
|
|
|
|
address: 127.0.0.1 | 0.0.0.0
|
|
|
|
|
port_value: 8080 #If you configure port 443, you'll need to update the listener with tls_certificates
|
|
|
|
|
|
2024-10-06 16:54:34 -07:00
|
|
|
system_prompt: |
|
|
|
|
|
You are a network assistant that just offers facts; not advice on manufacturers or purchasing decisions.
|
2024-09-30 14:54:01 -07:00
|
|
|
|
|
|
|
|
llm_providers:
|
2024-10-06 16:54:34 -07:00
|
|
|
- name: "OpenAI"
|
|
|
|
|
provider: "openai"
|
|
|
|
|
access_key: OPENAI_API_KEY
|
|
|
|
|
model: gpt-4o
|
|
|
|
|
stream: true
|
2024-09-24 13:54:17 -07:00
|
|
|
|
|
|
|
|
prompt_targets:
|
|
|
|
|
- name: reboot_devices
|
|
|
|
|
description: >
|
2024-09-30 14:54:01 -07:00
|
|
|
This prompt target handles user requests to reboot devices.
|
2024-09-24 13:54:17 -07:00
|
|
|
It ensures that when users request to reboot specific devices or device groups, the system processes the reboot commands accurately.
|
|
|
|
|
|
|
|
|
|
**Examples of user prompts:**
|
|
|
|
|
|
|
|
|
|
- "Please reboot device 12345."
|
2024-09-30 14:54:01 -07:00
|
|
|
- "Restart all devices in tenant group tenant-XYZ
|
2024-09-24 13:54:17 -07:00
|
|
|
- "I need to reboot devices A, B, and C."
|
|
|
|
|
|
|
|
|
|
path: /agent/device_reboot
|
|
|
|
|
parameters:
|
|
|
|
|
- name: "device_ids"
|
|
|
|
|
type: list # Options: integer | float | list | dictionary | set
|
|
|
|
|
description: "A list of device identifiers (IDs) to reboot."
|
|
|
|
|
required: false
|
|
|
|
|
- name: "device_group"
|
|
|
|
|
type: string # Options: string | integer | float | list | dictionary | set
|
|
|
|
|
description: "The name of the device group to reboot."
|
|
|
|
|
required: false
|
|
|
|
|
|
2024-10-06 16:54:34 -07:00
|
|
|
# Arch creates a round-robin load balancing between different endpoints, managed via the cluster subsystem.
|
|
|
|
|
endpoints:
|
|
|
|
|
app_server:
|
|
|
|
|
# value could be ip address or a hostname with port
|
|
|
|
|
# this could also be a list of endpoints for load balancing for example endpoint: [ ip1:port, ip2:port ]
|
|
|
|
|
endpoint: "127.0.0.1:80"
|
|
|
|
|
# max time to wait for a connection to be established
|
|
|
|
|
connect_timeout: 0.005s
|
|
|
|
|
version: "0.1-beta"
|