From 05e967e9c3e8e9ad5f4f5eb72957873a01eb9674 Mon Sep 17 00:00:00 2001 From: yrk <2493404415@qq.com> Date: Fri, 5 Sep 2025 14:41:04 +0800 Subject: [PATCH] Update modelscope.mdx --- docs/docs/integrations/providers/modelscope.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docs/integrations/providers/modelscope.mdx b/docs/docs/integrations/providers/modelscope.mdx index 30c50e33bd58a..cb991e6cb7199 100644 --- a/docs/docs/integrations/providers/modelscope.mdx +++ b/docs/docs/integrations/providers/modelscope.mdx @@ -40,11 +40,11 @@ embeddings.embed_query("What is the meaning of life?") ``` ## LLMs -`ModelScopeLLM` class exposes LLMs from ModelScope. +`ModelScopeEndpoint` class exposes LLMs from ModelScope. ```python -from langchain_modelscope import ModelScopeLLM +from langchain_modelscope import ModelScopeEndpoint -llm = ModelScopeLLM(model="Qwen/Qwen2.5-Coder-32B-Instruct") +llm = ModelScopeEndpoint(model="Qwen/Qwen2.5-Coder-32B-Instruct") llm.invoke("The meaning of life is") ```