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 | 453 | April 2, 2025 | |
| How to set temperature and other sampling parameters of model in Open AI Assistant api? | 41 | 21292 | May 31, 2024 | |
| Is there a way to set a a "random seed" for responses with temperature > 0? | 11 | 15182 | November 6, 2023 | |
| ChatCompletions are not deterministic even with seed set, temperature=0, top_p=0, n=1 | 9 | 2353 | October 7, 2024 | |
| Seeking Assistance on Achieving Determinism in OpenAI Models | 2 | 1236 | August 6, 2024 |