Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need Help on Understanding how this works #132

Closed
Maki9009 opened this issue Sep 13, 2023 · 5 comments
Closed

Need Help on Understanding how this works #132

Maki9009 opened this issue Sep 13, 2023 · 5 comments

Comments

@Maki9009
Copy link

Could you guide me on how to remove the character name from each message? I’m unsure about the changes needed in the configuration or rules. Also, I’ve noticed that the bot generates a context conversation in the command line that doesn’t reflect our actual conversation and isn’t relayed to the Telegram bot. I’m finding this confusing.

I’m aiming for a realistic chat experience without any additional features like buttons. Could you advise me on the settings I need to adjust to achieve this?

Lastly, does the system function correctly when LoRas are loaded in?

@innightwolfsleep
Copy link
Owner

Could you guide me on how to remove the character name from each message? I’m unsure about the changes needed in the configuration or rules.

  • this is hardcoded behaviour. You can try to change this in inside TelegramBotWrapper.py, but I am not sure this will work properly.

Lastly, does the system function correctly when LoRas are loaded in?

  • I havent tested it. This shold working in api generator mode, I think.

@innightwolfsleep
Copy link
Owner

I’m aiming for a realistic chat experience without any additional features like buttons. Could you advise me on the settings I need to adjust to achieve this?

This looks like something you want... Chat. Buttons hidden. Conversation like with human. But "Bot:" still shown
Also, curently there is no way to switch off prefixes (++, +, -- e.t.c.)

image
configs.zip

@innightwolfsleep
Copy link
Owner

innightwolfsleep commented Sep 13, 2023

upd.
Correct telegram_config file, previous is for llm_telegram_bot repo. Repos similiar, but have little differencies.
telegram_config.zip

@Maki9009
Copy link
Author

Maki9009 commented Sep 16, 2023

i updated my Config to make it similar to what you sent here but it still has the buttons. and still for some reason once i text the a.i it generates a context.. and some of the replies are empty like on the CMD it would write, generation error: custom_token_bans.. and on telegram the bot just writes the "characters name : "
its empty ?

@innightwolfsleep
Copy link
Owner

Change in telegram_user_rules.json all true to flase excepr last line (except message). If this wont help - idk how to help.

generation error: custom_token_bans - interaction problem between textgenerator and code. Perhaps, this using api generator type can fix this problem. p.s. seems splved #138 by clean instal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants