Last active
March 10, 2023 16:15
-
-
Save HelloElisaRose/736df2a7c8d0c4a95b0c1a405ee17386 to your computer and use it in GitHub Desktop.
langchain-article-1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from langchain.llms import OpenAI | |
llm = OpenAI(temperature=0.9) | |
answer: str = llm( | |
"What would be a good company name for " | |
"a company that makes colorful socks?" | |
) | |
print(answer) # prints something like `Socktastic!' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment