Pages in topic:   [1 2] >
Automate commands to ChatGPT (Windows)
Thread poster: Samuel Murray
Samuel Murray
Samuel Murray  Identity Verified
Netherlands
Local time: 21:56
Member (2006)
English to Afrikaans
+ ...
Apr 10

Hello everyone

Does anyone know of a free Windows utility with which I can automate questions to ChatGPT? I'm using the free version. It's fine if the answers appear in the browser.

Thanks
Samuel


 
Milan Condak
Milan Condak  Identity Verified
Local time: 21:56
English to Czech
It was in window of QTranslate Apr 10

Samuel Murray wrote:
It's fine if the answers appear in the browser.



Late last year I used it very rarely.

Samuel, I believe you are able to edit the javascript yourself. There is a link to QTranslate in discussion

https://www.proz.com/forum/post_editing_machine_translation/361597-site_for_downloading_qtranslate_safely.html#3016741 (Oct 16, 2023).

In the Services subfolder are the GPT Dictionary and GPT Translate subfolders. The Service.js file will need to be updated.

QTranslate\Services\GPT Translate\Service.js 1869 07/30/2023 09:36

Milan


 
Michael Beijer
Michael Beijer  Identity Verified
United Kingdom
Local time: 20:56
Member (2009)
Dutch to English
+ ...
Beijer.bot (via ChatGPT-AutoHotkey-Utility + Talon-AI-tools) Apr 10

Samuel Murray wrote:

Hello everyone

Does anyone know of a free Windows utility with which I can automate questions to ChatGPT? I'm using the free version. It's fine if the answers appear in the browser.

Thanks
Samuel


I am using my own little app, called Beijer.bot, which allows me to do just that.

See: https://beijer.bot/

This menu is what appears when I press the keyboard shortcut:

Beijer.bot_2024-04-05.png

You can customise the prompts to anything you want and link them to a menu item in the app:

beijerbot-code.png

It's AutoHotkey based and I borrowed the relevant parts (its active ingredients, if you will) from here:

1. https://github.com/kdalanon/ChatGPT-AutoHotkey-Utility (to act on selections on my computer, and process them using the ChatGPT API)
2. https://github.com/C-Loftus/talon-ai-tools (to act on words I say on my computer, and process them using the ChatGPT API)

Note that #2 uses Talon for dictation, which is a (much improved) Dragon replacement. see: https://talonvoice.com/



[Edited at 2024-04-10 16:49 GMT]

[Edited at 2024-04-10 16:50 GMT]


 
Samuel Murray
Samuel Murray  Identity Verified
Netherlands
Local time: 21:56
Member (2006)
English to Afrikaans
+ ...
TOPIC STARTER
@Milan Apr 11

Milan Condak wrote:
There is a link to QTranslate in discussion ...

Thanks. It doesn't currently work, but I can see in the JS file what they're doing. They use an HttpMethod.POST request with JSON data. This should give me some idea of how to code that.


 
Samuel Murray
Samuel Murray  Identity Verified
Netherlands
Local time: 21:56
Member (2006)
English to Afrikaans
+ ...
TOPIC STARTER
@Michael Apr 11

Michael Beijer wrote:
1. https://github.com/kdalanon/ChatGPT-AutoHotkey-Utility (to act on selections on my computer, and process them using the ChatGPT API)

I got this one to work, thanks. The instructions under "How to use" are clear and current.

Apparently I don't have access to the gpt-4 engine, so I had to edit the AHK script to say "gpt-3.5-turbo".

The ChatGPT billing structure is confusing. I thought that if I subscribe to their $20/month plan, then I would have the relevant usage available, but I still had to buy extra credits. In fact, I now wonder if I can just buy credits on their free plan, without the $20/month plan. I'll find out next month when the cancellation kicks in.

You can see which models you have access to here:
https://platform.openai.com/playground/chat
The "Model" dropdown at the top right.

Buying credits can be done here:
https://platform.openai.com/account/billing/overview

I also found that you need to regenerate a new API key after buying credits -- you can't just continue using the API key that you used from before your credits ran out. Do you have the same thing?


 
Samuel Murray
Samuel Murray  Identity Verified
Netherlands
Local time: 21:56
Member (2006)
English to Afrikaans
+ ...
TOPIC STARTER
@Michael II Apr 11

Samuel Murray wrote:
Michael Beijer wrote:
1. https://github.com/kdalanon/ChatGPT-AutoHotkey-Utility (to act on selections on my computer, and process them using the ChatGPT API)

I got this one to work, thanks.

