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[str] The user-given identifier for this prompt template.
template str ✔️ The actual template string.
application_id Optional[str] The Application Id the prompt template should be created under. Empty for default assistant.
inclusions Optional[models.ChatRestrictionFilters] N/A
added_roles List[models.UserRoleSpecification] A list of added user roles for the Workflow.
removed_roles List[models.UserRoleSpecification] A list of removed user roles for the Workflow.
permissions Optional[models.ObjectPermissions] N/A
id Optional[str] Opaque id for this prompt template
author Optional[models.Person] N/A {
"name": "George Clooney",
"obfuscatedId": "abc123"
}
create_timestamp Optional[int] Server Unix timestamp of the creation time.
last_update_timestamp Optional[int] Server Unix timestamp of the last update time.
last_updated_by Optional[models.Person] N/A {
"name": "George Clooney",
"obfuscatedId": "abc123"
}
roles List[models.UserRoleSpecification] A list of roles for this prompt template explicitly granted.