Skip to content

Instantly share code, notes, and snippets.

@jzone3
Last active February 1, 2023 20:40
Show Gist options
  • Save jzone3/47a882fd1308ce05480bbf1a7a645877 to your computer and use it in GitHub Desktop.
Save jzone3/47a882fd1308ce05480bbf1a7a645877 to your computer and use it in GitHub Desktop.
LangChain with PromptLayer
# from langchain.llms import OpenAI
from promptlayer.langchain.llms import OpenAI
llm = OpenAI(temperature=0.4, pl_tags=["langchain_test"])
# Do some magic
print(llm("My name is"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment