このページでは、ワークフロー自動化アクションカタログで利用可能なRun Autopilotアクション(newrelic.autopilot.run)のリファレンスを提供します。
Autopilotを実行
New Relic Autopilotを実行します — アラートを分析し、潜在的な根本原因を調査し、修復アクションを提案するAIエージェントです。ワークフローエディタのアクションカタログからRun Autopilotを選択します — エージェントIDを指定する必要はありません。
入力 | タイプ | 説明 |
|---|---|---|
プロンプト | 弦 | Required. A prompt is your instruction to an AI Agent. It's the question you ask or the command you give to get a specific result. |
スレッドID | 弦 | Optional. A unique identifier for the conversation thread in UUID format. |
コンテキスト | リスト | Optional. Additional contextual information for the request. このフィールドには次の制限があります。
|
selectors | リスト | オプション。指定されたパラメーターのみを出力として取得するためのセレクター。 例: |
出力 | タイプ | 説明 |
|---|---|---|
response | オブジェクト | エージェントの応答。 |
success | ブール値 | リクエストのステータス。 |
errorMessage | 弦 | 失敗の理由をメッセージとして表示します。 |
name: demo-run-autopilotdescription: Run Autopilot to analyze an issuesteps: - name: runAutopilot type: action action: newrelic.autopilot.run version: '1' inputs: prompt: Summarize recent alert activity for my account context: - description: accountId value: "12345678" - description: slack_channel_id value: "CXXXXXXXXX" selectors: - name: success expression: .success - name: error expression: .errorMessage - name: response expression: .response