![]() ![]() ![]() When the deployment is displayed successfully, click to view the logs and find the WeChat login link in Deploy Logs.Ĭlick to enter and use your prepared WeChat to scan the code to log in. Some environment variables need to be configured:ĬHAT_GPT_EMAIL : Your OpenAI Account email.ĬHAT_GPT_PASSWORD : Your OpenAI Account password.ĬHAT_GPT_RETRY_TIMES : The number of times to retry when the OpenAI API returns 429 or 503.ĬHAT_PRIVATE_TRIGGER_KEYWORD : If you hope only some keywords can trigger chatgpt on private chat, you can set it.ĬHAT_TRIGGER_RULE :If you hope only pass by a regular expression check can trigger chatgpt, you can set itĭISABLE_GROUP_MESSAGE :if you do not want to trigger chatgpt in group chat, you can set itĬlick the Deploy button and your service will start deploying shortly.The following interface appears to indicate that the deployment has begun: ![]() Then click the one-click deployment button below to deploy.Īfter some validation is complete, you can begin the deployment.You will see the following interface: Railway is a deployment platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.This section describes how to quickly deploy a wechat-chatgpt project using Railway.įirstly, you'll need to sign up for a Railway account and sign in using GitHub verification.
0 Comments
Leave a Reply. |