Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] How to set seed/TOP K/temperature parameters when calling GPT4o API? #117

Open
stevenhe1988 opened this issue Dec 5, 2024 · 1 comment

Comments

@stevenhe1988
Copy link

stevenhe1988 commented Dec 5, 2024

Hello

Thanks for building zerox, it's quite easy to use. And I am currently using a customized prompt when calling GPT4o API, is there any place I can set seed/TOP K/temperature parameter? I want to set some fixed parameters so I can compare result from different prompts. I'm using py_zerox

Thanks

@stevenhe1988
Copy link
Author

OK, I knew it...
Just add parameters in kwargs

## placeholder for additional model kwargs which might be required for some models
kwargs = {
    "seed": 42
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant