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

MongoDB Integration #3

Open
instax-dutta opened this issue Apr 7, 2023 · 3 comments
Open

MongoDB Integration #3

instax-dutta opened this issue Apr 7, 2023 · 3 comments

Comments

@instax-dutta
Copy link

can you make a mongodb integration for it so that it can save the responses and retrieve responses of repetitive questions/chats from the db instead of calling the api all the time ?

@NanduWasTaken
Copy link
Contributor

Why do you want that really what's the problem with calling the api all the time?

@RobinsonMario
Copy link

Why do you want that really what's the problem with calling the api all the time?

Maybe because of performance so that the replies are given faster. But I see a problem here because if the AI gives a wrong answer once, it will give this wrong answer all the time.

@NanduWasTaken
Copy link
Contributor

Why do you want that really what's the problem with calling the api all the time?

Maybe because of performance so that the replies are given faster. But I see a problem here because if the AI gives a wrong answer once, it will give this wrong answer all the time.

How about making a refresh command so that all the past message of the user does not get involved in the conversationlog array resulting the bot to tell a fresh new reply( but I doubt it will ever happen )

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

3 participants