From 45fb1f8ce617a1175f9c044a3416970dac49fffe Mon Sep 17 00:00:00 2001 From: Mikyo King Date: Tue, 17 Dec 2024 16:57:01 -0800 Subject: [PATCH] Update the schema --- app/schema.graphql | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/schema.graphql b/app/schema.graphql index a0054357f9..d425048b59 100644 --- a/app/schema.graphql +++ b/app/schema.graphql @@ -1374,6 +1374,7 @@ type Prompt implements Node { name: String! description: String createdAt: DateTime! + promptVersions(first: Int = 50, last: Int, after: String, before: String): PromptVersionConnection! } """A connection to a list of items.""" @@ -1405,11 +1406,12 @@ type PromptResponse { enum PromptTemplateFormat { MUSTACHE FSTRING + NONE } enum PromptTemplateType { - TEXT - JSON + STRING + CHAT } type PromptVersion implements Node { @@ -1463,7 +1465,6 @@ type Query { node(id: GlobalID!): Node! viewer: User prompts(first: Int = 50, last: Int, after: String, before: String): PromptConnection! - promptVersions(first: Int = 50, last: Int, after: String, before: String): PromptVersionConnection! clusters(clusters: [ClusterInput!]!): [Cluster!]! hdbscanClustering( """Event ID of the coordinates"""