mirror of
https://github.com/tcsenpai/ollama.git
synced 2025-06-04 10:20:05 +00:00
7 lines
143 B
Python
7 lines
143 B
Python
from langchain.llms import Ollama
|
|
|
|
input = input("What is your question?")
|
|
llm = Ollama(model="llama3.2")
|
|
res = llm.predict(input)
|
|
print (res)
|