mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-10 15:57:04 +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.1")
|
|
res = llm.predict(input)
|
|
print (res)
|