TfTHacker / obsidian-ai-templater

Extends Templater with AI Chat commands using the OpenAI Client Library
https://tfthacker.com/AIT
MIT License
19 stars 0 forks source link

Ollama support #2

Open dxcore35 opened 2 months ago

dxcore35 commented 2 months ago

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.

TfTHacker commented 2 months ago

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

TfTHacker commented 2 months ago

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.

dxcore35 commented 3 days ago

Any updates on this?