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

03 - Send GPT request #4

Open
wants to merge 4 commits into
base: 02-genres
Choose a base branch
from
Open

03 - Send GPT request #4

wants to merge 4 commits into from

Conversation

julesnuggy
Copy link
Contributor

No description provided.

@julesnuggy julesnuggy force-pushed the 03-send-gpt-request branch from 2d7ae74 to c849232 Compare June 22, 2023 19:13
main.js Outdated

const message = chatJSON.choices[0].message;
const content = JSON.parse(message.content);
const { setting, actions } = content;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add after this:

chatGptMessages.push(message);

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.

1 participant