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

Convert message options to seperate class #12

Closed
chiouyazo opened this issue Dec 30, 2023 · 1 comment
Closed

Convert message options to seperate class #12

chiouyazo opened this issue Dec 30, 2023 · 1 comment

Comments

@chiouyazo
Copy link

See here for available options: https://github.com/jmorganca/ollama/blob/main/docs/modelfile.md#valid-parameters-and-values

The options are currently just a string, which is... not optimal
It should rather be a class which has all available options.
So you can set them easier, and then only the ones which arent null get parsed into the request

@chiouyazo
Copy link
Author

chiouyazo commented Dec 31, 2023

Implemented in #15

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