Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/docs/integrations/providers/modelscope.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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")
```
Loading