Fixing migration docs

pull/21906/head
Maxime Perrin 2 weeks ago
parent 242eeb537f
commit 9eb4860504

@ -69,11 +69,11 @@ After the second run, youll get: `from langchain_openai import ChatOpenAI`
```bash
# Run a first time
# Will replace from langchain.chat_models import ChatOpenAI
langchain-cli migrate [path to code] --diff # Preview
langchain-cli migrate --diff [path to code] # Preview
langchain-cli migrate [path to code] # Apply
# Run a second time to apply more import replacements
langchain-cli migrate [path to code] --diff # Preview
langchain-cli migrate --diff [path to code] # Preview
langchain-cli migrate [path to code] # Apply
```

Loading…
Cancel
Save