Hello 김봉기 ,
Thank you for reaching out on the Microsoft Q&A .
To achieve consistent responses with Azure OpenAI's seed parameter, consider the following:
- Set an integer value for the seed parameter in your
client.chat.completions.create()
call (e.g., seed=42). - Lower the
max_tokens
value if possible, as higher settings can lead to more variability. - Check the
system_fingerprint
parameter in responses; if this changes with the same seed, there may be backend changes affecting consistency. - For consistency, think about pre-computing common responses or using custom logic.
For more details, refer to Azure's official documentation.
If the information is useful, please accept the answer and upvote it to assist other community members.