sreepathi-ravikumar commited on
Commit
ffccc5e
·
verified ·
1 Parent(s): e0be9b3

Update text2generation.py

Browse files
Files changed (1) hide show
  1. text2generation.py +2 -2
text2generation.py CHANGED
@@ -19,8 +19,8 @@ def generate_long_answer(question):
19
  "role": "user",
20
  "content": f"Provide a comprehensive educational answer with examples:\n\n{question}"
21
  }],
22
- "temperature": 0.7,
23
- "max_tokens": 2000
24
  }
25
  )
26
  response.raise_for_status()
 
19
  "role": "user",
20
  "content": f"Provide a comprehensive educational answer with examples:\n\n{question}"
21
  }],
22
+ "temperature": 0.3,
23
+ "max_tokens": 700
24
  }
25
  )
26
  response.raise_for_status()