You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/lib/OpenAi.jsx
+3-3
Original file line number
Diff line number
Diff line change
@@ -7,15 +7,15 @@ const openai = new OpenAI({
7
7
8
8
exportasyncfunctionsendMessage(message){
9
9
constparams={
10
-
model: 'gpt-3.5-turbo',
10
+
model: 'gpt-3.5-turbo-16k',
11
11
temperature: 0.7,// how creative OpenAi should be (0 - 1)
12
-
max_tokens: 400,
12
+
max_tokens: 10000,
13
13
frequency_penalty: 0.01,// parametr frequency_penalty pozwala sterować różnorodnością generowanego tekstu przez model GPT, modyfikując rozkład prawdopodobieństwa, aby rzadziej generować słowa, które model częściej widział podczas treningu.
14
14
top_p: 1,// shrinks or grows the “pool” of available tokens to choose from, the domain to select over. 1=big pool, 0=small pool
0 commit comments