feat: text to image impl (#6437)

fix CLOUD-18
fix CLOUD-28
fix CLOUD-29
This commit is contained in:
darkskygit
2024-04-10 12:13:39 +00:00
parent 7c38a54f81
commit 9f349a2300
19 changed files with 601 additions and 99 deletions
+10
View File
@@ -37,6 +37,13 @@ type CopilotQuota {
used: SafeInt!
}
input CreateChatMessageInput {
attachments: [String!]
content: String!
params: String
sessionId: String!
}
input CreateChatSessionInput {
"""An mark identifying which view to use to display the session"""
action: String
@@ -167,6 +174,9 @@ type Mutation {
"""Create a subscription checkout link of stripe"""
createCheckoutSession(input: CreateCheckoutSessionInput!): String!
"""Create a chat message"""
createCopilotMessage(options: CreateChatMessageInput!): String!
"""Create a chat session"""
createCopilotSession(options: CreateChatSessionInput!): String!