Replies: 2 comments 1 reply
-
The error "Unable to verify model params" you're encountering with const chat = new ChatGoogleVertexAI({
customModelURL: "your-custom-model-url", // Replace with your model's URL
temperature: 0.7, // Adjust as needed
maxOutputTokens: 256, // Adjust as needed
topP: 0.9, // Adjust as needed
topK: 40 // Adjust as needed
}); Replace Ensure the following to troubleshoot further:
For detailed examples and more information, consider looking into the Sources
|
Beta Was this translation helpful? Give feedback.
-
@drorIvry Hi, did u found solution? |
Beta Was this translation helpful? Give feedback.
-
Checked other resources
Commit to Help
Example Code
Description
I'm trying to use
ChatVertexAI
to work with a fine tuned version of gemini deployed via VertexAI.using the above code I got the following error:
Error: Unable to verify model params
I couldn't find anything in the documentation regarding this, anyone has an idea?
System Info
pnpm info langchain
langchain@0.1.34 | MIT | deps: 17 | versions: 265
Typescript bindings for langchain
platform mac/linux
node --version
v20.3.1
Beta Was this translation helpful? Give feedback.
All reactions