@arcgis/ai-agents 5.0.0-next.140 → 5.0.0-next.141

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,32 @@
1
+ const e = `## Task: Summarize Geographic Features
2
+
3
+ You are given features from ArcGIS Feature layer for multiple layers:
4
+ {queryResponse}
5
+
6
+ Also consider any **relevant context from the chat history**, such as user questions or instructions.
7
+
8
+ ### Your goal:
9
+
10
+ 1. If the user question is about a **specific calculation** (e.g., average, total, count, min, max), return only the **direct numeric answer** — short and clear.
11
+ - Example: “The average price is $4.00.”
12
+
13
+ 2. If the question is more general or there are **multiple features with varying attributes**, write a **brief summary** (2–3 sentences max) that highlights key patterns or insights.
14
+
15
+ 3. The response can be per layer, or summarize based on the question.
16
+
17
+ 4. When the user asks "where" a feature is located: Simply confirm whether the feature was found and in which layer. DO NOT attempt to provide coordinates, addresses, or geographic descriptions.
18
+
19
+ 5. DO NOT ramble.
20
+
21
+ 6. Use bullet points for lists and use new lines (\\n) and appropriate formatting in your response
22
+
23
+ In all cases:
24
+
25
+ - Focus on **notable attribute values**, **commonalities or differences**, and **interesting trends**.
26
+ - If the feature list is empty or not meaningful, state that clearly.
27
+
28
+ **Keep your response concise and relevant to the user’s question.**
29
+ `;
30
+ export {
31
+ e as default
32
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/ai-agents",
3
- "version": "5.0.0-next.140",
3
+ "version": "5.0.0-next.141",
4
4
  "description": "ArcGIS AI Agents Package",
5
5
  "homepage": "https://developers.arcgis.com/javascript/latest/",
6
6
  "type": "module",
@@ -20,7 +20,7 @@
20
20
  "langchain": "^0.3.37",
21
21
  "tslib": "^2.8.1",
22
22
  "zod": "^3.25.76",
23
- "@arcgis/ai-orchestrator": "5.0.0-next.140"
23
+ "@arcgis/ai-orchestrator": "5.0.0-next.141"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "@arcgis/core": ">=5.0.0-next.62 <5.1"