obsidian-ai-templater icon indicating copy to clipboard operation
obsidian-ai-templater copied to clipboard

Ollama support

Open dxcore35 opened this issue 1 year ago • 2 comments

Please support local models on Ollama. As I know the API is almost same! Thank you. I have been looking for Templater and AI connection for so long.

dxcore35 avatar Apr 28 '24 11:04 dxcore35

I have tested this with LM studio. Have you tried with Ollam's? I haven't.

TfTHacker avatar Apr 28 '24 11:04 TfTHacker

I had a chance to look closer, and well, ollama has a CORS issue with the openai library. I think this will get fixed..

LM Studio requires CORS to be on and it works just fine.

TfTHacker avatar Apr 30 '24 16:04 TfTHacker

Any updates on this?

dxcore35 avatar Jun 27 '24 16:06 dxcore35

@dxcore35 I just tested this with the most recent update to Ollama and it worked for me. The issue was related to how they handle CORS, so it was a limitation in their API. Please let me know if it works for you now.

TfTHacker avatar Jul 31 '24 11:07 TfTHacker