diff --git a/api/sfgate/sfgate_models/prompt.go b/api/sfgate/sfgate_models/prompt.go index f24acaf..e14afc5 100644 --- a/api/sfgate/sfgate_models/prompt.go +++ b/api/sfgate/sfgate_models/prompt.go @@ -18,7 +18,7 @@ import ( // Prompt A prompt // -// swagger:model prompt +// swagger:model Prompt type Prompt struct { // The ID of the user who created the prompt @@ -73,10 +73,10 @@ type Prompt struct { Slug *string `json:"Slug,omitempty"` // The System prompt to be used - System *string `json:"System,omitempty"` + SystemPrompt *string `json:"SystemPrompt,omitempty"` - // A list of tags - Tags []string `json:"Tags"` + // A list of tags (from salesforce newline separated) + Tags *string `json:"Tags,omitempty"` // The temperature of the prompt Temperature *float64 `json:"Temperature,omitempty"` diff --git a/swagger/external/sf-gate-vernonkeenan.yaml b/swagger/external/sf-gate-vernonkeenan.yaml index 61cd00f..097f71a 100644 --- a/swagger/external/sf-gate-vernonkeenan.yaml +++ b/swagger/external/sf-gate-vernonkeenan.yaml @@ -5482,7 +5482,7 @@ definitions: properties: Data: items: - $ref: "../../lib/swagger/defs/prompt.yaml#/Prompt" + $ref: "#/definitions/Prompt" type: array type: object PromptResponse: @@ -5490,7 +5490,7 @@ definitions: properties: Data: items: - $ref: "../../lib/swagger/defs/prompt.yaml#/Prompt" + $ref: "#/definitions/Prompt" type: array Meta: $ref: "#/definitions/ResponseMeta" @@ -5531,3 +5531,104 @@ definitions: Meta: $ref: "#/definitions/ResponseMeta" type: object + Prompt: + description: A prompt + properties: + ID: + description: Record Id + type: string + 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 + 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 + Prompt: + description: The prompt text + type: string + x-nullable: true + PromptCategoryID: + description: The ID of the prompt category + type: string + x-nullable: true + ResearchProjectIDs: + description: A list of research project IDs + items: + type: string + type: array + x-nullable: true + Slug: + description: The slug for the prompt + type: string + x-nullable: true + SystemPrompt: + description: The System prompt to be used + type: string + x-nullable: true + Tags: + description: A list of tags (from salesforce newline separated) + type: string + x-nullable: true + Temperature: + description: The temperature of the prompt + type: number + x-nullable: true + TenantID: + description: The ID of the tenant + type: string + x-nullable: true + Title: + description: The title of the prompt + type: string + x-nullable: true + UsedCount: + description: The number of times the prompt has been used + type: number + x-nullable: true + UserID: + description: The ID of the user who created the prompt + type: string + x-nullable: true + type: object diff --git a/swagger/sf-gate-vernonkeenan.yaml b/swagger/sf-gate-vernonkeenan.yaml index a2655d4..0ee2cad 100644 --- a/swagger/sf-gate-vernonkeenan.yaml +++ b/swagger/sf-gate-vernonkeenan.yaml @@ -5482,7 +5482,7 @@ definitions: properties: Data: items: - $ref: "../../lib/swagger/defs/prompt.yaml#/Prompt" + $ref: "#/definitions/Prompt" type: array type: object PromptResponse: @@ -5490,7 +5490,7 @@ definitions: properties: Data: items: - $ref: "../../lib/swagger/defs/prompt.yaml#/Prompt" + $ref: "#/definitions/Prompt" type: array Meta: $ref: "#/definitions/ResponseMeta" @@ -5531,3 +5531,104 @@ definitions: Meta: $ref: "#/definitions/ResponseMeta" type: object + Prompt: + description: A prompt + properties: + ID: + description: Record Id + type: string + 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 + 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 + Prompt: + description: The prompt text + type: string + x-nullable: true + PromptCategoryID: + description: The ID of the prompt category + type: string + x-nullable: true + ResearchProjectIDs: + description: A list of research project IDs + items: + type: string + type: array + x-nullable: true + Slug: + description: The slug for the prompt + type: string + x-nullable: true + SystemPrompt: + description: The System prompt to be used + type: string + x-nullable: true + Tags: + description: A list of tags (from salesforce newline separated) + type: string + x-nullable: true + Temperature: + description: The temperature of the prompt + type: number + x-nullable: true + TenantID: + description: The ID of the tenant + type: string + x-nullable: true + Title: + description: The title of the prompt + type: string + x-nullable: true + UsedCount: + description: The number of times the prompt has been used + type: number + x-nullable: true + UserID: + description: The ID of the user who created the prompt + type: string + x-nullable: true + type: object