I wonder how I can get the AHK utility to give me the same types of answers that I get in the browser. In the browser, Chat GPT is friendly, chatty and gives additional tips. In the utility, Chat GPT gives only the answer, with no additional comment. The extra comments are often very useful -- that's the whole point of using a chat bot.


 
Hans Lenting
Hans Lenting
Netherlands
Member (2006)
German to Dutch
What are the (monetary) costs of using ChatGPT for MT? Apr 11

As I don't use ChatGPT for MT, I'm wondering: Is its cost comparable to MT systems such as DeepL? Or is ChatGPT much more expensive?

 
Samuel Murray
Samuel Murray  Identity Verified
Netherlands
Local time: 21:56
Member (2006)
English to Afrikaans
+ ...
TOPIC STARTER
@Hans Apr 11

Hans Lenting wrote:
As I don't use ChatGPT for MT, I'm wondering: Is its cost comparable to MT systems such as DeepL? Or is ChatGPT much more expensive?

Here is a community response about tokens:
https://community.openai.com/t/just-a-quick-question-about-tokens-vs-subscription/278399/3

The article says that GPT-4 is about 20x times as expensive as GPT-3. You pay per tokens, and tokens reflect how much text you sent to Chat GPT and how much text it sends back to you. I'm on the "free" tier and I bought $10 worth of credits. I'm not sure how long that will last.

I burnt through $10 quite quickly when I used the Whisper engine (which does audio transcription).

I just learnt (but it kinda makes sense) that the subscription that you pay for the web-based Chat GPT is completely separate from any payments for the API, because the API and the web version are two independent products. (This also explains why the web version gives other responses than the API version.)

I suspect MT is both cheaper and much better than Chat GPT.


 
Michael Beijer
Michael Beijer  Identity Verified
United Kingdom
Local time: 20:56
Member (2009)
Dutch to English
+ ...
Regarding using ChatGPT (or other AI engines) for translation... Apr 12

Samuel Murray wrote:

Hans Lenting wrote:
As I don't use ChatGPT for MT, I'm wondering: Is its cost comparable to MT systems such as DeepL? Or is ChatGPT much more expensive?

Here is a community response about tokens:
https://community.openai.com/t/just-a-quick-question-about-tokens-vs-subscription/278399/3

The article says that GPT-4 is about 20x times as expensive as GPT-3. You pay per tokens, and tokens reflect how much text you sent to Chat GPT and how much text it sends back to you. I'm on the "free" tier and I bought $10 worth of credits. I'm not sure how long that will last.

I burnt through $10 quite quickly when I used the Whisper engine (which does audio transcription).

I just learnt (but it kinda makes sense) that the subscription that you pay for the web-based Chat GPT is completely separate from any payments for the API, because the API and the web version are two independent products. (This also explains why the web version gives other responses than the API version.)

I suspect MT is both cheaper and much better than Chat GPT.



Regarding using ChatGPT (or other AI engines) for translation, have a look at GT4T, which already supports ChatGPT 3.5 and 4, plus Gemini! The developer tried to add Claude as well (after I emailed him)m but hasn't been able to (yet). https://gt4t.ai/

From my own testing when translating patents (Dutch into English and English into Dutch), the above three AI engines often outperform Google Translate or DeepL. Not always, but usually. They are especially good at very long segments, where Google Translate sometimes loses the thread near the end of the segment. They are also more precise. I am therefore paying close attention to AI developments.


 
Michael Beijer
Michael Beijer  Identity Verified
United Kingdom
Local time: 20:56
Member (2009)
Dutch to English
+ ...
~ Apr 12

Samuel Murray wrote:

Michael Beijer wrote:
1. https://github.com/kdalanon/ChatGPT-AutoHotkey-Utility (to act on selections on my computer, and process them using the ChatGPT API)

I got this one to work, thanks. The instructions under "How to use" are clear and current.

Apparently I don't have access to the gpt-4 engine, so I had to edit the AHK script to say "gpt-3.5-turbo".

The ChatGPT billing structure is confusing. I thought that if I subscribe to their $20/month plan, then I would have the relevant usage available, but I still had to buy extra credits. In fact, I now wonder if I can just buy credits on their free plan, without the $20/month plan. I'll find out next month when the cancellation kicks in.

You can see which models you have access to here:
https://platform.openai.com/playground/chat
The "Model" dropdown at the top right.

Buying credits can be done here:
https://platform.openai.com/account/billing/overview

I also found that you need to regenerate a new API key after buying credits -- you can't just continue using the API key that you used from before your credits ran out. Do you have the same thing?


I can't remember, but I too currently have two subscriptions:
1. one for the web interface (which my wife also uses), and
2. the other for API usage.

