Closed sammcj closed 1 month ago
Thank you Sam for the suggestion, I've made another branch to implement those (ollama_config).
Can you check and confirm that this is working on your usage, before I merge the branch ?
I've create an examples/testing_examples.go but I am not sure it emulate how you are using it, neither if it's working.
You should be able to add any params, by using SetXXX inside the NewLLM. You can find the complete list inside the config.go.
Thanks,
I've merge them, it should be working.
Oh gosh sorry I completely missed this!
Thanks so much for adding them, that's great :)
It would be great if you could set basic interference parameters with gollm.
Temperature by itself is a rather crude way of affecting the generation, instead you can use better algorithms to influence the quality of the output such as:
Ollama has a useful table of the parameters available:
stop
parameters in a modelfile.