ArvindSelvaraj
commited on
Update backend.py
Browse files- backend.py +1 -1
backend.py
CHANGED
@@ -50,7 +50,7 @@ def generate_testcases(user_story):
|
|
50 |
messages=[
|
51 |
{"role": "user", "content": prompt}
|
52 |
],
|
53 |
-
temperature=0.
|
54 |
top_p=0.5, # Prioritize high-probability tokens even more
|
55 |
max_tokens=4096, # Increase max tokens to allow longer content
|
56 |
stream=True # Streaming the response for faster retrieval
|
|
|
50 |
messages=[
|
51 |
{"role": "user", "content": prompt}
|
52 |
],
|
53 |
+
temperature=0.03, # Further lowering temperature for precise and deterministic output
|
54 |
top_p=0.5, # Prioritize high-probability tokens even more
|
55 |
max_tokens=4096, # Increase max tokens to allow longer content
|
56 |
stream=True # Streaming the response for faster retrieval
|