@arcgis/ai-agents 5.1.0-next.37 → 5.1.0-next.38
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.
- package/dist/agents/help/nodes/helpToolCalling.d.ts +3 -0
- package/dist/agents/help/tools/index.d.ts +11 -0
- package/dist/agents/help/tools/listFields/adapter.d.ts +12 -0
- package/dist/agents/help/tools/listFields/core.d.ts +2 -0
- package/dist/agents/help/tools/listFields/index.d.ts +1 -0
- package/dist/{help_prompt-wgcBcna5.js → help_prompt-9_7NHCT0.js} +1 -1
- package/dist/index.js +1135 -1112
- package/package.json +2 -2
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const helpTools: import('@langchain/core/tools').DynamicStructuredTool<import('zod').ZodObject<{
|
|
2
|
+
layerTitle: import('zod').ZodString;
|
|
3
|
+
}, "strip", import('zod').ZodTypeAny, {
|
|
4
|
+
layerTitle: string;
|
|
5
|
+
}, {
|
|
6
|
+
layerTitle: string;
|
|
7
|
+
}>, {
|
|
8
|
+
layerTitle: string;
|
|
9
|
+
}, {
|
|
10
|
+
layerTitle: string;
|
|
11
|
+
}, string, "listLayerFields">[];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as z } from 'zod';
|
|
2
|
+
export declare const listLayerFieldsTool: import('@langchain/core/tools').DynamicStructuredTool<z.ZodObject<{
|
|
3
|
+
layerTitle: z.ZodString;
|
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
|
5
|
+
layerTitle: string;
|
|
6
|
+
}, {
|
|
7
|
+
layerTitle: string;
|
|
8
|
+
}>, {
|
|
9
|
+
layerTitle: string;
|
|
10
|
+
}, {
|
|
11
|
+
layerTitle: string;
|
|
12
|
+
}, string, "listLayerFields">;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './adapter';
|
|
@@ -13,7 +13,7 @@ Look at the **latest** user message from the chat history.
|
|
|
13
13
|
### Rules
|
|
14
14
|
|
|
15
15
|
- "What layers are in this map?" → List the layer names
|
|
16
|
-
- "What fields are in this layer?" →
|
|
16
|
+
- "What fields are in this layer?" → Call the tool to list the field names for that layer
|
|
17
17
|
- "What can you do?" / "What can I ask?" → Suggest specific queries using EXACT layer and field names from the context above
|
|
18
18
|
- "Tell me about this map" → Summarize layers and capabilities
|
|
19
19
|
- "Create a chart of all wells ans their depth" → If a question is map related but not supported by available capabilities, say so. Add that support for this might be added in the future.
|