You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the feature
Bot should be able to identify which user makes a request in a channel.
Why do you think this feature should be implemented?
Bot could be added to a channel and adapt answers to different users, for example it would be perfect in gdr play with bot playing a specific part between more users.
Additional context
I think it could be implemented like a sort of table in .env file, for example with the following format:
RECOGNISE_USERS = 1
USERID1 Username1
USERID2 Username2
...
Then when the bot receives a request in a channel, if RECOGNISE_USERS is set it should check the table and if a correspondency is found the request to Ollama could be formatted like "Username1 says..."
In the SYSYEM prompt Ollama could be instructed to adapt answers if user prompts contain that specific "Username1 says".
The text was updated successfully, but these errors were encountered:
I've checked Ollama's debug log and to me it seems that no user information is passed to Ollama as prompt.
So, for example, if on a channel 2 users talk to the bot it would not be able to distinguish the 2 users.
Can you please tell me where the string to send to Ollama as prompt is built in code? I've checked but I was not able to find where this happens.
Describe the feature
Bot should be able to identify which user makes a request in a channel.
Why do you think this feature should be implemented?
Bot could be added to a channel and adapt answers to different users, for example it would be perfect in gdr play with bot playing a specific part between more users.
Additional context
I think it could be implemented like a sort of table in .env file, for example with the following format:
RECOGNISE_USERS = 1
USERID1 Username1
USERID2 Username2
...
Then when the bot receives a request in a channel, if RECOGNISE_USERS is set it should check the table and if a correspondency is found the request to Ollama could be formatted like "Username1 says..."
In the SYSYEM prompt Ollama could be instructed to adapt answers if user prompts contain that specific "Username1 says".
The text was updated successfully, but these errors were encountered: