While I try to connect to llama3.1 with langchain (VertexModelGardenLlama), I am getting this error
"error": { "code": 400, "message": "Project `XXXXXXXX` is not allowed to use Publisher Model `projects/643892325147/locations/us-central1/publishers/meta/models/llama3-70b-instruct-maas`",
"status": "FAILED_PRECONDITION" }
The model that I am trying to connect to is `meta/llama3-70b-instruct-maas`
I notice that when I curl the command it works. It seems like it may be the langchain issue. If so, what is another way to connect to vertex ai llama using langchain?
Hi @wonhs91,
Welcome to Google Cloud Community!
It seems that you are encountering an error when connecting to the Llama 3.1 model using LangChain (VertexModelGardenLlama). Permission issues may be the cause of this error.
You might find the following helpful information in addressing your concerns:
I hope the above information is helpful.
I gave the correct IAM permissions, to my project but still obtain the same error.
I want to ask again the OP question: It seems like it may be the langchain issue. If so, what is another way to connect to vertex ai llama using langchain?
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |