mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-12 00:37:04 +00:00
update langchain examples
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from langchain.llms import Ollama
|
||||
llm = Ollama(model="llama2")
|
||||
res = llm.predict("hi!")
|
||||
res = llm.predict("hello")
|
||||
print (res)
|
||||
|
||||
Reference in New Issue
Block a user