Find answers from the community

Updated 4 months ago

Ensuring Independent API Calls to Ollama

At a glance

The community member who posted the original question is asking if there is a way to ensure no shared context is maintained between calls to the ollama API, and if each API call is treated as independent. A community member responded that it depends on how ollama is being used, and that by default it is stateless, but it also depends on what the caller is passing in. There is no explicitly marked answer to the original question.

Is there a way to ensure no shared context is maintained between calls, and every api call to ollama is treated as independent ?
L
1 comment
It depends on how ollama is being used right? by default its stateless, but it also depends on what the caller is passing in
Add a reply
Sign up and join the conversation on Discord