From 3be905b742b040c7f497727f9e765a8d709baa44 Mon Sep 17 00:00:00 2001 From: "t.me/xtekky" <98614666+xtekky@users.noreply.github.com> Date: Mon, 10 Apr 2023 01:09:29 +0200 Subject: rename poe api ( gpt 4 ) to quora due to having same name as poe-api, I changed the name for it to be used with the other package --- quora/graphql/AddHumanMessageMutation.graphql | 52 +++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 quora/graphql/AddHumanMessageMutation.graphql (limited to 'quora/graphql/AddHumanMessageMutation.graphql') diff --git a/quora/graphql/AddHumanMessageMutation.graphql b/quora/graphql/AddHumanMessageMutation.graphql new file mode 100644 index 00000000..01e6bc8c --- /dev/null +++ b/quora/graphql/AddHumanMessageMutation.graphql @@ -0,0 +1,52 @@ +mutation AddHumanMessageMutation( + $chatId: BigInt! + $bot: String! + $query: String! + $source: MessageSource + $withChatBreak: Boolean! = false +) { + messageCreateWithStatus( + chatId: $chatId + bot: $bot + query: $query + source: $source + withChatBreak: $withChatBreak + ) { + message { + id + __typename + messageId + text + linkifiedText + authorNickname + state + vote + voteReason + creationTime + suggestedReplies + chat { + id + shouldShowDisclaimer + } + } + messageLimit{ + canSend + numMessagesRemaining + resetTime + shouldShowReminder + } + chatBreak { + id + __typename + messageId + text + linkifiedText + authorNickname + state + vote + voteReason + creationTime + suggestedReplies + } + } +} -- cgit v1.2.3