Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Add user-customizable temperature command? #164

Open
max298 opened this issue May 10, 2023 · 2 comments
Open

Add user-customizable temperature command? #164

max298 opened this issue May 10, 2023 · 2 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@max298
Copy link
Collaborator

max298 commented May 10, 2023

With #162 being merged I am thinking a end-user controlled temperature could be a fun feature. I am thinking of adding a command like !temperature <num> <prompt> which would then overwrite the (default) temperature for this message so the users can control whether they want a "creative" or "conservative" output.

Another idea is to run multiple bots which have different pre configured temperatures, this would even work right now out of the box without having to do any code changes. But I also don't think this would be as much fun for the users.

Before I'd consider adding such a feature I'd like to year some other opinions, so feel free to leave a comment and tell me what you think!

@max298 max298 added enhancement New feature or request question Further information is requested labels May 10, 2023
@kinduff
Copy link

kinduff commented Jun 7, 2023

I like this, definitely something worth adding. My opinion is that they should be tied to room and context configurations.

For example, I create a room and add the bot, I can set the temperature and it will be global to all threads within that room. I can change the temperature globally. You can also set the temperature in the threads. So only that thread is going to be affected. This works for both context modes.

I can code this, but please provide pointers if you can, I will appreciate it.

@bertybuttface
Copy link
Collaborator

I've always thought about settings as:

default <-- global <-- room <-- thread

If thread setting isn't set use room setting, if that is not set use global setting, if that is not set then use default setting. This lets us make runtime settings changes at any level.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants