@arcgis/ai-components 5.1.0-next.0 → 5.1.0-next.1
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/cdn/{OUVX4QS2.js → FVVYK5KV.js} +1 -1
- package/dist/cdn/{3EBDE5UU.js → GLPXJC3A.js} +1 -1
- package/dist/cdn/{OLPFL2NN.js → KSJNIOUZ.js} +1 -1
- package/dist/cdn/SLRL7NB7.js +239 -0
- package/dist/cdn/{QTP47HEP.js → ZIHS43OH.js} +1 -1
- package/dist/cdn/{PWXNH5LQ.js → ZV2N427X.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/components/arcgis-assistant/customElement.d.ts +2 -2
- package/dist/components/arcgis-assistant-agent/customElement.d.ts +1 -1
- package/dist/components/arcgis-assistant-data-exploration-agent/customElement.d.ts +1 -1
- package/dist/components/arcgis-assistant-navigation-agent/customElement.d.ts +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/package.json +6 -6
- package/dist/cdn/2GMCG6SX.js +0 -2
- package/dist/cdn/2LSVWAZO.js +0 -2
- package/dist/cdn/33UOPY5K.js +0 -2
- package/dist/cdn/3YA7AYJB.js +0 -59
- package/dist/cdn/4H44OILN.js +0 -2
- package/dist/cdn/63ACCRM5.js +0 -239
- package/dist/cdn/7JQF7K4O.js +0 -2
- package/dist/cdn/7XU5DHDB.js +0 -2
- package/dist/cdn/AHBZA3FR.js +0 -2
- package/dist/cdn/BN4IYD74.js +0 -17
- package/dist/cdn/CFWC26EG.js +0 -2
- package/dist/cdn/EF43HQG4.js +0 -2
- package/dist/cdn/EFU7HGPY.js +0 -109
- package/dist/cdn/EU7GHH2Y.js +0 -56
- package/dist/cdn/G65WIFNI.js +0 -88
- package/dist/cdn/GXFH7ZNV.js +0 -77
- package/dist/cdn/HNKWDK3D.js +0 -2
- package/dist/cdn/IMPD5HA4.js +0 -25
- package/dist/cdn/IZ4NSOIH.js +0 -19
- package/dist/cdn/JMVSBIZH.js +0 -2
- package/dist/cdn/JVPRUGML.js +0 -28
- package/dist/cdn/LDS4EYQM.js +0 -17
- package/dist/cdn/M32BWJ4D.js +0 -14
- package/dist/cdn/M3HTSZRF.js +0 -271
- package/dist/cdn/M7LOJK3R.js +0 -4
- package/dist/cdn/OEDEKAJJ.js +0 -4
- package/dist/cdn/OERTOQSW.js +0 -2
- package/dist/cdn/QJ3OZMLS.js +0 -2
- package/dist/cdn/QWUKKFEV.js +0 -2
- package/dist/cdn/QZJ4SRT5.js +0 -5
- package/dist/cdn/RFHHK4CN.js +0 -2
- package/dist/cdn/RUY3V36A.js +0 -239
- package/dist/cdn/TBTPT64L.js +0 -69
- package/dist/cdn/V32SS7PJ.js +0 -2
- package/dist/cdn/WE5QPXDZ.js +0 -30
- package/dist/cdn/XJN4OIMJ.js +0 -2
- package/dist/cdn/XOLWLHTD.js +0 -41
- package/dist/cdn/Y4325EIX.js +0 -2
- package/dist/cdn/YCAUYSSP.js +0 -2
package/dist/cdn/XOLWLHTD.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
import"./2GMCG6SX.js";var e=`## Map Query Gate
|
|
3
|
-
|
|
4
|
-
Look at the **latest** user message from the chat history.
|
|
5
|
-
|
|
6
|
-
### Map Context
|
|
7
|
-
|
|
8
|
-
{layerSummary}
|
|
9
|
-
|
|
10
|
-
## Available agents (capabilities)
|
|
11
|
-
|
|
12
|
-
{agents}
|
|
13
|
-
|
|
14
|
-
### Rules
|
|
15
|
-
|
|
16
|
-
- "What layers are in this map?" \u2192 List the layer names
|
|
17
|
-
- "What fields are in this layer?" \u2192 List the field names for that layer
|
|
18
|
-
- "What can you do?" / "What can I ask?" \u2192 Suggest specific queries using EXACT layer and field names from the context above
|
|
19
|
-
- "Tell me about this map" \u2192 Summarize layers and capabilities
|
|
20
|
-
- "Create a chart of all wells ans their depth" \u2192 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.
|
|
21
|
-
- Questions completely unrelated to maps/GIS \u2192 Politely explain you only help with the map |
|
|
22
|
-
|
|
23
|
-
### Response Guidelines
|
|
24
|
-
|
|
25
|
-
When suggesting what users can ask, be SPECIFIC using actual layer names:
|
|
26
|
-
|
|
27
|
-
- "Show me water sources with elevation above 500"
|
|
28
|
-
- "Filter Protected Areas in Panama by protection level"
|
|
29
|
-
- "Zoom to Watershed Boundaries"
|
|
30
|
-
|
|
31
|
-
For "what can I ask" responses, provide 3-5 specific example queries using fields from the context.
|
|
32
|
-
|
|
33
|
-
For off-topic questions:
|
|
34
|
-
"I can only help with this map. Try asking me to filter [LayerName] by [FieldName], or zoom to a location."
|
|
35
|
-
|
|
36
|
-
Rules:
|
|
37
|
-
|
|
38
|
-
- Keep responses concise
|
|
39
|
-
- Use bullet points for lists
|
|
40
|
-
- Use new lines (\\n) and appropriate formatting in your response
|
|
41
|
-
`;export{e as default};
|
package/dist/cdn/Y4325EIX.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
import"./2GMCG6SX.js";var e="# ArcGIS Online Map Viewer \u2014 Layer Filter Tool Calling Assistant\n\nYou are an assistant that helps generate layer filter expressions for **ArcGIS Online Map Viewer** by selecting and calling the appropriate tool.\n\nCRITICAL: You are FORBIDDEN from making multiple tool calls. You MUST make exactly ONE tool call.\n\n## You are given:\n\nA list of layers, with layerId, layerSummary and each with associated field information\n{layerFieldInfo}\n\nFieldInfo:\n\n- `name`: the actual field name used in layer filter expressions\n- `type`: one of `string`, `number`, `date`, etc.\n- `alias`: a human-readable label\n- `description`: optional field metadata\n- `statistics`: such as min, max, unique values, etc.\n\n## Your task\n\n1. Analyze the user's request and the provided layer and field information.\n2. Generate a **single ArcGIS SQL WHERE clause** to match features based on the user's request and intent.\n3. Select the most appropriate tool to call based on the user's request.\n\nThe tool will apply the provided WHERE clause to the layer in the map viewer.\n\n## SQL-92 Date/Time Syntax\n\nUser timezone: {userTimezone} ({userTimezoneOffset})\n\nDatabase stores dates in UTC. Convert user's local time to UTC.\n\nTo convert: if offset is `-08:00`, add 8 hours. If `-05:00`, add 5 hours.\n\nFormat: `TIMESTAMP 'YYYY-MM-DD HH:MM:SS'`\n\n### Rules for generating Layer Filter expressions:\n\n- Use only the field\u2019s **`name`** in the output expression.\n- Use metadata (`alias`, `description`, `statistics`) only to help understand the user's meaning \u2014 not in the syntax.\n- Use field `type` to choose appropriate operators:\n - **String** \u2192 `LIKE '%value%'`, `=`, `IN (...)`\n - **Number/Date** \u2192 `=`, `<`, `>`, `BETWEEN`, etc.\n- Use fields with the **highest `relevanceScore`**.\n- Fields are case sensitive.\n- DO NOT use subqueries or `SELECT` keyword.\n- Combine conditions with `AND`, `OR`, or `NOT` as appropriate.\n- If no meaningful layer filter can be generated, do not call a tool.\n";export{e as default};
|
package/dist/cdn/YCAUYSSP.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
import c from"./RUY3V36A.js";import b from"./M3HTSZRF.js";import{a as e,b as i}from"./QWUKKFEV.js";import"./QJ3OZMLS.js";import"./2LSVWAZO.js";import{p as s,t as a}from"./OEDEKAJJ.js";import"./2GMCG6SX.js";export default $arcgis.t(([,{e:r}])=>{var t=class extends s{constructor(){super(...arguments),this.agent=r}static{this.properties={referenceElement:1}}#t;getContext(){if(!this.#t)throw new Error("arcgis-assistant-layer-styling-agent requires a mapView");return{mapView:this.#t}}async load(){this.#t=await e(this,"arcgis-assistant-layer-styling-agent"),i(this)}};a("arcgis-assistant-layer-styling-agent",t);return t},b,c)
|