Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 7.02 KB

File metadata and controls

20 lines (17 loc) · 7.02 KB

PromptTemplate

Fields

Field Type Required Description Example
name Optional<String> The user-given identifier for this prompt template.
template String ✔️ The actual template string.
applicationId Optional<String> The Application Id the prompt template should be created under. Empty for default assistant.
inclusions Optional<ChatRestrictionFilters> N/A
addedRoles List<UserRoleSpecification> A list of added user roles for the Workflow.
removedRoles List<UserRoleSpecification> A list of removed user roles for the Workflow.
permissions Optional<ObjectPermissions> N/A
id Optional<String> Opaque id for this prompt template
author Optional<Person> N/A {
"name": "George Clooney",
"obfuscatedId": "abc123"
}
createTimestamp Optional<Long> Server Unix timestamp of the creation time.
lastUpdateTimestamp Optional<Long> Server Unix timestamp of the last update time.
lastUpdatedBy Optional<Person> N/A {
"name": "George Clooney",
"obfuscatedId": "abc123"
}
roles List<UserRoleSpecification> A list of roles for this prompt template explicitly granted.