How to get ChatGPT work?

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
vfisher
Posts: 5
Joined: Tue Mar 14, 2023 7:59 am

How to get ChatGPT work?

Post by vfisher »

Nothing happened, when i try to translate in SilEditor or Dictionary Manager with ChatGPT. Last SilEditor 6.7.2.157, Last Dictionary Manager 4.9.3.162.
Settings:
изображение_2024-03-01_113234517.png
изображение_2024-03-01_113234517.png (19.19 KiB) Viewed 14021 times
Video: https://drive.google.com/file/d/1-MvJ52 ... sp=sharing

In same time google translate works correct.
isiticov
Site Admin
Posts: 2410
Joined: Thu Nov 21, 2002 3:17 pm

Re: How to get ChatGPT work?

Post by isiticov »

Hello,
1. I would recommend to blur you API key in the screenshot.
2. ChatGPT has changed their API access several months ago and users with free account can't access the API but only the web interface. Are you using free account?
Best regards,
Igor Siticov.
vfisher
Posts: 5
Joined: Tue Mar 14, 2023 7:59 am

Re: How to get ChatGPT work?

Post by vfisher »

Api Key is revoked. :)
Yes, account is free. Only way is paid account?
isiticov
Site Admin
Posts: 2410
Joined: Thu Nov 21, 2002 3:17 pm

Re: How to get ChatGPT work?

Post by isiticov »

vfisher wrote: Fri Mar 01, 2024 12:46 pm Yes, account is free. Only way is paid account?
Yes, sorry for this, but this is not our limitation but their.
Best regards,
Igor Siticov.
ChMerlier
Posts: 2
Joined: Sat Jan 04, 2025 2:50 am

Re: How to get ChatGPT work?

Post by ChMerlier »

Hi All,

Allow me to revive this post.
I have a paid version of ChatGpt along with the last version of TsiLang.

I set up the ChatGpt option in Tools and got it to communicate.

However, the request does not seem to be formated as a proper JSon query, resulting in an error, as follow:
"Missing required parameter: 'messages'."

This is the answer to the "validate language names" query
I tried multiple query format without success.

Your support is much appreciated to get it sorted.
Tell me if I can help in any shape or form.

Krÿstof
isiticov
Site Admin
Posts: 2410
Joined: Thu Nov 21, 2002 3:17 pm

Re: How to get ChatGPT work?

Post by isiticov »

Hello,

Are you sure your ChatGPT settings window looks similar (except for API key)?
Screenshot 2025-01-05 074146.png
Screenshot 2025-01-05 074146.png (40.84 KiB) Viewed 2422 times
Best regards,
Igor Siticov.
ChMerlier
Posts: 2
Joined: Sat Jan 04, 2025 2:50 am

Re: How to get ChatGPT work?

Post by ChMerlier »

Hi,

Thank you very much for your answer.

2 things where wrong:
- My API URL was set to https://api.openai/com/v1/chat
I removed /chat

- My model was set to gpt-4o (Not sure if it's an issue to be honext)
I used the same model as the picture.
The model needs to be allowed in the OpenAi project.

I was able to Check the languages (some had to retry) and translate a language as well.
Some translation did not produce an answer.
I will have a closer look in the next couple of days.

All good.

Have a beautiful day.
Post Reply