Skip to content

Commit 524b519

Browse files
committed
Update LangChain example.
1 parent 6a8bb9f commit 524b519

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/source/user_guide/large_language_model/langchain_models.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,12 @@ Chat models takes `chat messages <https://python.langchain.com/docs/concepts/#me
9696
9797
llm = ChatOCIModelDeploymentVLLM(
9898
model="odsc-llm",
99-
endpoint= f"https://modeldeployment.oci.customer-oci.com/<OCID>/predict",
99+
endpoint=f"<oci_model_deployment_url>>/predict",
100100
# Optionally you can specify additional keyword arguments for the model.
101101
max_tokens=32,
102102
)
103103
104104
messages = [
105-
SystemMessage(content="You're a helpful assistant providing concise answers."),
106105
HumanMessage(content="Who's the first president of United States?"),
107106
]
108107

0 commit comments

Comments
 (0)