Skip to content

Commit

Permalink
#162 - Documenttagged Chatgpt deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
mfriesen committed Oct 5, 2023
1 parent 452b0cb commit bcd652f
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ private void runChatGpt(final LambdaLogger logger, final String siteId, final St

Map<String, Object> payload = new HashMap<>();

payload.put("model", "text-davinci-003");
payload.put("model", "gpt-3.5-turbo-instruct");
payload.put("max_tokens", CHAT_GPT_MAX_TOKENS);
payload.put("temperature", CHAT_GPT_TEMPERATURE);
payload.put("top_p", CHAT_GPT_TOP_P);
Expand Down
2 changes: 1 addition & 1 deletion lambda-s3/src/test/resources/chatgpt/response1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "cmpl-7HOmfBlUrif1MEDOLEFEtJ44A9iGq",
"object": "text_completion",
"created": 1684381201,
"model": "text-davinci-003",
"model": "gpt-3.5-turbo-instruct",
"choices":
[
{
Expand Down
2 changes: 1 addition & 1 deletion lambda-s3/src/test/resources/chatgpt/response2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "cmpl-7IU7G5A8SPa6N35I1R0o5hjmVpfjM",
"object": "text_completion",
"created": 1684640026,
"model": "text-davinci-003",
"model": "gpt-3.5-turbo-instruct",
"choices":
[
{
Expand Down
2 changes: 1 addition & 1 deletion lambda-s3/src/test/resources/chatgpt/response3.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "cmpl-7JPQbaNp7fwGfmTv2pSs2q29O5wou",
"object": "text_completion",
"created": 1684860333,
"model": "text-davinci-003",
"model": "gpt-3.5-turbo-instruct",
"choices":
[
{
Expand Down
2 changes: 1 addition & 1 deletion lambda-s3/src/test/resources/chatgpt/response4.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "cmpl-7HOmfBlUrif1MEDOLEFEtJ44A9iGq",
"object": "text_completion",
"created": 1684381201,
"model": "text-davinci-003",
"model": "gpt-3.5-turbo-instruct",
"choices":
[
{
Expand Down
2 changes: 1 addition & 1 deletion lambda-s3/src/test/resources/chatgpt/response5.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "cmpl-7bwGRyeJOxasYu6ucPx5tP0pH1ohf",
"object": "text_completion",
"created": 1689276459,
"model": "text-davinci-003",
"model": "gpt-3.5-turbo-instruct",
"choices":
[
{
Expand Down

0 comments on commit bcd652f

Please sign in to comment.