diff --git a/examples/langchain-python-simple/main.py b/examples/langchain-python-simple/main.py index 8d6989c8..dafff827 100644 --- a/examples/langchain-python-simple/main.py +++ b/examples/langchain-python-simple/main.py @@ -1,6 +1,6 @@ from langchain.llms import Ollama -input = input("What is your question?") +input = input("What is your question?\n> ") llm = Ollama(model="llama3.2") -res = llm.predict(input) +res = llm.invoke(input) print (res)