This website requires JavaScript.
Explore
Help
Sign In
pali112
/
ollama
Watch
1
Star
0
Fork
You've already forked ollama
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
a21a8bef56
ollama
/
examples
/
langchain
/
main.py
5 lines
100 B
Python
Raw
Blame
History
from
langchain
.
llms
import
Ollama
llm
=
Ollama
(
model
=
"
llama2
"
)
res
=
llm
.
predict
(
"
hi!
"
)
print
(
res
)
Reference in New Issue
View Git Blame
Copy Permalink