Find answers from the community

Home
Members
paintingAbsences
p
paintingAbsences
Offline, last seen 3 months ago
Joined September 25, 2024
Wondering if this issue was ever ran by anyone?

Error: 500 - {"detail":"An error occurred: Error code: 400 - {'type': 'error', 'error': {'type': 'invalid_request_error', 'message': 'Your credit balance is too low to access the Claude API. Please go to Plans & Billing to upgrade or purchase credits.'}}"}

(I have a valid API key that's both paid + has a decent balance ($30)). Should I try to create a new api key as a test? (I've tried on two api -- neither works they give same issue). Wondering if it has to do with versioning maybe for the API? Not sure where one would find the version that llama-index uses for anthropic?
1 comment
p
ImportError: cannot import name 'LangchainEmbedding' from 'llama_index.core.base.embeddings'
Is this due to the way imports have been changed?
This is how I'm importing;

Plain Text
py 
from llama_index.core.base.embeddings import LangchainEmbedding

Also tried
Plain Text
py from llama_index.core.embeddings import LangchainEmbedding

But both/all seem to give same issue, so wondering if the LangchainEmbeddings got moved somewhere? I was looking at the doc and couldn't find it.

  1. from llama_index.llms.langchain import LangChainLLM
Is this mainly used for OpenAI/GPT models rather than using anthropic? I noticed that anthropic has their own;
: from llama_index.llms.anthropic import Anthropic
Also has the standard been changed to use llama_index.core. (...) for versions of llama_index .11 and higher?
22 comments
p
L