Skip to content

Commit

Permalink
[NOID] Replaced Open AI model (#3855)
Browse files Browse the repository at this point in the history
  • Loading branch information
vga91 authored Dec 19, 2023
1 parent 0d50b37 commit 36db374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion full/src/main/java/apoc/ml/OpenAI.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public Stream<MapResult> completion(@Name("prompt") String prompt, @Name("api_ke
"usage": { "prompt_tokens": 5, "completion_tokens": 7, "total_tokens": 12 }
}
*/
return executeRequest(apiKey, configuration, "completions", "text-davinci-003", "prompt", prompt, "$", apocConfig)
return executeRequest(apiKey, configuration, "completions", "gpt-3.5-turbo-instruct", "prompt", prompt, "$", apocConfig)
.map(v -> (Map<String,Object>)v).map(MapResult::new);
}

Expand Down

0 comments on commit 36db374

Please sign in to comment.