diff --git a/lambda-s3/src/main/java/com/formkiq/stacks/lambda/s3/DocumentTaggingAction.java b/lambda-s3/src/main/java/com/formkiq/stacks/lambda/s3/DocumentTaggingAction.java index afde0f280..128090795 100644 --- a/lambda-s3/src/main/java/com/formkiq/stacks/lambda/s3/DocumentTaggingAction.java +++ b/lambda-s3/src/main/java/com/formkiq/stacks/lambda/s3/DocumentTaggingAction.java @@ -348,7 +348,7 @@ private void runChatGpt(final LambdaLogger logger, final String siteId, final St Map 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); diff --git a/lambda-s3/src/test/resources/chatgpt/response1.json b/lambda-s3/src/test/resources/chatgpt/response1.json index 427f7b6db..885d27c0a 100644 --- a/lambda-s3/src/test/resources/chatgpt/response1.json +++ b/lambda-s3/src/test/resources/chatgpt/response1.json @@ -2,7 +2,7 @@ "id": "cmpl-7HOmfBlUrif1MEDOLEFEtJ44A9iGq", "object": "text_completion", "created": 1684381201, - "model": "text-davinci-003", + "model": "gpt-3.5-turbo-instruct", "choices": [ { diff --git a/lambda-s3/src/test/resources/chatgpt/response2.json b/lambda-s3/src/test/resources/chatgpt/response2.json index a5def3619..91dd464c7 100644 --- a/lambda-s3/src/test/resources/chatgpt/response2.json +++ b/lambda-s3/src/test/resources/chatgpt/response2.json @@ -2,7 +2,7 @@ "id": "cmpl-7IU7G5A8SPa6N35I1R0o5hjmVpfjM", "object": "text_completion", "created": 1684640026, - "model": "text-davinci-003", + "model": "gpt-3.5-turbo-instruct", "choices": [ { diff --git a/lambda-s3/src/test/resources/chatgpt/response3.json b/lambda-s3/src/test/resources/chatgpt/response3.json index 28323f2d7..92e918b88 100644 --- a/lambda-s3/src/test/resources/chatgpt/response3.json +++ b/lambda-s3/src/test/resources/chatgpt/response3.json @@ -2,7 +2,7 @@ "id": "cmpl-7JPQbaNp7fwGfmTv2pSs2q29O5wou", "object": "text_completion", "created": 1684860333, - "model": "text-davinci-003", + "model": "gpt-3.5-turbo-instruct", "choices": [ { diff --git a/lambda-s3/src/test/resources/chatgpt/response4.json b/lambda-s3/src/test/resources/chatgpt/response4.json index 05f57c9c6..087b9ab80 100644 --- a/lambda-s3/src/test/resources/chatgpt/response4.json +++ b/lambda-s3/src/test/resources/chatgpt/response4.json @@ -2,7 +2,7 @@ "id": "cmpl-7HOmfBlUrif1MEDOLEFEtJ44A9iGq", "object": "text_completion", "created": 1684381201, - "model": "text-davinci-003", + "model": "gpt-3.5-turbo-instruct", "choices": [ { diff --git a/lambda-s3/src/test/resources/chatgpt/response5.json b/lambda-s3/src/test/resources/chatgpt/response5.json index 40e86b31f..77f495b3e 100644 --- a/lambda-s3/src/test/resources/chatgpt/response5.json +++ b/lambda-s3/src/test/resources/chatgpt/response5.json @@ -2,7 +2,7 @@ "id": "cmpl-7bwGRyeJOxasYu6ucPx5tP0pH1ohf", "object": "text_completion", "created": 1689276459, - "model": "text-davinci-003", + "model": "gpt-3.5-turbo-instruct", "choices": [ {