4 lines
102 B
Python
4 lines
102 B
Python
from langchain.llms import Ollama
|
|
llm = Ollama(model="llama2")
|
|
res = llm.predict("hello")
|
|
print (res)
|