mirror of
https://github.com/ollama/ollama.git
synced 2025-11-18 06:16:54 +01:00
5 lines
100 B
Python
5 lines
100 B
Python
from langchain.llms import Ollama
|
|
llm = Ollama(model="llama2")
|
|
res = llm.predict("hi!")
|
|
print (res)
|