-
Notifications
You must be signed in to change notification settings - Fork 0
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
ChatGPTのAPIにリクエストをする実装 #11
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
動いた!!!すげ〜〜〜。
何個かコメントしました!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
通りすがりなのでスルーでも!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
承認します!
概要
chatgptのapiにリクエストをして、返ってきたレスポンスを画面に表示するようにした
対応の詳細
レビュー観点
動作確認
2023-08-26.15.56.46.mov
その他
補足ですが、gpt4系から書き方が変わったようでモブプロの時と若干異なる実装になっています!
https://github.com/openai/openai-node#usage
delete configuration.baseOptions.headers['User-Agent'];
という記述も不要になりました🙏openai/openai-node#6 (comment)