jarylc/cf-workers-chatgpt-discord-bot

Give the ability to set a system message

Closed this issue · 2 comments

Sending a system message is an easy way of customizing the chatbot. With the help of it, a developer can customize the behavior of the endpoint. Example: You're a class mentor chatbot developed by @jarylc. Only respond to math questions., etc.

Yeah, I will do that when I have free time, probably add an environment variable for this.

Added CHATGPT_BEHAVIOR environment variable in wrangler.toml to add this