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

[FEAT] Save each message and pass it as another user message to give the bot more context #31

Open
Iheuzio opened this issue Jun 26, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@Iheuzio
Copy link
Owner

Iheuzio commented Jun 26, 2023

Is your feature request related to a problem? Please describe.
Right now, the openai api only recognizes a single instance of a conversation, rather than its entirety. This can be fixed by storing their results and the question in an array.

Describe the solution you'd like
The openai model should have a thread of conversations as an array
image

  • passing an array of each conversation and appending it to the model should be an easy solution
@Iheuzio Iheuzio added enhancement New feature or request good first issue Good for newcomers labels Jun 26, 2023
@Iheuzio Iheuzio added this to the 0.2.5 milestone Jun 26, 2023
@Iheuzio
Copy link
Owner Author

Iheuzio commented Jun 27, 2023

Edited the folder structure, now each is modular under the src folder (#32)

This code to change will be under ./src/gptContext.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant