Skip to content

Commit 793b473

Browse files
authored
Merge pull request #10 from 1openwindow/1openwindow-patch-1
Update README.md
2 parents ec5791e + 2a7527b commit 793b473

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,10 @@ To migrate from the official OpenAI model to the Azure OpenAI model, you can jus
5959
const response = await this.openAiApi.createCompletion({
6060
model: {your-azure-openai-resource-deployment-name},
6161
prompt: prompt,
62-
maxTokens: 100,
63-
temperature: 0.9,
64-
topP: 1,
65-
presencePenalty: 0,
66-
frequencyPenalty: 0,
67-
bestOf: 1,
62+
max_tokens: 100,
63+
top_p: 1,
64+
frequency_penalty: 0,
65+
presence_penalty: 0
6866
});
6967
```
7068

0 commit comments

Comments
 (0)