Skip to content

Commit

Permalink
Merge pull request #106 from mjdierkes/patch-1
Browse files Browse the repository at this point in the history
Typo in ReadME
  • Loading branch information
ingvarus-bc authored Nov 9, 2023
2 parents c45f332 + e1a6d0b commit 2093142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ struct CompletionsResult: Codable, Equatable {
**Example**

```swift
let query = CompletionsQuery(model: .textDavinci_003, prompt: "What is 42?", temperature: 0, max_tokens: 100, top_p: 1, frequency_penalty: 0, presence_penalty: 0, stop: ["\\n"])
let query = CompletionsQuery(model: .textDavinci_003, prompt: "What is 42?", temperature: 0, maxTokens: 100, topP: 1, frequencyPenalty: 0, presencePenalty: 0, stop: ["\\n"])
openAI.completions(query: query) { result in
//Handle result here
}
Expand Down

0 comments on commit 2093142

Please sign in to comment.