I found out this which may help to control the temp and top_p at the same time for the code generation purpose:
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Reproducible outputs in Assistants API | 3 | 350 | April 2, 2025 | |
| How to set temperature and other sampling parameters of model in Open AI Assistant api? | 41 | 20718 | May 31, 2024 | |
| Is there a way to set a a "random seed" for responses with temperature > 0? | 11 | 14983 | November 6, 2023 | |
| ChatCompletions are not deterministic even with seed set, temperature=0, top_p=0, n=1 | 9 | 2207 | October 7, 2024 | |
| Seeking Assistance on Achieving Determinism in OpenAI Models | 2 | 1140 | August 6, 2024 |