Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
700c719422fcaa0570035e1d4e3d27e32e343aa8
700c719422fcaa0570035e1d4e3d27e32e343aa8
Switch branch/tag
ollama
examples
langchain
main.py
Find file
Normal view
History
Permalink
main.py
100 Bytes
Edit
Web IDE
Newer
Older
add langchain examples
Jeffrey Morgan
committed
Aug 10, 2023
1
2
3
4
from
langchain.llms
import
Ollama
llm
=
Ollama
(
model
=
"llama2"
)
res
=
llm
.
predict
(
"hi!"
)
print
(
res
)