brianpetro / obsidian-smart-connections

Chat with your notes & see links to related content with AI embeddings. Use local models or 100+ via APIs like Claude, Gemini, ChatGPT & Llama 3
https://smartconnections.app
GNU General Public License v3.0
2.51k stars 172 forks source link

[Feature request] Support Claude API #364

Closed DelmarHuang closed 2 months ago

DelmarHuang commented 10 months ago

Hi Brian, thank you very much for this amazing plugin! Is it possible to support Claude API too? Thanks again!

clening commented 6 months ago

I see that Claude support is now added -- I was wondering if there's a way to change which model is specifically being called? Currently it defaults to Opus (which is lovely, but omg expensive) and I was wondering if an option for sonnet/haiku could also be added? Manual editing in the data.json file doesn't seem to have any effect and just creates an error.

brianpetro commented 6 months ago

Hey @clening

There's a models.json compiled into the main.js that needs to be edited.

Since all the groundwork was laid for opus, I should be able to get those other two models added quickly. I'm away from my desk right now, but I'll get those added within the next few days.

🌴

brianpetro commented 6 months ago

@clening sonnet and haiku have been added in v2.1.6.

I like the quickness of haiku.

Next time you restart Obsidian/Smart Connections, the v2.1 early access/beta should automatically update to the new version.

🌴

clening commented 6 months ago

Wow! Thanks Brian, that was incredibly quick work. Thanks so much.

C

On Sun 17 Mar 2024, 20:56 WFH Brian, @.***> wrote:

@clening https://github.com/clening sonnet and haiku have been added in v2.1.6.

I like the quickness of haiku.

Next time you restart Obsidian/Smart Connections, the v2.1 early access/beta should automatically update to the new version.

🌴

— Reply to this email directly, view it on GitHub https://github.com/brianpetro/obsidian-smart-connections/issues/364#issuecomment-2002614438, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3JRQKZEHEPWERZTPTAR53YYX7PXAVCNFSM6AAAAAA677PVDOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBSGYYTINBTHA . You are receiving this because you were mentioned.Message ID: @.***>

brianpetro commented 2 months ago

Closing since Claude models, including Sonnet 3.2 are now available in v2.1 🌴😊