feat(parseJsonForChatGPTResponse): implement function to parse JSON response from ChatGPT API

This commit is contained in:
Will Hohyon Ryu 2024-03-07 18:54:20 -08:00
parent a9a064dfa1
commit 65c5653158
4 changed files with 34 additions and 1 deletions

View file

@ -163,6 +163,11 @@
resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.3.tgz#472eaab5f15c1ffdd7f8628bd4c4f753995ec79e"
integrity sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ==
"@types/jsonic@^0.3.3":
version "0.3.3"
resolved "https://registry.yarnpkg.com/@types/jsonic/-/jsonic-0.3.3.tgz#0f47f2ab95ce38647fc522d62104d411f004b7ba"
integrity sha512-QXYC0N2jOSGw21QkYRP4YyR9sFZkAPLjxn4PVswsgSz3r8SOBYQpQOFdRc8FbhWZ7pWPKEnq2u8tJCt2Qcn4oQ==
"@types/node-fetch@^2.6.4":
version "2.6.9"
resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.6.9.tgz#15f529d247f1ede1824f7e7acdaa192d5f28071e"
@ -340,6 +345,11 @@ is-plain-object@^5.0.0:
resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-5.0.0.tgz#4427f50ab3429e9025ea7d52e9043a9ef4159344"
integrity sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==
jsonic@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/jsonic/-/jsonic-1.0.1.tgz#817054df7abfaf525ecf39d6647a2ed6d5fca7f1"
integrity sha512-6GitEN4plTuB/I1o9kDZl7Pgc+DvFG1BG88IqaUz4eQglCA1uAgxWdXhLNA6ffaYsmzPjOysDpp6CYTwRiuXLw==
make-error@^1.1.1:
version "1.3.6"
resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2"