Skip to content

Commit

Permalink
Update DataSources enum to use textDavinci_003
Browse files Browse the repository at this point in the history
  • Loading branch information
Saik0s committed Feb 8, 2023
1 parent 899c7ef commit 3d94adb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Clients/DataSources.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public enum DataSources {
static func generateCompletion(for prompt: String, temperature: Double = 0.7, max_tokens: Int = 700,
frequency_penalty: Double = 0) async throws -> String {
let query = OpenAI.CompletionsQuery(
model: .textChatDavinci,
model: .textDavinci_003,
prompt: prompt,
temperature: temperature,
max_tokens: max_tokens,
Expand Down

0 comments on commit 3d94adb

Please sign in to comment.