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

Change available sampling parameters depending on API #465

Open
mkbehr opened this issue Feb 26, 2025 · 0 comments
Open

Change available sampling parameters depending on API #465

mkbehr opened this issue Feb 26, 2025 · 0 comments

Comments

@mkbehr
Copy link
Collaborator

mkbehr commented Feb 26, 2025

As of today, we have frequency penalty and presence penalty parameters that can be passed through to Gemini and OpenAI APIs, but they'll be ignored for Ollama. That could confuse experimenters. The confusion could get worse if we ever add support for more complicated parameters with less-broad support (e.g. mirostat, min p). Ideally we'd note which APIs support which parameters, and only display applicable ones.

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

2 participants