ZIP 檔案的公用 URL,其中包含 GPT 提示範本。
注意:這是在 SkillGroup 層級範例中指定。
是,如果未指定Template或TemplateUrl。
TemplateFile
字串
PackageUrl zip 檔案內的 GPT 提示範本的相對路徑 (最多 80,000 個字元)。
是,如果已指定 PackageUrl。
可用的模型名稱
模型名稱
模型系列
最大權杖
gpt-4o
GPT 4o
128k
GPT 外掛程式資訊清單
Descriptor:
Name: SampleGPT
DisplayName: My Sample GPT Skillset
Description: Skills for defanging URLs
SkillGroups:
- Format: GPT
Skills:
- Name: DefangUrls
DisplayName: Defang URLs
Description: Defangs URLs in the given text
Inputs:
- Name: text
Description: The text containing URLs to be defanged
Settings:
ModelName: gpt-4o
Template: |-
To 'defang' a URL means to change the scheme to either hxxp or hxxps and replace '.' with '[.]' in the domain so that the URL is still easily readable by a human but doesn't automatically render as a hyperlink if rendered in a rich client such as Outlook. This is often done when sharing potentially malicious links to prevent the reader accidentally clicking on them and visiting a malicious website.
Some examples of defanging URLs:
1. https://example.com --> hxxps://example[.]com
2. http://subdomain.example.com/path.with.dots/ --> hxxp://subdomain[.]example[.]com/path.with.dots/
Defang any URLs in the following text and return the new text:
{{text}}
Descriptor:
Name: SampleGPTTemplate
DisplayName: My Sample GPT Skillset With Template
Description: Skills for defanging URLs
SkillGroups:
- Format: GPT
Skills:
- Name: DefangUrls
DisplayName: Defang URLs
Description: Defangs URLs in the given text
Inputs:
- Name: text
Description: The text containing URLs to be defanged
Settings:
ModelName: gpt-4o
TemplateUrl: https://[domain]/template.txt
PackageUrl
Descriptor:
Name: SampleGPTTemplateWithPackageUrl
DisplayName: My Sample GPT Skillset With PackageUrl
Description: Skills for defanging URLs
SkillGroups:
- Format: GPT
Settings:
PackageUrl: https://[domain]/GPTTemplates.zip
Skills:
- Name: DefangUrls
DisplayName: Defang URLs
Description: Defangs URLs in the given text
Inputs:
- Name: text
Description: The text containing URLs to be defanged
Settings:
ModelName: gpt-4o
TemplateFile: GPTTemplates/SampleGPTTemplate.txt