has anyone experimented with function calling with chatgpt and the arcgis javascript api / arcgis server functions
Solved! Go to Solution.
Yes. Although I am not 100% sure what you're asking.
Simple example: I tell chatgpt that my view variable is called "mapView" and to answer using ArcGIS Maps SDK for JS. Then I prompt it: go to Paris. It figures out that it needs coordinates for Paris and replies with "mapView.goTo(whatever the coordinate object is)". I then, very insecurely, eval() the answer.
Yes. Although I am not 100% sure what you're asking.
Simple example: I tell chatgpt that my view variable is called "mapView" and to answer using ArcGIS Maps SDK for JS. Then I prompt it: go to Paris. It figures out that it needs coordinates for Paris and replies with "mapView.goTo(whatever the coordinate object is)". I then, very insecurely, eval() the answer.
here's another third party example - https://aino.world/