Model Garden‚ÄãVertex Model Garden exposes open-sourced models that can be deployed and served on Vertex AI. If you have successfully deployed a model from Vertex Model Garden, you can find a corresponding Vertex AI endpoint in the console or via API.from langchain.llms import VertexAIModelGardenllm = VertexAIModelGarden(    project="YOUR PROJECT",    endpoint_id="YOUR ENDPOINT_ID")print(llm("What is the meaning of life?"))Like all LLMs, we can then compose it with other components:prompt = PromptTemplate.from_template("What is the meaning of {thing}?")chian = prompt | llmprint(chain.invoke({"thing": "life"}))PreviousForefrontAINextGooseAISetting upUsing in a chainCode generation exampleFull generation infoAsynchronous callsStreaming callsVertex Model GardenCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright ¬© 2023 LangChain, Inc.
Note: This is separate from the Google PaLM integration, it exposes Vertex AI PaLM API on Google Cloud.
Note: This is separate from the Google PaLM integration, it exposes Vertex AI PaLM API on Google Cloud. ->: Model Garden‚ÄãVertex Model Garden exposes open-sourced models that can be deployed and served on Vertex AI. If you have successfully deployed a model from Vertex Model Garden, you can find a corresponding Vertex AI endpoint in the console or via API.from langchain.llms import VertexAIModelGardenllm = VertexAIModelGarden(    project="YOUR PROJECT",    endpoint_id="YOUR ENDPOINT_ID")print(llm("What is the meaning of life?"))Like all LLMs, we can then compose it with other components:prompt = PromptTemplate.from_template("What is the meaning of {thing}?")chian = prompt | llmprint(chain.invoke({"thing": "life"}))PreviousForefrontAINextGooseAISetting upUsing in a chainCode generation exampleFull generation infoAsynchronous callsStreaming callsVertex Model GardenCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright ¬© 2023 LangChain, Inc.