The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
docs: use vertexai in chat model tabs (#20352)
Bagatura889cd14f38b
diff --git a/docs/src/theme/ChatModelTabs.js b/docs/src/theme/ChatModelTabs.jsindex 09cab1f99f..073171c99d 100644--- a/docs/src/theme/ChatModelTabs.js+++ b/docs/src/theme/ChatModelTabs.js@@ -31,7 +31,7 @@ os.environ["${apiKeyName}"] = getpass.getpass()`;* @property {boolean} [hideAnthropic] - Whether or not to hide Anthropic chat model.* @property {boolean} [hideFireworks] - Whether or not to hide Fireworks chat model.* @property {boolean} [hideMistral] - Whether or not to hide Mistral chat model.- * @property {boolean} [hideGoogle] - Whether or not to hide Google chat model.+ * @property {boolean} [hideGoogle] - Whether or not to hide Google VertexAI chat model.* @property {boolean} [hideTogether] - Whether or not to hide Together chat model.* @property {string} [customVarName] - Custom variable name for the model. Defaults to `model`.*/@@ -111,9 +111,9 @@ export default function ChatModelTabs(props) {{value: "Google",label: "Google",- text: `from langchain_google_genai import ChatGoogleGenerativeAI\n\n${llmVarName} = ChatGoogleGenerativeAI(${googleParamsOrDefault})`,+ text: `from langchain_google_vertexai import ChatVertexAI\n\n${llmVarName} = ChatVertexAI(${googleParamsOrDefault})`,apiKeyName: "GOOGLE_API_KEY",- packageName: "langchain-google-genai",+ packageName: "langchain-google-vertexai",default: false,shouldHide: hideGoogle,},