Giter Club home page Giter Club logo

Comments (8)

Kourva avatar Kourva commented on August 18, 2024 1

I tested providers, Could be some kind of unicode decoding issue in ChatGpt4 itself, i can try to decode response twice to insure it's decoded in UTF-8!

from awesomechatgptbot.

nikolay-kovalenko91 avatar nikolay-kovalenko91 commented on August 18, 2024 1

No problem
Let me know if I can help you with anything

from awesomechatgptbot.

chelaxian avatar chelaxian commented on August 18, 2024

also another non latin langs not corretly look too

china
你好ï¼ä»å¤©æ
ä»ä¹å¯ä»¥å¸®å©æ¨çåï¼

japan
ããã«ã¡ã¯ï¼ä»æ¥ã¯ã©ã®ããã«ãæä¼ããã¾ããããï¼

serbia
ÐдÑаво! Ðако Ð¼Ð¾Ð³Ñ Ð´Ð° вам помогнем данаÑ?

spain
¡Hola! ¿Cómo puedo ayudarte hoy?

france
Bonjour ! Comment puis-je vous aider aujourd'hui ?

from awesomechatgptbot.

Kourva avatar Kourva commented on August 18, 2024

I don't think problem is ChatGPT itself! Maybe it's because of encoding (like from API itself),lemme check what is wrong..

from awesomechatgptbot.

chelaxian avatar chelaxian commented on August 18, 2024

still not correctly display cyrillic

ÐÑивеÑ! Ðак Ñ Ð¼Ð¾Ð³Ñ Ð¿Ð¾Ð¼Ð¾ÑÑ Ð²Ð°Ð¼ ÑегоднÑ?

from awesomechatgptbot.

Kourva avatar Kourva commented on August 18, 2024

Umm i have no idea, so ChatGPT-4 API has problems with other languages, for now you can use other providers until i find new ChatGPT-4 provider! Thanks.

from awesomechatgptbot.

nikolay-kovalenko91 avatar nikolay-kovalenko91 commented on August 18, 2024

If g4f client is used, it displays cyrillic symbols correctly. I also tested it with Chinese and it works well too.

from g4f.client import Client

client = Client()
response = client.chat.completions.create(
    model="gpt-4",
    messages=[{"role": "user", "content": "Привет"}],
)
print(response.choices[0].message.content)  # Привет! Как я могу помочь вам сегодня?

https://github.com/xtekky/gpt4free
@Kourva Maybe add it as a new provider?

from awesomechatgptbot.

Kourva avatar Kourva commented on August 18, 2024

Hi @nikolay-kovalenko91,
I've used GPT-4-Free before, and I think I could include it in the bot. That way, users can enable or disable it like other providers. Thanks btw!

from awesomechatgptbot.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.