Dockerized Langchain / PY example (#175)

This commit is contained in:
Dave 2023-05-04 02:41:13 -04:00 committed by GitHub
parent e59bad89e7
commit 07c3aa1869
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 137 additions and 10 deletions

View file

@ -0,0 +1,6 @@
from langchain.llms import OpenAI
llm = OpenAI(temperature=0.9,model_name="gpt-3.5-turbo")
text = "What would be a good company name for a company that makes colorful socks?"
print(llm(text))