Skip to content

03 - Send GPT request - #4

Open
julesnuggy wants to merge 4 commits into
02-genresfrom
03-send-gpt-request
Open

03 - Send GPT request#4
julesnuggy wants to merge 4 commits into
02-genresfrom
03-send-gpt-request

Conversation

@julesnuggy

Copy link
Copy Markdown
Contributor

No description provided.

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

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

Copy link
Copy Markdown
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