Skip to content

Commit

Permalink
Rebuild gql schema
Browse files Browse the repository at this point in the history
  • Loading branch information
anticorrelator committed Dec 20, 2024
1 parent 31387c6 commit 1154306
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions app/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,7 @@ type JSONInvocationParameter implements InvocationParameterBase {
defaultValue: JSON
}

type JSONPromptMessageGQL {
type JSONPromptMessage {
role: PromptMessageRole!
content: JSON!
}
Expand Down Expand Up @@ -1406,9 +1406,9 @@ enum PromptMessageRole {
AI
}

type PromptMessagesTemplateV1GQL {
type PromptMessagesTemplateV1 {
version: String!
template: [TextPromptMessageGQLJSONPromptMessageGQL!]!
messages: [TextPromptMessageJSONPromptMessage!]!
}

type PromptResponse {
Expand All @@ -1419,7 +1419,7 @@ type PromptResponse {
response: String
}

type PromptStringTemplateGQL {
type PromptStringTemplate {
template: String!
}

Expand All @@ -1434,7 +1434,7 @@ enum PromptTemplateType {
CHAT
}

union PromptTemplateVersion = PromptStringTemplateGQL | PromptMessagesTemplateV1GQL
union PromptTemplateVersion = PromptStringTemplate | PromptMessagesTemplateV1

type PromptVersion implements Node {
"""The Globally Unique ID of this object"""
Expand Down Expand Up @@ -1805,12 +1805,12 @@ type TextChunk implements ChatCompletionSubscriptionPayload {
content: String!
}

type TextPromptMessageGQL {
type TextPromptMessage {
role: PromptMessageRole!
content: String!
}

union TextPromptMessageGQLJSONPromptMessageGQL = TextPromptMessageGQL | JSONPromptMessageGQL
union TextPromptMessageJSONPromptMessage = TextPromptMessage | JSONPromptMessage

input TimeRange {
"""The start of the time range"""
Expand Down

0 comments on commit 1154306

Please sign in to comment.