Spaces:
Sleeping
Sleeping
temperature modifed
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ def segment_into_sentences_groq(passage):
|
|
36 |
"content": f"you are to segment the sentence by adding '1!2@3#' at the end of each sentence. Return only the segmented sentences only return the modified passage and nothing else do not add your responses. here is the passage:{passage}"
|
37 |
}
|
38 |
],
|
39 |
-
"temperature":
|
40 |
"max_tokens": 8192
|
41 |
}
|
42 |
response = requests.post("https://api.groq.com/openai/v1/chat/completions", json=payload, headers=headers)
|
|
|
36 |
"content": f"you are to segment the sentence by adding '1!2@3#' at the end of each sentence. Return only the segmented sentences only return the modified passage and nothing else do not add your responses. here is the passage:{passage}"
|
37 |
}
|
38 |
],
|
39 |
+
"temperature": 1.0,
|
40 |
"max_tokens": 8192
|
41 |
}
|
42 |
response = requests.post("https://api.groq.com/openai/v1/chat/completions", json=payload, headers=headers)
|