mirror of https://github.com/vernonkeenan/lib
parent
f0a768157c
commit
302e50b058
|
@ -18,7 +18,7 @@ import (
|
||||||
|
|
||||||
// Prompt A prompt
|
// Prompt A prompt
|
||||||
//
|
//
|
||||||
// swagger:model prompt
|
// swagger:model Prompt
|
||||||
type Prompt struct {
|
type Prompt struct {
|
||||||
|
|
||||||
// The ID of the user who created the prompt
|
// The ID of the user who created the prompt
|
||||||
|
@ -73,10 +73,10 @@ type Prompt struct {
|
||||||
Slug *string `json:"Slug,omitempty"`
|
Slug *string `json:"Slug,omitempty"`
|
||||||
|
|
||||||
// The System prompt to be used
|
// The System prompt to be used
|
||||||
System *string `json:"System,omitempty"`
|
SystemPrompt *string `json:"SystemPrompt,omitempty"`
|
||||||
|
|
||||||
// A list of tags
|
// A list of tags (from salesforce newline separated)
|
||||||
Tags []string `json:"Tags"`
|
Tags *string `json:"Tags,omitempty"`
|
||||||
|
|
||||||
// The temperature of the prompt
|
// The temperature of the prompt
|
||||||
Temperature *float64 `json:"Temperature,omitempty"`
|
Temperature *float64 `json:"Temperature,omitempty"`
|
||||||
|
|
|
@ -5482,7 +5482,7 @@ definitions:
|
||||||
properties:
|
properties:
|
||||||
Data:
|
Data:
|
||||||
items:
|
items:
|
||||||
$ref: "../../lib/swagger/defs/prompt.yaml#/Prompt"
|
$ref: "#/definitions/Prompt"
|
||||||
type: array
|
type: array
|
||||||
type: object
|
type: object
|
||||||
PromptResponse:
|
PromptResponse:
|
||||||
|
@ -5490,7 +5490,7 @@ definitions:
|
||||||
properties:
|
properties:
|
||||||
Data:
|
Data:
|
||||||
items:
|
items:
|
||||||
$ref: "../../lib/swagger/defs/prompt.yaml#/Prompt"
|
$ref: "#/definitions/Prompt"
|
||||||
type: array
|
type: array
|
||||||
Meta:
|
Meta:
|
||||||
$ref: "#/definitions/ResponseMeta"
|
$ref: "#/definitions/ResponseMeta"
|
||||||
|
@ -5531,3 +5531,104 @@ definitions:
|
||||||
Meta:
|
Meta:
|
||||||
$ref: "#/definitions/ResponseMeta"
|
$ref: "#/definitions/ResponseMeta"
|
||||||
type: object
|
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
|
||||||
|
|
|
@ -5482,7 +5482,7 @@ definitions:
|
||||||
properties:
|
properties:
|
||||||
Data:
|
Data:
|
||||||
items:
|
items:
|
||||||
$ref: "../../lib/swagger/defs/prompt.yaml#/Prompt"
|
$ref: "#/definitions/Prompt"
|
||||||
type: array
|
type: array
|
||||||
type: object
|
type: object
|
||||||
PromptResponse:
|
PromptResponse:
|
||||||
|
@ -5490,7 +5490,7 @@ definitions:
|
||||||
properties:
|
properties:
|
||||||
Data:
|
Data:
|
||||||
items:
|
items:
|
||||||
$ref: "../../lib/swagger/defs/prompt.yaml#/Prompt"
|
$ref: "#/definitions/Prompt"
|
||||||
type: array
|
type: array
|
||||||
Meta:
|
Meta:
|
||||||
$ref: "#/definitions/ResponseMeta"
|
$ref: "#/definitions/ResponseMeta"
|
||||||
|
@ -5531,3 +5531,104 @@ definitions:
|
||||||
Meta:
|
Meta:
|
||||||
$ref: "#/definitions/ResponseMeta"
|
$ref: "#/definitions/ResponseMeta"
|
||||||
type: object
|
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
|
||||||
|
|
Loading…
Reference in New Issue