lib/swagger/defs/prompt.yaml

108 lines
2.7 KiB
YAML
Raw Normal View History

2023-06-04 23:54:48 +00:00
Prompt:
description: A prompt
properties:
ID:
description: Record Id
type: string
2023-06-05 19:44:18 +00:00
CreatedByID:
description: The ID of the user who created the prompt
type: string
x-nullable: true
CreatedDate:
description: The date the prompt was created
type: string
x-nullable: true
Icon:
description: The icon for the prompt
type: string
x-nullable: true
ImageAltText:
description: The alt text for the prompt image
type: string
x-nullable: true
ImageURL:
description: The URL of the prompt image
type: string
x-nullable: true
LastModifiedByID:
description: The ID of the user who last modified the prompt
type: string
x-nullable: true
LastModifiedDate:
description: The date the prompt was last modified
type: string
x-nullable: true
Logo:
description: The logo for the prompt
type: string
x-nullable: true
2023-08-25 20:59:50 +00:00
MaxTokens:
description: The maximum number of tokens to generate
type: number
x-nullable: true
2023-06-17 01:24:46 +00:00
Model:
description: The model for the prompt
type: string
x-nullable: true
Name:
description: The name of the prompt
type: string
x-nullable: true
Order:
description: The order of the prompt
type: number
x-nullable: true
Parameters:
description: A list of parameters encoded as JSON
type: string
x-nullable: true
2023-06-05 19:44:18 +00:00
Prompt:
2023-06-04 23:54:48 +00:00
description: The prompt text
type: string
2023-06-05 19:44:18 +00:00
x-nullable: true
2023-06-04 23:54:48 +00:00
PromptCategoryID:
description: The ID of the prompt category
type: string
2023-06-05 19:44:18 +00:00
x-nullable: true
2023-06-04 23:54:48 +00:00
ResearchProjectIDs:
description: A list of research project IDs
items:
type: string
2023-06-05 19:44:18 +00:00
type: array
x-nullable: true
Slug:
description: The slug for the prompt
type: string
x-nullable: true
2023-06-17 01:24:46 +00:00
System:
description: The System prompt to be used
type: string
x-nullable: true
2023-06-04 23:54:48 +00:00
Tags:
description: A list of tags
items:
type: string
2023-06-05 19:44:18 +00:00
type: array
x-nullable: true
2023-06-17 01:24:46 +00:00
Temperature:
description: The temperature of the prompt
type: number
x-nullable: true
2023-06-05 19:44:18 +00:00
TenantID:
description: The ID of the tenant
type: string
x-nullable: true
Title:
description: The title of the prompt
type: string
x-nullable: true
2023-06-04 23:54:48 +00:00
UsedCount:
description: The number of times the prompt has been used
type: number
2023-06-05 19:44:18 +00:00
x-nullable: true
UserID:
2023-06-04 23:54:48 +00:00
description: The ID of the user who created the prompt
type: string
2023-06-05 19:44:18 +00:00
x-nullable: true
2023-06-04 23:54:48 +00:00
type: object