update guidelines to clarify dependency on GH Copilot for chat and language model extensions

This commit is contained in:
isidorn 2024-07-26 19:04:08 +02:00
Родитель c16f17330b
Коммит 687bb7c1bf
2 изменённых файлов: 3 добавлений и 1 удалений

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

@ -69,7 +69,7 @@ The following screenshot shows the different chat concepts in the Visual Studio
## Develop a chat extension
A chat extension is an extension that has a dependency on the [Copilot Chat extension](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat) and contributes a chat participant. You can find details about how to define `extensionDependencies` in the [extension manifest](/api/references/extension-manifest).
A chat extension is an extension that contributes a chat participant to the [Copilot Chat](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat) view.
The minimum functionality that is needed for implementing a chat extension is:
@ -338,6 +338,7 @@ Once you have created your AI extension, you can publish your extension to the V
- By publishing to the VS Marketplace, your extension is adhering to the [GitHub Copilot extensibility acceptable development and use policy](https://docs.github.com/en/early-access/copilot/github-copilot-extensibility-platform-partnership-plugin-acceptable-development-and-use-policy).
- Update the attributes in the `package.json` to make it easy for users to find your extension. Add "AI" and "Chat" to the `categories` field in your `package.json`.
- Upload to the Marketplace as described in [Publishing Extension](https://code.visualstudio.com/api/working-with-extensions/publishing-extension).
- If your extension already contributes non Chat functionality, we recommend that you do not introduce an extension dependency on GitHub Copilot in the [extension manifest](/api/references/extension-manifest). That way your extension users that do not use GitHub Copilot can use your non Chat functionality without GitHub Copilot being installed.
## Related content

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

@ -215,6 +215,7 @@ Once you have created your AI extension, you can publish your extension to the V
- Before publishing to the VS Marketplace we recommend that you read the [Microsoft AI tools and practices guidelines](https://www.microsoft.com/en-us/ai/tools-practices). These guidelines provide best practices for the responsible development and use of AI technologies.
- By publishing to the VS Marketplace, your extension is adhering to the [GitHub Copilot extensibility acceptable development and use policy](https://docs.github.com/en/early-access/copilot/github-copilot-extensibility-platform-partnership-plugin-acceptable-development-and-use-policy).
- Update the attributes in the `package.json` to make it easy for users to find your extension. Add "AI" to the `categories` field in your `package.json`. If your extension contributes a Chat Participant, add "Chat" as well.
- If your extension already contributes non Language Model functionality, we recommend that you do not introduce an extension dependency on GitHub Copilot in the [extension manifest](/api/references/extension-manifest). That way your extension users that do not use GitHub Copilot can use your non Language Model functionality without GitHub Copilot being installed. Make sure to have appropraite error handling when accessing language models for this case.
- Upload to the Marketplace as described in [Publishing Extension](https://code.visualstudio.com/api/working-with-extensions/publishing-extension).
## Related content