diff --git a/python/README.md b/python/README.md index 5c9e30be3..77c29534d 100644 --- a/python/README.md +++ b/python/README.md @@ -57,13 +57,13 @@ os.environ["LANGCHAIN_API_KEY"] = "" If the environment variables are correctly set, your application will automatically connect to the LangSmith platform. ```python -from langchain.chat_models import ChatOpenAI +from langchain_core.runnables import chain -chat = ChatOpenAI() -response = chat.predict( - "Translate this sentence from English to French. I love programming." -) -print(response) +@chain +def add_val(x: dict) -> dict: + return {"val": x["val"] + 1} + +add_val({"val": 1}) ``` ### Logging Traces Outside LangChain diff --git a/python/pyproject.toml b/python/pyproject.toml index a9f72ee9b..fa150b0b3 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "langsmith" -version = "0.0.82" +version = "0.0.83" description = "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform." authors = ["LangChain "] license = "MIT"