-
Notifications
You must be signed in to change notification settings - Fork 12
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
3.5-turbo API Call structure #16
Comments
"In general, gpt-3.5-turbo-0301 does not pay strong attention to the system message, and therefore important instructions are often better placed in a user message." This seems pretty obvious now :/ |
I couldn't (yet) figure out how to pass an array that is actively updated to messages when user/bot interaction happens.
|
Pretty happy with this or a variation of it:
|
Reopening. I feel I am close to getting this into an active array: ///
// Append last responses to next payload // Store the updated messages array back to local storage
|
Woot Woot got memeory down. Per community, next goal: ruby_coder |
Added a Clear Memory button for the time being. I'll revisit this. |
You know what, I am happy with this. Ill prolly reopen this if I ever run into a limits issue. |
With "gpt-3.5-turbo", need to relook at structure for proper implementation.
Ex:
[
{“role”: “system”, “content”: “You are a helpful assistant that translates English to French.”},
{“role”: “user”, “content”: ‘Translate the following English text to French: “{text}”’}
]
Currently just using user and content line to pass. (easiest to get working after release of gpt-3.5-turbo)
https://platform.openai.com/docs/guides/chat/chat-vs-completions
The text was updated successfully, but these errors were encountered: