From f92eda644e14543457fd2a79fa56b2c0a18c899b Mon Sep 17 00:00:00 2001 From: Raven Scott Date: Mon, 10 Apr 2023 05:34:15 +0200 Subject: [PATCH] update readme --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 168f25c..91c37ac 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ THIS CODE IS MEANT TO BE SELF HOSTED USING THE LIBRARY: https://abetlen.github.io/llama-cpp-python/ +# Description This code is for a Discord bot that uses OpenAI's GPT-3 language model (self hosted at home) to generate responses to user messages. It listens for messages in two specified Discord channels, and when a user sends a message, it appends it to the conversation history and sends it to the GPT-3 API to generate a response. The response is then sent back to the user in the same channel. The bot uses the Node.js discord.js library to interact with the Discord API and the node-fetch library to make HTTP requests to the GPT-3 API. @@ -31,7 +32,7 @@ Define a generateResponse function that sends a request to the GPT-3 API to gene Call the generateResponse function within the messageCreate event listener function. - +# Usage 1) Use ```npm i ```