pepperoni21 / ollama-rs

A Rust library allowing to interact with the Ollama API.
MIT License
478 stars 73 forks source link

feat: make GenerationOptions deserializable #28

Closed AlexisTM closed 7 months ago

AlexisTM commented 7 months ago

Having the GenerationOptions deserializable allows for the options to be loaded at runtime.

dezoito commented 7 months ago

@AlexisTM , can you post an example on how you are loading them at runtime after this commit?