Skip to content

Commit 364465b

Browse files
authored
docs: update modelscope.mdx (#32823)
### Description This PR is primarily aimed at updating some usage methods in the `modelscope.mdx` file. Specifically, it changes from `ModelScopeLLM` to `ModelScopeEndpoint`. ### Relevant PR The relevant PR link is: #28941
1 parent 7b874da commit 364465b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/docs/integrations/providers/modelscope.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ embeddings.embed_query("What is the meaning of life?")
4040
```
4141

4242
## LLMs
43-
`ModelScopeLLM` class exposes LLMs from ModelScope.
43+
`ModelScopeEndpoint` class exposes LLMs from ModelScope.
4444

4545
```python
46-
from langchain_modelscope import ModelScopeLLM
46+
from langchain_modelscope import ModelScopeEndpoint
4747

48-
llm = ModelScopeLLM(model="Qwen/Qwen2.5-Coder-32B-Instruct")
48+
llm = ModelScopeEndpoint(model="Qwen/Qwen2.5-Coder-32B-Instruct")
4949
llm.invoke("The meaning of life is")
5050
```

0 commit comments

Comments
 (0)