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)
|