I'm currently also testing https://claude.ai , which I find can often outperform ChatGPT (4) on terminology questions.


 
Michael Beijer
Michael Beijer  Identity Verified
United Kingdom
Local time: 20:56
Member (2009)
Dutch to English
+ ...
comparing the web interface with the API Apr 12

Samuel Murray wrote:

Samuel Murray wrote:
Michael Beijer wrote:
1. https://github.com/kdalanon/ChatGPT-AutoHotkey-Utility (to act on selections on my computer, and process them using the ChatGPT API)

I got this one to work, thanks.

I wonder how I can get the AHK utility to give me the same types of answers that I get in the browser. In the browser, Chat GPT is friendly, chatty and gives additional tips. In the utility, Chat GPT gives only the answer, with no additional comment. The extra comments are often very useful -- that's the whole point of using a chat bot.


Question: "why is ChatGPT more chatty when you use it via the web interface than via the API?"

Via the API:
 via API

via the web interface:
web interface


 
Cilian O'Tuama
Cilian O'Tuama  Identity Verified
Germany
Local time: 21:56
German to English
+ ...
May I ask why? Apr 13

Here is an entire(!) chat I had with ChatGPT only yesterday.

---
Me
Do either (or perhaps both) of the words "gyros" and gyrus" contain the letter O? If so, as which letter does it appear?

ChatGPT
Yes, both "gyros" and "gyrus" contain the letter "O." In "gyros," the letter "O" appears as the fourth letter, while in "gyrus," it appears as the third letter.
---

OK, it's the free version, with data 2 years old (not that that would matt
... See more
Here is an entire(!) chat I had with ChatGPT only yesterday.

---
Me
Do either (or perhaps both) of the words "gyros" and gyrus" contain the letter O? If so, as which letter does it appear?

ChatGPT
Yes, both "gyros" and "gyrus" contain the letter "O." In "gyros," the letter "O" appears as the fourth letter, while in "gyrus," it appears as the third letter.
---

OK, it's the free version, with data 2 years old (not that that would matter here). Are Gpt4 etc. worth paying attention to?

[Edited at 2024-04-13 04:03 GMT]
Collapse


Christopher Schröder
 
Christopher Schröder
Christopher Schröder
United Kingdom
Member (2011)
Swedish to English
+ ...
Do you really need to ask why? Apr 13

Cilian O'Tuama wrote:

Here is an entire(!) chat I had with ChatGPT only yesterday.

---
Me
Do either (or perhaps both) of the words "gyros" and gyrus" contain the letter O? If so, as which letter does it appear?

ChatGPT
Yes, both "gyros" and "gyrus" contain the letter "O." In "gyros," the letter "O" appears as the fourth letter, while in "gyrus," it appears as the third letter.
---

OK, it's the free version, with data 2 years old (not that that would matter here). Are Gpt4 etc. worth paying attention to?

[Edited at 2024-04-13 04:03 GMT]

😂
Boys and their toys, innit.


Cilian O'Tuama
Aurélien ARPAZ
 
Charlie Bavington
Charlie Bavington  Identity Verified
Local time: 20:56
French to English
since you asked about gtp 4 Apr 13

Cilian O'Tuama wrote:

Do either (or perhaps both) of the words "gyros" and gyrus" contain the letter O? If so, as which letter does it appear?


Copied that into v 4 to see what gives: Here is what gives:

"Yes, both "gyros" and "gyrus" contain the letter "o."

In the word "gyros," which refers to a Greek dish of meat roasted on a vertical spit, typically served in a sandwich with tomato, onion, and tzatziki sauce, the "o" is the fourth letter.

In the word "gyrus," which refers to the ridges in the brain, the "o" is the last letter, making it the fifth letter in the word."

How peculiar.


Cilian O'Tuama
Christopher Schröder
 
Cilian O'Tuama
Cilian O'Tuama  Identity Verified
Germany
Local time: 21:56
German to English
+ ...
Thanks Charlie Apr 13

That's good to know. Peculiar indeed.

 
Pages in topic:   [1 2] >


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

Automate commands to ChatGPT (Windows)






Protemos translation business management system
Create your account in minutes, and start working! 3-month trial for agencies, and free for freelancers!

The system lets you keep client/vendor database, with contacts and rates, manage projects and assign jobs to vendors, issue invoices, track payments, store and manage project files, generate business reports on turnover profit per client/manager etc.

More info »
Anycount & Translation Office 3000
Translation Office 3000

Translation Office 3000 is an advanced accounting tool for freelance translators and small agencies. TO3000 easily and seamlessly integrates with the business life of professional freelance translators.

More info »