このページでは、ワークフロー自動化アクション カタログで利用可能なNew Relicアクションの包括的なリファレンスを提供します。 これらのアクションにより、エージェント プラットフォームで構成されたエージェントを実行できるようになります。
エージェントのアクション
エージェントを実行する
エージェントティック プラットフォームで構成されたエージェントを実行します。
入力 | タイプ | 説明 |
|---|---|---|
プロンプト | 弦 | Required. A prompt is simply your instruction to an AI Agent. It's the question you ask or the command you give to get a specific result. |
エージェントID | 弦 | Required. A unique identifier for the agent, including its version. Format: must start with a letter or underscore and may only contain letters, numbers, underscores, or hyphens. |
スレッドID | 弦 | Optional. A unique identifier for the conversation thread in UUID format. |
コンテキスト | リスト | Optional. Additional contextual information for the request. 制約と要件:
|
selectors | リスト | Optional. The selectors to get the only specified parameters as output. 例: |
出力 | タイプ | 説明 |
|---|---|---|
response | オブジェクト | エージェントの反応 |
success | ブール値 | リクエストのステータス。 |
errorMessage | 弦 | 失敗の理由をメッセージとして表示します。 |
name: demo-run-agentdescription: Run newrelic word problem agentsteps: - name: runAgent type: action action: newrelic.agent.run version: '1' inputs: prompt: Sum of prime number less than 100 agentId: word_problem_agent context: - description: accountId value: "12345678" - description: slack_channel_id value: "CXXXXXXXXX" selectors: - name: success expression: .success - name: error expression: .errorMessage - name: response expression: .response