This commit is contained in:
Nick Trogh 2024-10-26 20:51:34 +02:00
Родитель a9b793144e
Коммит 522b837185
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -201,7 +201,7 @@ Note that enabling this setting can negatively impact performance, especially in
### Tools for language models
We have finalized our `LanguageModelTool` API! This API enables chat extensions to build more powerful experiences by connecting language models to external data sources, or take actions. The API comes with two major parts:
We have finalized our [`LanguageModelTool` API](https://code.visualstudio.com/api/references/vscode-api#lm.tools)! This API enables chat extensions to build more powerful experiences by connecting language models to external data sources, or take actions. The API comes with two major parts:
1. The ability for extensions to register a *tool*. A tool is a piece of functionality that is meant to be used by language models. For example, reading the Git history of a file. When a tool is registered using the `lm.registerTool` method, it's accessible to other extensions as well, in the `lm.tools` list. This will enable chat extensions to seamlessly integrate with other extensions via an ecosystem of shared tools.