mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-10 15:57:04 +00:00
5 lines
102 B
Python
5 lines
102 B
Python
from langchain.llms import Ollama
|
|
llm = Ollama(model="llama2")
|
|
res = llm.predict("hello")
|
|
print (res)
|