mirror of
https://github.com/ollama/ollama.git
synced 2025-03-30 04:32:02 +02:00
7 lines
146 B
Python
7 lines
146 B
Python
from langchain.llms import Ollama
|
|
|
|
input = input("What is your question?\n> ")
|
|
llm = Ollama(model="llama3.2")
|
|
res = llm.invoke(input)
|
|
print (res)
|