whatsapp-chatgpt icon indicating copy to clipboard operation
whatsapp-chatgpt copied to clipboard

Configure model when prefix disabled

Open ankitgupta89 opened this issue 1 year ago • 2 comments

With this, I wish to suggest that let's add an option NOPREFIX_IS_GPT. Which means if we have prefixes enabled, a message without a prefix can be treated as a message to GPT. This way I can provide a default natural GPT chat to my consumers and they only pass a prefix when they want to use DallE. I ran the app for a couple of days and my friends are having a lot of fun. But a lot of times they just send the message and suddenly it strikes they forgot to add !gpt.

ankitgupta89 avatar Mar 15 '23 16:03 ankitgupta89

Hi guys, I like the project. Not sure if I adjusted the code in line with the bigger vision, but I would like to add some changes while I am trying this for last couple of days :)

ankitgupta89 avatar Mar 15 '23 16:03 ankitgupta89

Did I understand correct, you want to choose whether to use gpt or dalle when prefix is disabled?

I would prefer a PREFIX_DISABLED_MODE=gpt/dalle instead of the boolean you implemented.

navopw avatar Mar 19 '23 10:03 navopw