-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ChatVertexAI doesn't work with tuned model #441
Comments
yes, it's not supported yet, a good feature to be added. |
@bart-automation could you try the following, please: pass both |
Hi @lkuligin , that is what I did, see my sample code above |
just tested it, works fine on my side:
I'm sorry for asking, but are you sure you have the latest version of libraries installed and no typos in the endpoint's name? |
Thanks for testing it, yes I'm using the latest version of langchain-google-vertexai and langchain-core. I also double checked the endpoint name. Just to confirm, what is the format you are using for the endpoint name? |
Could you compare two requests, please?
|
Yes, both requests are the same |
Tuned model works with VertexAI but not ChatVertexAI:
This works:
Using vertexai directly works:
Using "ChatVertexAI" results in 404 error:
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
E status = StatusCode.NOT_FOUND
E details = "Endpoint
projects/XXXXXXXXXXXX/locations/us-west1/endpoints/XXXXXXXXXXXXXXXXXXX
not found."langchain-google-vertexai: 1.0.8
langchain-core: 0.2.32
The text was updated successfully, but these errors were encountered: