Skip to content

Commit ce5d9be

Browse files
authored
Update tool descriptions (#16760)
1 parent 036d779 commit ce5d9be

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2088,6 +2088,7 @@
20882088
"name": "notebook_list_packages",
20892089
"displayName": "List Notebook Kernel Packages",
20902090
"modelDescription": "List the installed packages that are currently available in the selected kernel for a notebook editor. This tool should be used when working with a jupyter notebook with python code cells. Do not use this tool if not already working with a notebook, or for a language other than python. If the tool configure_notebooks exists, then ensure to call configure_notebooks before using this tool.",
2091+
"userDescription": "%jupyter.languageModelTools.notebook_list_packages.userDescription%",
20912092
"toolReferenceName": "listNotebookPackages",
20922093
"tags": [
20932094
"python environment",
@@ -2115,6 +2116,7 @@
21152116
"name": "notebook_install_packages",
21162117
"displayName": "Install Packages for Notebook",
21172118
"modelDescription": "Install a list of packages on a notebook kernel to be used within that notebook. This tool should be used when working with a jupyter notebook with python code cells. Do not use this tool if not already working with a notebook, or for a language other than python. If the tool configure_notebooks exists, then ensure to call configure_notebooks before using this tool.",
2119+
"userDescription": "%jupyter.languageModelTools.notebook_install_packages.userDescription%",
21182120
"toolReferenceName": "installNotebookPackages",
21192121
"tags": [
21202122
"python environment",

package.nls.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,5 +234,7 @@
234234
"DataScience.installPythonExtensionViaKernelPickerTitle": "Install Python Extension",
235235
"DataScience.switchToRemoteKernelsTitle": "Connect to a Jupyter Server",
236236
"jupyter.languageModelTools.configure_notebook.displayName": "Configure Jupyter Notebook",
237-
"jupyter.languageModelTools.configure_notebook.userDescription": "Configures notebooks by selecting a relevant Kernel."
237+
"jupyter.languageModelTools.configure_notebook.userDescription": "Ensure Notebook to ensure it is ready for use such as running cells",
238+
"jupyter.languageModelTools.notebook_list_packages.userDescription": "Lists Python packages available in the selected Notebook Kernel.",
239+
"jupyter.languageModelTools.notebook_install_packages.userDescription": "Installs a Python packages in the selected Notebook Kernel."
238240
}

0 commit comments

Comments
 (0)