Closed vraagje closed 1 month ago
Hi @vraagje, thank you for the notes!
Anthropic doesn't come with an embeddings driver, so in their documentation they recommend using VoyageAI: https://docs.anthropic.com/en/docs/build-with-claude/embeddings.
I'll find out if there's another service we can use that doesn't require an api key, but in the meantime you can pick one up at their website in your dashboard: https://dash.voyageai.com/
Thank you for the note about the extras! I'll fix that right away!
-Jason
I've just merged in a fix for fixing the requirements.txt extras.
As for the embeddings, I can create drivers for those so you can swap out a different embeddings driver for your agent if you want. That way you can use any of the embeddings drivers here:
https://docs.griptape.ai/stable/griptape-framework/drivers/embedding-drivers/
Eh.. thanks Jason, but I'm still confused. The Anthropic API key in the .env file was working fine before. At this point, I don't believe I need embeddings for simple image descriptions, right?. My main concern is getting the "Griptape Agent Config: Anthropic" to function... Anyway I try tomorrow the voyageai thing.
It's strange it was working before, because the VoyageAI key should have always been required with Anthropic - but by tomorrow I should have this new functionality checked in that lets you build your own config.. with any embedding driver/image generation driver/prompt model configuration you want.
I'm just building out all the nodes now. :)
Thanks!, I try tomorrow. (and yes, it all worked before without VoyageAI, never used or heard of them before)
Just had time to test Anthropic API config with additional VoyageAI API key, and yes it worked as expected. Thanks for your help. I'm really impressed by these nodes. Great work!
Updated today and now facing an Anthropic API key error. OpenAI and Ollama are working fine. I've checked the key in .env , Anthropic credits, and reinstalled Griptape, but the issue remains. Any ideas on how to resolve this? And why is a "voyageai" key needed for Claude Sonnet?
I also noticed when re-installing Griptape I get the following warnings: