Skip to content

Commit

Permalink
Add source_run_id to example (#349)
Browse files Browse the repository at this point in the history
  • Loading branch information
hinthornw authored Jan 9, 2024
1 parent a1c5550 commit 37662f3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "langsmith",
"version": "0.0.56",
"version": "0.0.57",
"description": "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform.",
"files": [
"dist/",
Expand Down
1 change: 1 addition & 0 deletions js/src/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ export interface Example extends BaseExample {
id: string;
created_at: string;
modified_at: string;
source_run_id?: string;
runs: Run[];
}

Expand Down
1 change: 1 addition & 0 deletions python/langsmith/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ class Example(ExampleBase):
created_at: datetime
modified_at: Optional[datetime] = Field(default=None)
runs: List[Run] = Field(default_factory=list)
source_run_id: Optional[UUID] = None
_host_url: Optional[str] = PrivateAttr(default=None)
_tenant_id: Optional[UUID] = PrivateAttr(default=None)

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.78"
version = "0.0.79"
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 37662f3

Please sign in to comment.