update langchain examples

This commit is contained in:
Jeffrey Morgan
2023-08-10 23:35:19 -07:00
parent 700c719422
commit efae43f932
5 changed files with 198 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
from langchain.llms import Ollama
llm = Ollama(model="llama2")
res = llm.predict("hi!")
res = llm.predict("hello")
print (res)