MoneyPrinterTurbo icon indicating copy to clipboard operation
MoneyPrinterTurbo copied to clipboard

Ollama Set Up

Open Jared1407 opened this issue 9 months ago • 2 comments

Running ollama on localhost:11434, I get the following error:

image

Here is the LLM Setup: image

And here is the ollama service running: image

Any help would be greatly appreciated!!

Jared1407 avatar Apr 24 '24 22:04 Jared1407

Are you deploying with Docker? If it's deployed with Docker, the base URL should be http://host.docker.internal:11434/

harry0703 avatar Apr 25 '24 02:04 harry0703

Ok that worked, however now in the Ollama logs the call to /chat/completions returns a 404 error

image

image

Jared1407 avatar Apr 25 '24 21:04 Jared1407

The full base url should be: http://host.docker.internal:11434/v1

harry0703 avatar Apr 26 '24 02:04 harry0703

The same error shows up, should it not be calling the Ollama api with /api/generate? image image image

Jared1407 avatar Apr 26 '24 06:04 Jared1407

you should run command ollama list to check the models you installed. and then set a valid model name.

harry0703 avatar Apr 26 '24 06:04 harry0703