chatGPT-discord-bot
askai
chatGPT-discord-bot | askai | |
---|---|---|
9 | 1,754 | |
2,573 | 86 | |
- | - | |
8.5 | 10.0 | |
13 days ago | over 1 year ago | |
Python | TypeScript | |
GNU General Public License v3.0 only | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
chatGPT-discord-bot
-
My friend tried making a discord bot with ChatGpt integration
Neat! If you're looking for an open source bot that works and has some cool features, check out this one: https://github.com/Zero6992/chatGPT-discord-bot
- Anon gets a Switch
-
Alternative front end?
There are two methods I've found, Zero699's ChatGPT Discord Bot and lencx's ChatGPT Desktop Client (Mac / Windows / Linux). The former seems viable cross-platform, but it's complicated; the latter appears more straightforward but has no mobile option.
-
How Should I Be Using “await” for Coroutines
Hi all, so I'm playing with some code that originally was a discord bot For ChatGPT. I'm trying to strip it to just work with phrases via the terminal. everything was going ok until I removed the last chunk of discord code that waited for a user's input. The specific issues are on lines 119 & 147. I believe that this is my final hurdle to achieve my desired code. I have included my whole code minus the json file called "config.json" that contains my OpenAI key
- I made a GPT-3.5 powered Discord bot in python.
-
making a lain bot for discord, what would be some cool features?
If you want Lain-bot to be a true consciousness of the Wired, you should make it a ChatGPT Discord bot.
-
ChatGPT API model leaked
Was easily integrated into the Chatbot I use (https://github.com/Zero6992/chatGPT-discord-bot)
-
ChatGTP tools you may need - Work always in progress)
chatGPT-discord-bot: Integrate ChatGPT into your own discord bot
-
Discord Bot for Chat GPT
The new repo you have listed in there (https://github.com/Zero6992/chatGPT-discord-bot) works great, thanks
askai
-
OpenAI Bought Chatgpt.com
I was confused why https://chat.openai.com suddenly redirects to https://chatgpt.com which results in connection refused. Turns out chatgpt.com is in many blocklists (e.g. Pi-Hole) due to it being a potentially unsafe Domain before OpenAI acquiring it. So heads up if you use Pi-Hole / AdGuard etc.!
- The ChatGPT URL have changed
- Chat.openai.com now redirects (me) to chatgpt.com
-
Unofficial ChatGPT API
This API allows you to interact with ChatGPT programmatically, and I've built some cool agents on top of it. Check out the code and let me know what you think! :
ChatGPT unofficial API :
This project is a Node.js application that interacts with the ChatGPT conversational AI model using Puppeteer, a Node.js library for automating web browsers.
Files chatgptv1.js: This file contains the main logic for the ChatGPT bot, including methods for initializing the browser, sending messages, receiving replies, and handling errors.
bart.js: This file contains a function that uses the Cloudflare API to summarize the conversation history when an error occurs, in order to resume the conversation.
twochatbotsconv.js: This file is simple use of the API , which creates two instances of the ChatGPT class, initiates a conversation between them, and saves the conversation history to a file.
.env: This file contains the API token for the Cloudflare API, which is used in the bart.js file.
Dependencies :
puppeteer: A Node.js library for automating web browsers. fs: The built-in file system module in Node.js. winston: A logging library for Node.js. crypto: The built-in cryptography module in Node.js. axios: A popular HTTP client library for Node.js. dotenv: A zero-dependency module that loads environment variables from a .env file.
Usage:
Install the dependencies by running npm install in your project directory. Create a .env file in the project directory and add your Cloudflare API token:
API_TOKEN=YourfreeCloudFlareAPIToken In your code, create a new instance of the ChatGPT class and use the sendMessage and getReply methods to interact with the ChatGPT model:
const ChatGPT = require('./chatgptv1');
const chatgpt = new ChatGPT(); await chatgpt.initializeBrowser();
await chatgpt.sendMessage('Hello, ChatGPT!'); const reply = await chatgpt.getReply(); console.log(reply);
await chatgpt.closeBrowser(); If an error occurs during the conversation, the handleError method will attempt to save the conversation history and resume the conversation using the summarized context.
Before Running :
run Google chrom in the debug mode using 9220 port , run : google-chrome-stable --remote-debugging-port=9222
Customization :
You can customize the behavior of the ChatGPT bot by passing options to the ChatGPT constructor:
chatbotUrl: The URL of the ChatGPT interface (default: 'https://chat.openai.com/'). headless: Whether to run the browser in headless mode (default: false). saveConversationCallback: A callback function that will be called with the conversation summary and the conversation file name when an error occurs.
License:
This project is licensed under the MIT License.
- It's a shame – chat.openai.com redirect to chatgpt.com is broken
-
Building a Basic Forex Rate Assistant Using Agents for Amazon Bedrock
After wrestling with it for a bit and eventually giving up, I instead turned to ChatGPT to see if it is smart enough for the task. With my free plan, I asked ChatGPT 3.5 the following:
- Learn to ask for help
-
How to build a custom GPT: Step-by-step tutorial
Go to chat.openai.com and log in
- Chat.openai.com no longer requires login
-
Integrating Strapi with ChatGPT and Next.js
In this tutorial, we will learn how to use Strapi, ChatGPT, and Next.js to build an app that displays recipes using AI.
What are some alternatives?
BetterChatGPT - An amazing UI for OpenAI's ChatGPT (Website + Windows + MacOS + Linux)
ChatGPT - 🔮 ChatGPT Desktop Application (Mac, Windows and Linux)
Ghidra-ChatGPT
gpt-4chan-model
ChatGPT-Next-Web - A cross-platform ChatGPT/Gemini UI (Web / PWA / Linux / Win / MacOS). 一键拥有你自己的跨平台 ChatGPT/Gemini 应用。
openai-cookbook - Examples and guides for using the OpenAI API
chatgpt-twitter-bot - Twitter bot powered by OpenAI's ChatGPT API. It's aliveeeee 🤖
ai-cli - Get answers for CLI commands from ChatGPT right from your terminal
delegate - Universal interface for large language models
KoboldAI-Client
chatgpt-web - 用 Express 和 Vue3 搭建的 ChatGPT 演示网页
text-generation-webui - A Gradio web UI for Large Language Models. Supports transformers, GPTQ, AWQ, EXL2, llama.cpp (GGUF), Llama models.