diff --git a/docs/tutorials/langchainjs.md b/docs/tutorials/langchainjs.md index 94dc9081..7cd4012f 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); ```