Sennett Lau
Sennett Lau
> I would like to propose `dalle-config` instead of `config`, we may have the same for gpt or others ai assistants. Sure thing! Lemme refactor it a bit
used `aiConfig` and `dalle-config` instead of just `config`
Have merged the updated `master` to this PR
> I didn't understand why we dont use `!config` ❓ Both `!config` and `!aiconfig' sound good to me, just see which one will be more suitable for you guys.
Sure, will add the `aiConfig` into the `config.ts` in a bit and rename the handler to `handleMessageAIConfig`. What abt `!aiconfig`, are we going for this or just `!config`.
`!aiconfig` had been modified to `!config` `handleMessageAICONFIG` has been modified to `handleMessageAIConfig` Dalle related config types had been moved to `types/dalle-config.ts` and `types/ai-config.ts` Config Message Handler had been moved to...
> This code actually breaks the dalle... > > This is the data we send to dalle, size should be 1024x1024 and not "large" > > '{"prompt":"big brain","n":1,"size":"large","response_format":"b64_json"}', > >...
glad to contribute! will keep track of this repo, hopefully, more contributions in the future:D
A JS version gist in case anyone would need it https://gist.github.com/laub1199/2e045c4715ef8c859be9d116353861e2
> @sennett-lau the gist doesn't work, do you mind sharing it again? ❤️ Here you go! I changed the username aha :D https://gist.github.com/sennett-lau/2e045c4715ef8c859be9d116353861e2