|
67 | 67 | "\n",
|
68 | 68 | "To address these needs, ArcGIS allows for the integration of external third-party language models, including both open-source LLMs and commercial LLMs accessed via web APIs. Please note that if you use a web-hosted LLM, the data processed will be sent to the LLM provider. Python developers can create custom NLP functions to interface with these external models, packaging their models as Esri deep learning packages (ESRI Deep Learning Package (.dlpk) files) for use with the following tools:\n",
|
69 | 69 | "\n",
|
70 |
| - "1. [Classify Text Using Deep Learning](https://pro.arcgis.com/en/pro-app/latest/tool-reference/geoai/classify-text-using-deep-learning.htm)\n", |
71 |
| - "2. [Extract Entities Using Deep Learning](https://pro.arcgis.com/en/pro-app/latest/tool-reference/geoai/extract-entities-using-deep-learning.htm)\n", |
72 |
| - "3. [Transform Text Using Deep Learning](https://pro.arcgis.com/en/pro-app/latest/tool-reference/geoai/transform-text-using-deep-learning.htm)\n", |
| 70 | + "1. [Classify Text Using Deep Learning (GeoAI)](https://pro.arcgis.com/en/pro-app/latest/tool-reference/geoai/classify-text-using-deep-learning.htm)\n", |
| 71 | + "2. [Extract Entities Using Deep Learning (GeoAI)](https://pro.arcgis.com/en/pro-app/latest/tool-reference/geoai/extract-entities-using-deep-learning.htm)\n", |
| 72 | + "3. [Transform Text Using Deep Learning (GeoAI)](https://pro.arcgis.com/en/pro-app/latest/tool-reference/geoai/transform-text-using-deep-learning.htm)\n", |
73 | 73 | "\n",
|
74 | 74 | "The ESRI Deep Learning Package (.dlpk) file of the custom NLP function is also supported through the `arcgis.learn` Python API, which accommodates third-party custom models via various classes, including `TextClassifier`, `EntityRecognizer`, and `SequenceToSequence`.\n",
|
75 | 75 | "\n",
|
|
100 | 100 | "- Out-of-the-box use of LLM\n",
|
101 | 101 | "- Minimal or no annotation required\n",
|
102 | 102 | "- Comparable accuracy\n",
|
103 |
| - "- Integration of custom models within the ArcGIS Pro Transform **Text Using Deep Learning** and **arcgis.learn API**\n", |
| 103 | + "- Integration of custom models within the ArcGIS Pro **Transform Text Using Deep Learning (GeoAI)** and **arcgis.learn API**\n", |
104 | 104 | "\n"
|
105 | 105 | ]
|
106 | 106 | },
|
|
244 | 244 | "id": "ccc1cbc9-d4dd-46bd-b6ad-578a0aa6d797",
|
245 | 245 | "metadata": {},
|
246 | 246 | "source": [
|
247 |
| - "Model extension requires the process to be wrapped in a class with the following functions mandatorily implemented:\n", |
| 247 | + "The model extension requires the process to be wrapped in a class that must implement the following functions:\n", |
248 | 248 | "\n",
|
249 | 249 | "- `__init__`\n",
|
250 | 250 | "\n",
|
|
305 | 305 | "id": "f9aa02e1-fc97-428e-908e-c271b33c5670",
|
306 | 306 | "metadata": {},
|
307 | 307 | "source": [
|
308 |
| - "This function is designed to collect parameters from the user through the Transform Text Tool. To connect to the GPT-3.5 deployment on Azure, we require the `API key`, `base URL`, and `deployment name`. Since these parameters are sensitive, we will prompt the user for this information instead of hardcoding it within the file." |
| 308 | + "This function is designed to collect parameters from the user through the **Transform Text Using Deep Learning (GeoAI)** Tool. To connect to the GPT-3.5 deployment on Azure, we require the `API key`, `base URL`, and `deployment name`. Since these parameters are sensitive, we will prompt the user for this information instead of hardcoding it within the file." |
309 | 309 | ]
|
310 | 310 | },
|
311 | 311 | {
|
|
754 | 754 | "\n",
|
755 | 755 | "**Zip the Folder**: We will compress the folder into a ZIP archive. Rename the .zip file to match the name of the ESRI Model Definition (.emd) file but with the .dlpk extension. The dlpk's name will be `text_transform_gpt.dlpk`\n",
|
756 | 756 | "\n",
|
757 |
| - "This ESRI Deep Learning Package (.dlpk) file is now ready for use with the arcgis.learn Python API and Transform Text Tool." |
| 757 | + "This ESRI Deep Learning Package (.dlpk) file is now ready for use with the arcgis.learn Python API and **Transform Text Using Deep Learning (GeoAI)** Tool." |
758 | 758 | ]
|
759 | 759 | },
|
760 | 760 | {
|
|
0 commit comments