AI Chat (beta) in ArcGIS Experience Builder is a runtime agent that uses artificial intelligence (AI) to perform multi-step tasks within your apps based on natural-language instructions. You can enable AI Chat (beta) in general settings.
You can use AI Chat (beta) to answer questions about an app's capabilities and purpose, operate supported widgets, locate addresses and places, summarize data, apply attribute and spatial filters, interact with the app interface, and more. For best results, use clear and plain language and iterate on the responses you receive.
Use AI Chat (beta)
Complete the following steps to use AI Chat (beta):
-
Click the AI Chat (beta) button to open the chat panel.
-
If necessary, sign in to an ArcGIS organizational account.
You must sign in as a member of an organization with a role that includes privileges to use AI features.
-
Click a prompt suggestion, or enter a prompt and click the send button.
-
Review the response, returned data, and changes in the app.
What you can ask
You can ask the AI Chat (beta) agent questions about the app's capabilities and purpose or ask it to complete operations involving data, the app interface, and supported widgets. The following table describes the types of tasks AI Chat (beta) can complete when the required data and app elements are available.
| Task | Examples |
|---|---|
| Understand the app | Ask about the app's purpose, pages, data, and widgets. |
| Explore data | Summarize data, query features, filter by attribute or by spatial conditions, select features, sort results, group records, and calculate statistics. |
| Work with locations and maps | Find places, locate addresses, pan or zoom a map, change layer visibility, or navigate to an existing bookmark. |
| Interact with the app interface | Switch pages or views, open app windows, expand panels, or change to a configured language or theme. |
| Operate widgets to complete tasks | Show query results in a Table widget, find directions between places, or use supported measurement, drawing, routing, 3D, printing, and sharing tools, and more. Specify the target widget when the app contains multiple widgets of the same type. |
AI Chat (beta) may ask you for additional input and prompt you to complete a selection or confirmation shown in the chat. For example, AI Chat (beta) may ask you to choose a target map or confirm whether to use your current location. Location access also requires browser permission.
View and use results
Results of a task completed by AI Chat (beta) can include text, tables, maps, legends, feature details, or lists. Available display options depend on the request and returned content. Some workflows provide options to view or save outputs. Saving outputs requires the appropriate permissions.
Execution details are collapsed by default. Click the status area above a response to expand the executed steps and status.
Click the Copy response button below a response to copy it. Use the Thumbs up and Thumbs down buttons to provide feedback on the response.
Add data context
You can add app data or data generated in the current chat as context for your next prompt. AI Chat (beta) prioritizes the selected data for that request.
To add data context, complete the following steps:
-
Click the Select data as context button to open the Select data as context panel.
-
Select data.
Data sources that are available to AI Chat (beta) because they are referenced by configured widgets appear in the From app tab. Data sources generated in the current chat appear in the Generated in chat tab.
You can use the search box to search for data sources by name.
-
Enter a prompt or question related to the selected data, then click the send button.
For data sources generated in the chat, you can hover over a data source name in the Generated in chat tab and click Find in chat to locate the data source in the conversation.
Adding data context does not import external data into the app. General file uploading is not available in the chat input, although a specialized workflow may request a file through a user input component, such as the Add Data widget.
Manage filters applied in AI Chat (beta)
Any filters applied by AI Chat (beta) appear in the Data filters panel, which you can access by clicking the Data filters button at the top of the chat panel. Each entry shows the name of the filtered data source and a generated natural-language description of the current filter state.
To clear a filter, complete the following steps:
-
Click Data filters to open the Data filters panel.
-
Find a data source and review its filter description.
-
Click Clear to remove all filters applied to that data source through the chat.
The data source is removed from the list in the Data filters panel.
Review changes and undo operations
When AI Chat (beta) changes the app, the response lists the changes. Some changes include an Undo button. Click Undo to undo the corresponding app change.
The undo feature has the following behaviors:
-
Only changes that support the Undo button can be undone.
-
An undone change cannot be redone.
-
After you send another prompt in the chat, changes in earlier responses cannot be undone.
Close the panel and start a new chat
Closing the AI Chat (beta) panel hides AI chat and preserves the current conversation. Re-open the panel to continue the conversation.
AI Chat (beta) supports one current conversation and does not provide access to previous conversations.
To start a new chat, complete the following steps:
-
Click the New chat button at the top of the panel.
If the Start a new chat dialog appears, review the message. Click** Don't show this again** in the dialog to stop the confirmation from displaying the future.
-
Click Continue to start a new chat or click Cancel to keep the current conversation.
Prompt best practices
The following are guidelines that will help you write successful prompts:
-
Be clear and concise in your requests.
-
Avoid ambiguity and vague language.
-
Clearly identify the target data, results, and widgets.
-
Specify relevant conditions, such as location, distance, time, or category. Include specific city names and units when needed.
-
State the operation you want to perform and the intended display location.
-
Ask follow-up questions to refine the current results and provide additional information when necessary.
The following table lists examples of unproductive broad requests and productive specific requests.
| Broad request | Specific request |
|---|---|
Find nearby restaurants | Find restaurants within 1 kilometer of the San Diego Convention Center in San Diego, California |
Show only these | From the tree features returned in the last query, show only those with a status of Living |
Show a table | Show the results as a table in the chat or Show the results in the Table widget |
Analyze attractions | Count attractions by category and show a chart in the chat |
Supported AI capabilities
The following sections list the actions that AI Chat (beta) can complete when the required data, widgets, and app configurations are available.
App-level capabilities
The following table lists capabilities that involve interacting with the app, data sources, and interface without requiring any dedicated widgets.
| Category | Supported actions | Example prompt |
|---|---|---|
| App guidance | App guide, Widget guide | What can I do with this app? |
| Data exploration | Query data source, Filter data source, Select features, Summarize features, Explore metadata, View data source details | How many trees are in each neighborhood? |
| Location | Get current location, Geocode places, Reverse geocode locations | Find Central Park in New York City |
| App navigation | Change page, Change view, Open window, Close window | Open the dashboard page |
Widget capabilities
The following table lists operations that AI Chat (beta) can perform through supported widgets that are added and configured in the app. Some widgets have capabilities that AI Chat (beta) does not support. Only supported capabilities are included in this table.
| Widget | Supported actions |
|---|---|
| 3D Toolbox widget | Set weather, Set daylight, Analyze shadows, Check line of sight, Slice scene, Adjust slice, Clear effects, Check active tool, Switch 3D tool |
| Add Data widget | Add data by item ID, Search and add data, Add data by URL, Rename added data, Remove data |
| Basemap Gallery widget | Get basemaps, Switch basemap |
| Bookmark widget | Go to bookmark |
| Building Explorer widget | Select building layer, Select level, Clear level selection, Select building phase, Change layer visibility |
| Coordinates widget | Show coordinates, Change coordinate system |
| Directions widget | Calculate route, Clear route, Save route as |
| Draw widget | Add drawing, Export drawings, Clear drawings |
| Fly Controller widget | Fly around point, Fly along path, Start or pause flying, Set fly speed, Fly along route |
| Language Switcher widget | Switch language |
| Map widget | Zoom to data, Pan to data, Show layers, Hide layers, Add to map, Remove added layers, Show pop-up, Get map extent, Get map viewpoint, Set map viewpoint, Measure geometry, Clear measurement, Go to initial map view, Navigate map extent history, Get basemaps, Set basemap, Switch active map, Get layer visibility |
| Map Layers widget | Show layers, Hide layers, Show labels, Hide labels, Enable layer pop-ups, Disable layer pop-ups, Set layer transparency, Set layer visibility range |
| Measurement widget | Measure geometry, Clear measurement |
| Print widget | Show print area, Hide print area, Print |
| Share widget | Get app link, Create short link, Generate QR code, Get app embed code, Adjust embed code size, Share by email, Share by social media |
| Sidebar widget | Toggle sidebar, Open sidebar |
| Swipe widget | Toggle swipe, Select comparison layers, Toggle layer visibility |
| Table widget | Show selection, Show all records, Show columns, Hide columns, Enable map extent filter, Disable map extent filter, Sort field, Show data in table |
| Theme Mode Switcher widget | Switch theme mode |
| Timeline widget | Play timeline, Pause timeline, Turn on timeline filtering, Turn off timeline filtering |
| Widget Controller widget | Open widgets, Close widgets |
Limitations and considerations
Keep the following limitations in mind when using AI Chat (beta) in Experience Builder:
-
Available capabilities—AI Chat (beta) supports a subset of all of the app and widget operations that are possible with ArcGIS Experience Builder. A configured widget must exist in the app to run an AI-driven widget operation, and all the required tools must be enabled in the widget's settings. Adding a widget does not make all of its functions available through AI Chat (beta). AI Chat (beta) cannot access or interact with content inside an Embed widget. Any information displayed in embedded content is not available to AI Chat (beta).
-
Data access—AI Chat (beta) uses accessible data sources referenced by widgets in an app. If you add a data source but do not connect it to any widgets, AI Chat (beta) cannot access that data source. Some querying, filtering, and selection capabilities are provided by the framework and do not require a separate Query, Filter, or Select widget. Supported query and statistical operations depend on the data service. AI Chat (beta) can add data sources of any supported type to the map. However, AI-driven data operations, such as querying, filtering, selecting features, and performing statistical analysis are currently only supported for feature layers.
-
Query scope—AI Chat (beta) queries respect filters applied to data sources by widgets in the app. Records excluded by these filters are not included in AI-driven query results, even if your prompt requests a broader scope.
-
Utility services—AI Chat (beta) supports completing tasks involving geocoding, printing, and routing services. Other types of utility services are not supported. AI Chat (beta) prioritizes geocoding services that are configured in widget settings. If none are configured, AI Chat (beta) uses the organization's default geocoding service. AI Chat (beta) can only use printing and routing services that are configured in widget settings.
-
Response accuracy—AI-generated responses may be inaccurate or misleading. Check responses against the data and actual app results, including the layers, scope, filter conditions, and statistical methods used.
Resources
Use the following resources to learn more: