mirror of
https://github.com/ollama/ollama.git
synced 2025-04-09 04:18:05 +02: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)
|