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

Should I create a "message" array #1

Open
kpripper opened this issue Mar 10, 2023 · 1 comment
Open

Should I create a "message" array #1

kpripper opened this issue Mar 10, 2023 · 1 comment

Comments

@kpripper
Copy link

Hello! Should I create a "message" array and add the received bot response to it each time? Am I understanding correctly?

@thegeorgenikhil
Copy link
Owner

Not sure, if you need the context of previous messages for the next message, then you might need a new message array on every request.
Else for a general chatbot, giving the preamble as a message array will be more than enough.

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