instructor-js icon indicating copy to clipboard operation
instructor-js copied to clipboard

Cannot connect to Ollama Endpoint.

Open lanluu opened this issue 1 year ago • 1 comments

I received the following issue by using an Ollama Endpoint: http://my_server_ip:11434/api.

[Instructor:DEBUG] 2024-10-08T07:13:46.505Z: Unknown provider - cant validate options.

It is noted that:

  • I am using TS Lib.
  • The correct prefix by our server is /api, instead of /v1.

Your help is much appreciated!

lanluu avatar Oct 08 '24 07:10 lanluu

I also tried prefix /v1 but it did not work.

lanluu avatar Oct 08 '24 07:10 lanluu

that is just a debug warning saying thata the client you are using is not explicitly type checked. Sorry this is coming so late.

roodboi avatar Jan 14 '25 04:01 roodboi