Open Strykar opened 1 year ago
Also doesn't seem to work even in ncurses mode:
16:37 --> ChatGPT (OpenAI-Assistant) (~u@zywb4ieri6pdu.Lair) has joined #wakka
16:37 <Strykar> ChatGPT: who are you
16:37 <ChatGPT> I'm sorry, I'm having trouble thinking right now. Give me a few minutes and try again.
16:38 <Strykar> ChatGPT: who are you
16:38 <ChatGPT> I'm sorry, I'm having trouble thinking right now. Give me a few minutes and try again.
$ tail -f irc-gpt-bot-logs/exceptions.log
at java.base@19.0.1/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224)
at org.openstatic.ChatGPT$2.call(ChatGPT.java:77)
at org.openstatic.ChatGPT$2.call(ChatGPT.java:58)
at java.base@19.0.1/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base@19.0.1/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base@19.0.1/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base@19.0.1/java.lang.Thread.run(Thread.java:1589)
at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:775)
at org.graalvm.nativeimage.builder/com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:203)
[11:08:33 2023-05-16] Server returned HTTP response code: 401 for URL: https://api.openai.com/v1/chat/completions
java.io.IOException: Server returned HTTP response code: 401 for URL: https://api.openai.com/v1/chat/completions
at java.base@19.0.1/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1993)
at java.base@19.0.1/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1585)
at java.base@19.0.1/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224)
at org.openstatic.ChatGPT$2.call(ChatGPT.java:77)
at org.openstatic.ChatGPT$2.call(ChatGPT.java:58)
at java.base@19.0.1/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base@19.0.1/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base@19.0.1/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base@19.0.1/java.lang.Thread.run(Thread.java:1589)
at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:775)
at org.graalvm.nativeimage.builder/com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:203)
[11:08:41 2023-05-16] Server returned HTTP response code: 401 for URL: https://api.openai.com/v1/chat/completions
java.io.IOException: Server returned HTTP response code: 401 for URL: https://api.openai.com/v1/chat/completions
at java.base@19.0.1/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1993)
at java.base@19.0.1/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1585)
at java.base@19.0.1/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224)
at org.openstatic.ChatGPT$2.call(ChatGPT.java:77)
at org.openstatic.ChatGPT$2.call(ChatGPT.java:58)
at java.base@19.0.1/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base@19.0.1/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base@19.0.1/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base@19.0.1/java.lang.Thread.run(Thread.java:1589)
at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:775)
at org.graalvm.nativeimage.builder/com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:203)
re: it not working, i found it doesn't really respond conversationally, it has to respond informationally. so asking it how it is, or what it is it doesn't know how to respond to that. ask it where you can find a cheap hard drive and it does better.
re: it not working, i found it doesn't really respond conversationally, it has to respond informationally. so asking it how it is, or what it is it doesn't know how to respond to that. ask it where you can find a cheap hard drive and it does better.
Sorry this one slipped by me, You can define its behavior using the "systemPreamble" field in the config file. For instance my example bot is emulating Charlie Kelly from always sunny in philidelphia, and will not answer technical questions
Try it here: http://irc.openstatic.org/
Also doesn't seem to work even in ncurses mode:
16:37 --> ChatGPT (OpenAI-Assistant) (~u@zywb4ieri6pdu.Lair) has joined #wakka 16:37 <Strykar> ChatGPT: who are you 16:37 <ChatGPT> I'm sorry, I'm having trouble thinking right now. Give me a few minutes and try again. 16:38 <Strykar> ChatGPT: who are you 16:38 <ChatGPT> I'm sorry, I'm having trouble thinking right now. Give me a few minutes and try again.
$ tail -f irc-gpt-bot-logs/exceptions.log at java.base@19.0.1/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224) at org.openstatic.ChatGPT$2.call(ChatGPT.java:77) at org.openstatic.ChatGPT$2.call(ChatGPT.java:58) at java.base@19.0.1/java.util.concurrent.FutureTask.run(FutureTask.java:317) at java.base@19.0.1/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base@19.0.1/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base@19.0.1/java.lang.Thread.run(Thread.java:1589) at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:775) at org.graalvm.nativeimage.builder/com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:203) [11:08:33 2023-05-16] Server returned HTTP response code: 401 for URL: https://api.openai.com/v1/chat/completions java.io.IOException: Server returned HTTP response code: 401 for URL: https://api.openai.com/v1/chat/completions at java.base@19.0.1/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1993) at java.base@19.0.1/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1585) at java.base@19.0.1/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224) at org.openstatic.ChatGPT$2.call(ChatGPT.java:77) at org.openstatic.ChatGPT$2.call(ChatGPT.java:58) at java.base@19.0.1/java.util.concurrent.FutureTask.run(FutureTask.java:317) at java.base@19.0.1/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base@19.0.1/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base@19.0.1/java.lang.Thread.run(Thread.java:1589) at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:775) at org.graalvm.nativeimage.builder/com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:203) [11:08:41 2023-05-16] Server returned HTTP response code: 401 for URL: https://api.openai.com/v1/chat/completions java.io.IOException: Server returned HTTP response code: 401 for URL: https://api.openai.com/v1/chat/completions at java.base@19.0.1/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1993) at java.base@19.0.1/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1585) at java.base@19.0.1/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224) at org.openstatic.ChatGPT$2.call(ChatGPT.java:77) at org.openstatic.ChatGPT$2.call(ChatGPT.java:58) at java.base@19.0.1/java.util.concurrent.FutureTask.run(FutureTask.java:317) at java.base@19.0.1/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base@19.0.1/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base@19.0.1/java.lang.Thread.run(Thread.java:1589) at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:775) at org.graalvm.nativeimage.builder/com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:203)
It looks like your system cannot connect to OpenAI's API. Perhaps a DNS issue or they had a temporary outage.
I'm using Debian and your latest native deb.
Please see: https://help.openai.com/en/articles/6891829-error-code-429-rate-limit-reached-for-requests
Seems your bot was too active for their request limits. Was there a ton of people talking to it at once? Keep in mind free accounts also have a low rate limit.
Please see: https://help.openai.com/en/articles/6891829-error-code-429-rate-limit-reached-for-requests
Seems your bot was too active for their request limits. Was there a ton of people talking to it at once? Keep in mind free accounts also have a low rate limit.
I'm using premium account + gives me that answer for first run (even if i don't use it via webpage for myself for a long time ( f. ex. a day)). I write command: hey botGPT
I would double check your OpenAI key to make sure its correct, this error is from OpenAI not irc-gpt-bot. Take a look at /var/log/irc-gpt-bot/openai.log I believe the monthly subscription is different then the pay as you go api service.
I would double check your OpenAI key to make sure its correct, this error is from OpenAI not irc-gpt-bot. Take a look at /var/log/irc-gpt-bot/openai.log I believe the monthly subscription is different then the pay as you go api service.
API key is correct. Starts with sk-...........Sk39 (random) and the same line is added to bot.
If I start the bot pointing it to a config and not specifying gui mode, it still starts in ncurses mode, where I have to manually configure and start the bot. How does one start / manage the bot via systemd?