lucagrippa / obsidian-ai-tagger

Simplify tagging in Obsidian. Instantly analyze and tag your document with one click for efficient note organization. OpenAI or MistralAI API key required
MIT License
27 stars 5 forks source link

Feature request: Add a openai base url so one can query custom compatible LLM servers #2

Closed lstep closed 3 months ago

lstep commented 3 months ago

I don't know the javascript/typescript version of @langchain/openai, but would it be possible to add an api base url parameter alongside the openAIApiKey parameter so we could use AI Tagger with custom OpenAI compatible local LLM servers?

lucagrippa commented 3 months ago

Just went ahead and added support for custom Base URLs. Thanks for the feature request! Let me know if there are any issues with the latest release.