mirror of
https://github.com/cloudstack-llc/ollama.git
synced 2026-07-16 10:34:26 -04:00
0be8baad2b
* Update example models * Remove unused README.md
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)
|