Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

Update langchainjs.md (#2030)

Carlos Gameza27e419b478d
diff --git a/docs/tutorials/langchainjs.md b/docs/tutorials/langchainjs.md
index 94dc90814..7cd4012fe 100644
--- a/docs/tutorials/langchainjs.md
+++ b/docs/tutorials/langchainjs.md
@@ -18,7 +18,7 @@ const ollama = new Ollama({
model: "llama2",
});
-const answer = await ollama.call(`why is the sky blue?`);
+const answer = await ollama.invoke(`why is the sky blue?`);
console.log(answer);
```