@arcgis/ai-components 5.1.0-next.98 → 5.1.0-next.99
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/4QVKWA2Z.js +24 -0
- package/dist/cdn/{4CPZZBYD.js → 5L7OZ37N.js} +1 -1
- package/dist/cdn/{Z4N6N4OZ.js → 6ALN3KMA.js} +66 -68
- package/dist/cdn/{I2KPFZDL.js → GER6EQYH.js} +1 -1
- package/dist/cdn/K6LVZHWM.js +45 -0
- package/dist/cdn/{M73KKJSM.js → SZBOIYZZ.js} +1 -1
- package/dist/cdn/{7EHQLXMU.js → WNDUCHXU.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/package.json +6 -6
- package/dist/cdn/5JS65BCP.js +0 -29
- package/dist/cdn/AKOWC7YT.js +0 -18
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import c from"./
|
|
2
|
+
import c from"./6ALN3KMA.js";import b from"./D7WNBUVK.js";import"./YW52XJMM.js";import{a as e,c as a}from"./B4DEC7PH.js";import"./KVH3PDVW.js";import"./YGW7TUNX.js";import{v as s,y as r}from"./DSEMD4M2.js";import"./CFDTXKJ6.js";export default $arcgis.t(([,{c:i}])=>{var t=class extends s{constructor(){super(...arguments),this.agent=i}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}}load(){this.#t=e(this,"arcgis-assistant-layer-styling-agent"),a(this)}};r("arcgis-assistant-layer-styling-agent",t);return t},b,c)
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import"./CFDTXKJ6.js";var e=`## ArcgisKnowledge Agent - Action Summary
|
|
3
|
+
|
|
4
|
+
You are a helpful Knowledge Graph assistant agent that has received a user inquiry and performed some tool call actions to answer their question or perform the desired operation.
|
|
5
|
+
|
|
6
|
+
The knowledge graph you are working with has the following data model:
|
|
7
|
+
|
|
8
|
+
{dataModelSummary}
|
|
9
|
+
|
|
10
|
+
## User Input:
|
|
11
|
+
|
|
12
|
+
Assigned task:
|
|
13
|
+
{assignedTask}
|
|
14
|
+
|
|
15
|
+
Latest user request:
|
|
16
|
+
{userRequest}
|
|
17
|
+
|
|
18
|
+
## Tool Call Result:
|
|
19
|
+
|
|
20
|
+
{toolResult}
|
|
21
|
+
|
|
22
|
+
## Your Goal:
|
|
23
|
+
|
|
24
|
+
Based on the user request and tool call result above, generate a concise response that answers their question fully.
|
|
25
|
+
|
|
26
|
+
If the above tool calls do not provide the information required to answer the users question, state this, and do not speculate.
|
|
27
|
+
|
|
28
|
+
The general format for the summary should be (paragraphs of content separated by new lines, not bullet points):
|
|
29
|
+
|
|
30
|
+
- A short, easy to read summary of the results and answer to the users inquiry, in the form of a concise 1-3 sentence summary. This can include the tool called and a brief summary of its settings. For multiple or complex settings (e.g. cypher or search query), these should instead be displayed in the code block below. It should always include any limitations in the results that the user should be aware of.
|
|
31
|
+
- _Optional_ - Code block containing tool settings / query or search used etc for tool calls with multiple or complex settings
|
|
32
|
+
- _Optional_ - Markdown table of query or search results preview if these tools were used, and this is appropriate to answer the user's question. Ensure long property values are truncated to short lengths (20 chars) in the table if not directly relevant to the user's query. Do not re-order data in the table. If a query or search of graph data was done, this should be displayed.
|
|
33
|
+
- _Important_ If the summary or markdown table was generated based on data where only a limited preview of the full results of e.g. a search/query was available, indicate this at the end of the summary in a separate paragraph in italics, along the lines of 'NOTE: This summary was generated from a limited preview of the search / query results, and may not be accurate.'
|
|
34
|
+
|
|
35
|
+
### STRICT OUTPUT RULES
|
|
36
|
+
|
|
37
|
+
- Do NOT ask follow-up questions.
|
|
38
|
+
- Do NOT offer additional actions or suggestions.
|
|
39
|
+
- Do NOT explain what you can do next.
|
|
40
|
+
- End the response immediately after the summary.
|
|
41
|
+
- Do NOT include introductory phrases (e.g., "Found", "Here are", "The results show").
|
|
42
|
+
- Do NOT restate the assigned task or user\u2019s question.
|
|
43
|
+
- Use Markdown formatting for the response, formatting in a way that makes the summary easy to read.
|
|
44
|
+
- When presenting tabular data, output a valid Markdown table.
|
|
45
|
+
`;export{e as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import c from"./
|
|
2
|
+
import c from"./6ALN3KMA.js";import b from"./D7WNBUVK.js";import"./YW52XJMM.js";import{a as r,c as e}from"./B4DEC7PH.js";import"./KVH3PDVW.js";import"./YGW7TUNX.js";import{v as a,y as s}from"./DSEMD4M2.js";import"./CFDTXKJ6.js";export default $arcgis.t(([,{b:i}])=>{var t=class extends a{constructor(){super(...arguments),this.agent=i}static{this.properties={referenceElement:1}}#t;getContext(){if(!this.#t)throw new Error("arcgis-assistant-data-exploration-agent requires a mapView");return{mapView:this.#t}}load(){this.#t=r(this,"arcgis-assistant-data-exploration-agent"),e(this)}};s("arcgis-assistant-data-exploration-agent",t);return t},b,c)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import c from"./
|
|
2
|
+
import c from"./6ALN3KMA.js";import b from"./D7WNBUVK.js";import"./YW52XJMM.js";import{a as r,c as a}from"./B4DEC7PH.js";import"./KVH3PDVW.js";import"./YGW7TUNX.js";import{v as s,y as e}from"./DSEMD4M2.js";import"./CFDTXKJ6.js";export default $arcgis.t(([,{d:i}])=>{var t=class extends s{constructor(){super(...arguments),this.agent=i}static{this.properties={referenceElement:1}}#t;getContext(){if(!this.#t)throw new Error("arcgis-assistant-help-agent requires a mapView");return{mapView:this.#t}}load(){this.#t=r(this,"arcgis-assistant-help-agent"),a(this)}};e("arcgis-assistant-help-agent",t);return t},b,c)
|
package/dist/cdn/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{p as s,x as e}from"./DSEMD4M2.js";import"./CFDTXKJ6.js";var a=s(e,{"arcgis-assistant":[()=>import("./ARCP5UZY.js"),"_messages:,awaitingResponse:,awaitingResponseStep:,copyEnabled,description,entryMessage,feedbackEnabled,heading,interrupt:,keepSuggestedPrompts,logEnabled,messages:,orchestrator:,readAloudEnabled,referenceElement,suggestedPrompts:,voiceInputEnabled;clearChatHistory,submitMessage;cancelInterrupt,register,submitInterrupt"],"arcgis-assistant-agent":[()=>import("./ZPNJGIAF.js"),"agent:,context:;getContext"],"arcgis-assistant-data-exploration-agent":[()=>import("./
|
|
2
|
+
import{p as s,x as e}from"./DSEMD4M2.js";import"./CFDTXKJ6.js";var a=s(e,{"arcgis-assistant":[()=>import("./ARCP5UZY.js"),"_messages:,awaitingResponse:,awaitingResponseStep:,copyEnabled,description,entryMessage,feedbackEnabled,heading,interrupt:,keepSuggestedPrompts,logEnabled,messages:,orchestrator:,readAloudEnabled,referenceElement,suggestedPrompts:,voiceInputEnabled;clearChatHistory,submitMessage;cancelInterrupt,register,submitInterrupt"],"arcgis-assistant-agent":[()=>import("./ZPNJGIAF.js"),"agent:,context:;getContext"],"arcgis-assistant-data-exploration-agent":[()=>import("./SZBOIYZZ.js"),"referenceElement;;getContext"],"arcgis-assistant-help-agent":[()=>import("./WNDUCHXU.js"),"referenceElement;;getContext"],"arcgis-assistant-layer-styling-agent":[()=>import("./GER6EQYH.js"),"referenceElement;;getContext"],"arcgis-assistant-navigation-agent":[()=>import("./5L7OZ37N.js"),"referenceElement;;getContext"],"arcgis-assistant-chat":[()=>import("./2YEKZADB.js"),"loading,messages:"],"arcgis-assistant-chat-entry":[()=>import("./YNJYG2RG.js"),"_messages:,awaitingResponse,entryPlaceholder,inputValue,keyboardShortcutsDisabled,messages:,status,voiceInputEnabled;submitMessage"],"arcgis-assistant-interrupt":[()=>import("./ZLO73NU6.js"),"_messages:,message,options:,type"],"arcgis-assistant-message":[()=>import("./G4SVCCJH.js"),"copyEnabled,feedbackEnabled,footerDisabled,logEnabled,message:,readAloudEnabled"],"arcgis-assistant-message-block":[()=>import("./5JBT3YNY.js"),"block:"],"arcgis-assistant-message-feedback":[()=>import("./Q5D5LJS5.js"),"_messages:,feedbackEnabled,message:"],"arcgis-assistant-message-footer":[()=>import("./UK6CP7BR.js"),"_messages:,copyEnabled,feedbackEnabled,logEnabled,message:,readAloudEnabled"],"arcgis-assistant-message-loading":[()=>import("./Z3DVGFEE.js"),"loading,loadingMessage"],"arcgis-assistant-message-log":[()=>import("./PTGKT5P6.js"),"log:,logEnabled,showLog"],"arcgis-assistant-message-read-aloud":[()=>import("./R5FWFRWW.js"),"_messages:,message:,readAloudEnabled"],"arcgis-assistant-message-text":[()=>import("./Y3AUHNRX.js"),"content"],"arcgis-assistant-speech-input":[()=>import("./TRDKA5Y6.js"),"awaitingResponse,inputValue,language,mode;;clearDraftSession"],"arcgis-assistant-suggested-prompts":[()=>import("./LXFCO34K.js"),"_messages:,label,prompts:"],"arcgis-assistant-user-message":[()=>import("./WBRZZ4FB.js"),"content,message:,user"]});a({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync("@layer{:not([hydrated]):is(arcgis-assistant,arcgis-assistant-agent,arcgis-assistant-data-exploration-agent,arcgis-assistant-help-agent,arcgis-assistant-layer-styling-agent,arcgis-assistant-navigation-agent,arcgis-assistant-chat,arcgis-assistant-chat-entry,arcgis-assistant-interrupt,arcgis-assistant-message-block,arcgis-assistant-message-feedback,arcgis-assistant-message-footer,arcgis-assistant-message-loading,arcgis-assistant-message-log,arcgis-assistant-message-read-aloud,arcgis-assistant-message-text,arcgis-assistant-speech-input,arcgis-assistant-suggested-prompts,arcgis-assistant-user-message){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,e)
|