Skip to content

Instantly share code, notes, and snippets.

@business24ai
Created August 13, 2023 07:33
Show Gist options
  • Save business24ai/e18b3003086539b04280d5ab811ac404 to your computer and use it in GitHub Desktop.
Save business24ai/e18b3003086539b04280d5ab811ac404 to your computer and use it in GitHub Desktop.
LangSmith getting started
from dotenv import load_dotenv
from langchain.chat_models import ChatOpenAI
# Load env variables
load_dotenv()
llm = ChatOpenAI(temperature=0, tags=["tag-source-app-py"])
print(llm.predict("Why do we finish a setup with hello, world!"))
@business24ai
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment