ChatGPT emoji's not working

Support / help / discussion forum for twitter bot
Post Reply
zoltan66
Posts: 168
Joined: Sat Nov 30, 2019 8:19 pm

ChatGPT emoji's not working

Post by zoltan66 »

Hi Martin,

I'm testing out chatGPT, and i want to use emoji's, but everytime I try, the reply tweet is always a bunch of questionmarks like this ???????.


here are some logs:

12:56:15: PreTokens: #chatgpt#
12:56:15: PostTokens: #chatgpt#
12:56:15: ChatGPT token found
12:56:15: Use default model: text-davinci-003
12:56:15: Use default API: ********************************************
12:56:15: Use default prompt: reply with flirty twitter emojis only
12:56:16: chatgpt http: 200
https://api.openai.com/v1/completions
12:56:16: http resp:
{"id":"cmpl-7EyG1Fqr7rS1SBVLszggVOhZP3AvY","object":"text_completion","created":1683802577,"model":"text-davinci-003","choices":[{"text":" ????????????","index":0,"logprobs":null,"finish_reason":"stop"}],"usage":{"prompt_tokens":35,"completion_tokens":7,"total_tokens":42}}
12:56:16: Failed parse response type1
12:56:16: extracted type2
12:56:16: Is reply
12:56:16: Max length: 280
12:56:16: Checking tweet length: max: 280 : tweet: ????????????
12:56:16: PreTokens: ????????????
12:56:16: PostTokens: ????????????
12:56:16: POST: https://twitter.com/i/api/1.1/statuses/update.json
12:56:17: POST: 200
https://twitter.com/i/api/1.1/statuses/update.json
12:56:17: * SUCCESS: Posted Tweet: with: ********** posted: https://twitter.com/**********/status/1 ... 1438208002
12:56:17: * SUCCESS: posted message part: ????????????
12:56:17: * SUCCESS: PostTweetReply: #chatgpt# with: ********** Proxy: 104.227.242.20:8800:156821:WD3SkC2g
12:56:17: done action.process: ********** (50634274)
12:56:17: ********** processed: 1 items this action
12:56:17: Processed logs add: https://twitter.com/**********/status/1 ... 5969782785
12:56:17: Adding unique profile: https://twitter.com/********** 1631690723572547584
12:56:17: loaded: searchreplytweet_artist 13
12:56:17: Processed logs add: https://twitter.com/**********,1631690723572547584
12:56:17: * SUCCESS (1): https://twitter.com/**********/status/1 ... 5969782785 user: **********
12:56:17: finished item: 50634274 with ********** (50634274)
12:56:17: finally: ProcessAUrl: https://twitter.com/**********/status/1 ... (50634274)
12:56:17: performloopofitems: Check for pause: 25,500
12:56:17: Pausing for: 283
User avatar
martin@rootjazz
Site Admin
Posts: 34712
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: ChatGPT emoji's not working

Post by martin@rootjazz »

zoltan66 wrote: Thu May 11, 2023 11:05 am
{"id":"cmpl-7EyG1Fqr7rS1SBVLszggVOhZP3AvY","object":"text_completion","created":1683802577,"model":"text-davinci-003","choices":[{"text":" ????????????","index":0,"logprobs":null,"finish_reason":"stop"}],"usage":{"prompt_tokens":35,"completion_tokens":7,"total_tokens":42}}
let me run tests, seems like the response is not encoded correctly by the time it's logged
User avatar
martin@rootjazz
Site Admin
Posts: 34712
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: ChatGPT emoji's not working

Post by martin@rootjazz »

ok openAI doesn't return a characterset with their http response and program assumes what it is wrongly.

The next update will fix this. I shall let you know when it is ready.



Regards,
Martin
User avatar
martin@rootjazz
Site Admin
Posts: 34712
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: ChatGPT emoji's not working

Post by martin@rootjazz »

zoltan66
Posts: 168
Joined: Sat Nov 30, 2019 8:19 pm

Re: ChatGPT emoji's not working

Post by zoltan66 »

Ty Martin, that was fast :D
Wil test out later.
User avatar
martin@rootjazz
Site Admin
Posts: 34712
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: ChatGPT emoji's not working

Post by martin@rootjazz »

ok, let me know how it goes



Regards,
Martin
Post Reply