Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:ibsystem:ai:gpt-4 [2023/06/08 18:03] ibadminen:ibsystem:ai:gpt-4 [2023/06/13 14:01] (current) – [alerts.xml - configuration file] ibadmin
Line 1: Line 1:
 ====== OpenAI - GPT4 ====== ====== OpenAI - GPT4 ======
  
-This section contains a collection of prompts for generating configurations for the **IB-System**, using the GPT chat with the GPT-4 model from OpenAI with the **Web Pilot** or **Link Reader** plugin.+This section contains a collection of prompts for generating configurations for the **IB-System**, using the GPT chat with the GPT-4 model from OpenAI with the **WebPilot** or **Link Reader** plugin active.
  
 https://chat.openai.com/ https://chat.openai.com/
Line 67: Line 67:
 Include paths in a format suitable for the Linux system. Include paths in a format suitable for the Linux system.
 </code> </code>
 +
 +==== alerts.xml - configuration file====
 +
 +<code text propmpt.txt>
 +Based on
 +
 +https://ibsystem.org/wiki/doku.php?id=en:ibmanager:ibmanager-alerts&do=export_text
 +
 +generate an alert configuration file for the ibmanager program (ibalert.xml). The parameters for ibalert are s213c.ibsystem.org:33241, timeout 3000, SecureConnection=true
 +
 +use regular expressions when defining alerts.
 +
 +Alerts in which id starts with "critical." are critical alerts, for all logics, all instances, direct to all recipients.
 +Non-critical alerts do not start with "critical", for all ids, all logics, all instances, direct to all recipients.
 +
 +rules:
 +
 +critical alerts: every day at any time, every 1 min
 +non-critical alerts: daily from 9 to 20, every 24h
 +
 +recipients:
 +
 +John Smith, +48222222222, john81@example.com
 +Jane Doe, +48111111111, jane.doe@example.com
 +
 +Send critical alerts via SMS only to all recipients.
 +Send non-critical alerts via email only to John Smith.
 +
 +The last known element should be <Recipient>, if the plugin did not provide you with sufficient information, fill in the missing information and re-generate the code block with the xml file supplemented with the missing data. Do not wait for the next command, just generate the final xml file, with all elements.
 +</code>
 +