Feat/add langsmith dotted order (#10856)

This commit is contained in:
Joe
2024-11-19 21:08:23 +08:00
committed by GitHub
parent bd05df5cc5
commit 2dc29cfee3
3 changed files with 37 additions and 1 deletions

View File

@@ -49,6 +49,7 @@ class LangSmithRunModel(LangSmithTokenUsage, LangSmithMultiModel):
reference_example_id: Optional[str] = Field(None, description="Reference example ID associated with the run")
input_attachments: Optional[dict[str, Any]] = Field(None, description="Input attachments of the run")
output_attachments: Optional[dict[str, Any]] = Field(None, description="Output attachments of the run")
dotted_order: Optional[str] = Field(None, description="Dotted order of the run")
@field_validator("inputs", "outputs")
@classmethod