mirror of
https://github.com/ollama/ollama.git
synced 2025-05-12 02:46:36 +02:00
6 lines
143 B
Python
6 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)
|