Open traddo opened 4 months ago
It seems, this is not possible from the side of ollama mimicing the openai-api since the openai-api does not honor options even if you present them to it.
ollama doc on that: https://github.com/ollama/ollama/blob/main/docs/openai.md#setting-the-context-size
anyhow, if you want to include options in the request, this works: https://gist.github.com/vroomfondel/eb1fb4ac3319b22f9dc3d9ff658ce0c9
I'm encountering an error when trying to set parameters such as num_ctx and temperature for my request.