add langchain examples

This commit is contained in:
Jeffrey Morgan
2023-08-09 11:49:22 -07:00
parent 820f95c4c4
commit 55aa4aaf0f
10 changed files with 79 additions and 1 deletions

View File

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