Skip to content

Commit

Permalink
0.0.83 : Add revision ID (#366)
Browse files Browse the repository at this point in the history
  • Loading branch information
hinthornw authored Jan 18, 2024
1 parent 72db54b commit 4caf024
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ os.environ["LANGCHAIN_API_KEY"] = "<YOUR-LANGSMITH-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
Expand Down
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 4caf024

Please sign in to comment.