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

Bugfix for failing quotes, Login-screen, Force Azure off, Initial hidden "Hi" to have robot/assistant initiate dialog. #29

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

eirikora
Copy link

Several fixes, but the one around line 190-199 is a critical bug-fix removing A LOT of crashes with the current OpenAI returned values. Sometimes the quotes are just not there and it fails.

Also added a couple of other less interesting things:

  • Line 308-317 is a login-screen that allows me to make company-oriented content where my colleagues know the user_password that we share internally on the intranet. In a company-setting this is really important.

Also added ability to force Azure AI off, because I had the environment variables but did not want to use them.

Also hacked in the ability for the client to send a hidden "Hi!" (Hei in norwegian) message so that the robot/assistant starts with some message like: How can I help you today?

Sorry for mixing all these changes into one blob, but hope at least the bugfix can be incorporated!

@ryo-ma
Copy link
Owner

ryo-ma commented Sep 23, 2024

Thank you for PR.
Can you PR only about the bug?

@ryo-ma
Copy link
Owner

ryo-ma commented Sep 28, 2024

This is not accepted because it contains code specific to your project.

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

Successfully merging this pull request may close these issues.

2 participants