Skip to content

samfisherirl/EdgeGPT_forAHK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EdgeGPT_forAHK

Update 10/2/23: Edge changes require I rewrite and compile the python. I have not done it in the same method as before as I dont have time. It will not stream responses.

  • Simply write one question to "ask.txt" in the same dir as the exe file posted in the github release here. https://github.com/samfisherirl/EdgeGPT_forAHK/releases
  • Upon close, the app will write the response in "answer.txt".
  • To track the response from ahk, make sure the "answer.txt" file is empty before running, and continue ahk operation upon "answer.txt" no longer being empty.

Forked from: https://github.com/acheong08/EdgeGPT

  • ChatGPT 4 from Bing Chat

  • Internet Access

  • Proxy and custom conversation style

  • Cycles cookies

  • no key required.

You'll need to download this release to get this running: https://github.com/samfisherirl/EdgeGPT_forAHK/releases/download/v1/EdgeGPT_forAHK.zip

#Include %A_ScriptDir%\lib\EdgeGPT.ahk
botpath := A_ScriptDir "\bot\EdgeGPT_forAHK.exe"
E := EdgeGPT(botpath)
answer := E.Ask("whats the weather in fiji?")
MsgBox(answer)

E.asyncAsk("How can I travel there?")
loop {
    ans := E.answer ; streams to string the answer in pieces
    if E.finished {
        MsgBox(ans)
    }
}

Credit to the EdgeGPT creator https://github.com/acheong08/EdgeGPT image VIRUSTOTAL