Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
64f64ed
feat(api): api update
stainless-app[bot] Dec 10, 2025
2a1729e
codegen metadata
stainless-app[bot] Dec 12, 2025
2c2daeb
codegen metadata
stainless-app[bot] Dec 12, 2025
e7ba714
feat(api): api update
stainless-app[bot] Dec 12, 2025
13e585b
feat(api): api update
stainless-app[bot] Dec 13, 2025
df983a3
feat(api): api update
stainless-app[bot] Dec 16, 2025
3766f01
codegen metadata
stainless-app[bot] Dec 17, 2025
6f397c4
fix: skip usage tests that don't work with Prism
stainless-app[bot] Dec 18, 2025
9dad560
feat(api): api update
stainless-app[bot] Dec 19, 2025
a25e7e1
codegen metadata
stainless-app[bot] Dec 19, 2025
b0b5ab4
codegen metadata
stainless-app[bot] Dec 20, 2025
889043f
codegen metadata
stainless-app[bot] Dec 23, 2025
e4718d3
codegen metadata
stainless-app[bot] Dec 23, 2025
74c71ed
feat(api): api update
stainless-app[bot] Dec 23, 2025
c91fad1
codegen metadata
stainless-app[bot] Dec 24, 2025
417a5a2
codegen metadata
stainless-app[bot] Dec 31, 2025
cbcbc79
chore(internal): codegen related update
stainless-app[bot] Jan 6, 2026
779f5b7
codegen metadata
stainless-app[bot] Jan 7, 2026
f9ef5ca
codegen metadata
stainless-app[bot] Jan 7, 2026
c87524e
codegen metadata
stainless-app[bot] Jan 8, 2026
a066fdd
codegen metadata
stainless-app[bot] Jan 9, 2026
fa3e7a1
codegen metadata
stainless-app[bot] Jan 9, 2026
be90c19
codegen metadata
stainless-app[bot] Jan 9, 2026
7ed78a9
codegen metadata
stainless-app[bot] Jan 12, 2026
3236eb9
codegen metadata
stainless-app[bot] Jan 12, 2026
40886b9
feat(api): api update
stainless-app[bot] Jan 12, 2026
925146c
feat(api): api update
stainless-app[bot] Jan 14, 2026
48a336c
codegen metadata
stainless-app[bot] Jan 14, 2026
13e2d39
feat(api): manual updates
stainless-app[bot] Jan 14, 2026
429faba
release: 0.1.0-alpha.5
stainless-app[bot] Jan 14, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.0-alpha.4"
".": "0.1.0-alpha.5"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 100
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-624b469e0a8ed90f1574e609929702b6da43306d0681975f690ebda2d40a1c74.yml
openapi_spec_hash: 389b1d06dd9a4b9e83d410d8d8ece950
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-727e2aeb765fd2000313549d01ad950a2618797f18b897bc5dbdd73230e3f5e5.yml
openapi_spec_hash: 44f991ff8d10a14680b1e6926f686976
config_hash: 4c81a93850b2f9805605749a196ed2df
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# Changelog

## 0.1.0-alpha.5 (2026-01-14)

Full Changelog: [v0.1.0-alpha.4...v0.1.0-alpha.5](https://github.com/langchain-ai/langsmith-go/compare/v0.1.0-alpha.4...v0.1.0-alpha.5)

### Features

* **api:** api update ([925146c](https://github.com/langchain-ai/langsmith-go/commit/925146c93683a7b98324d8b1b2bf27b3d4deec8d))
* **api:** api update ([40886b9](https://github.com/langchain-ai/langsmith-go/commit/40886b91e1471e64dff8dfb274b8bfe179ac99f9))
* **api:** api update ([74c71ed](https://github.com/langchain-ai/langsmith-go/commit/74c71eda0feb1f9a5885404d8583671e34585fb1))
* **api:** api update ([9dad560](https://github.com/langchain-ai/langsmith-go/commit/9dad56055048b0a1376c45d125de51a9da8f7446))
* **api:** api update ([df983a3](https://github.com/langchain-ai/langsmith-go/commit/df983a31e6f0ded956237952f91aade41bed48aa))
* **api:** api update ([13e585b](https://github.com/langchain-ai/langsmith-go/commit/13e585bda50d281da4a45d9968acdf37567555cf))
* **api:** api update ([e7ba714](https://github.com/langchain-ai/langsmith-go/commit/e7ba714691bc74fb530a729ece4f1bf63159d2a4))
* **api:** api update ([64f64ed](https://github.com/langchain-ai/langsmith-go/commit/64f64ed425d061c542cdc767c2991c3065b28f30))
* **api:** manual updates ([13e2d39](https://github.com/langchain-ai/langsmith-go/commit/13e2d39dd5518d343d1dbd1fd5ef07744f9e0c9a))


### Bug Fixes

* skip usage tests that don't work with Prism ([6f397c4](https://github.com/langchain-ai/langsmith-go/commit/6f397c4441cd81e2d6ff8e85953502e1e39a8afb))


### Chores

* **internal:** codegen related update ([cbcbc79](https://github.com/langchain-ai/langsmith-go/commit/cbcbc790d92feb7a25fce8dcccdf363504e76a96))

## 0.1.0-alpha.4 (2025-12-10)

Full Changelog: [v0.1.0-alpha.3...v0.1.0-alpha.4](https://github.com/langchain-ai/langsmith-go/compare/v0.1.0-alpha.3...v0.1.0-alpha.4)
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2025 langChain
Copyright 2026 langChain

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Or to pin the version:
<!-- x-release-please-start-version -->

```sh
go get -u 'github.com/langchain-ai/langsmith-go@v0.1.0-alpha.4'
go get -u 'github.com/langchain-ai/langsmith-go@v0.1.0-alpha.5'
```

<!-- x-release-please-end -->
Expand Down
47 changes: 46 additions & 1 deletion annotationqueuerun.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,58 @@ type AnnotationQueueRunDeleteAllResponse = interface{}
type AnnotationQueueRunDeleteQueueResponse = interface{}

type AnnotationQueueRunNewParams struct {
Body []string `json:"body,required" format:"uuid"`
Body AnnotationQueueRunNewParamsBodyUnion `json:"body,required" format:"uuid"`
}

func (r AnnotationQueueRunNewParams) MarshalJSON() (data []byte, err error) {
return apijson.MarshalRoot(r.Body)
}

// Satisfied by [AnnotationQueueRunNewParamsBodyRunUuidList],
// [AnnotationQueueRunNewParamsBodyRunAddSchemaList].
type AnnotationQueueRunNewParamsBodyUnion interface {
implementsAnnotationQueueRunNewParamsBodyUnion()
}

type AnnotationQueueRunNewParamsBodyRunUuidList []string

func (r AnnotationQueueRunNewParamsBodyRunUuidList) implementsAnnotationQueueRunNewParamsBodyUnion() {
}

type AnnotationQueueRunNewParamsBodyRunAddSchemaList []AnnotationQueueRunNewParamsBodyRunAddSchemaListItem

func (r AnnotationQueueRunNewParamsBodyRunAddSchemaList) implementsAnnotationQueueRunNewParamsBodyUnion() {
}

// Schema for adding a run to an annotation queue with optional metadata.
type AnnotationQueueRunNewParamsBodyRunAddSchemaListItem struct {
RunID param.Field[string] `json:"run_id,required" format:"uuid"`
ParentRunID param.Field[string] `json:"parent_run_id" format:"uuid"`
SessionID param.Field[string] `json:"session_id" format:"uuid"`
StartTime param.Field[time.Time] `json:"start_time" format:"date-time"`
TraceID param.Field[string] `json:"trace_id" format:"uuid"`
TraceTier param.Field[AnnotationQueueRunNewParamsBodyRunAddSchemaListTraceTier] `json:"trace_tier"`
}

func (r AnnotationQueueRunNewParamsBodyRunAddSchemaListItem) MarshalJSON() (data []byte, err error) {
return apijson.MarshalRoot(r)
}

type AnnotationQueueRunNewParamsBodyRunAddSchemaListTraceTier string

const (
AnnotationQueueRunNewParamsBodyRunAddSchemaListTraceTierLonglived AnnotationQueueRunNewParamsBodyRunAddSchemaListTraceTier = "longlived"
AnnotationQueueRunNewParamsBodyRunAddSchemaListTraceTierShortlived AnnotationQueueRunNewParamsBodyRunAddSchemaListTraceTier = "shortlived"
)

func (r AnnotationQueueRunNewParamsBodyRunAddSchemaListTraceTier) IsKnown() bool {
switch r {
case AnnotationQueueRunNewParamsBodyRunAddSchemaListTraceTierLonglived, AnnotationQueueRunNewParamsBodyRunAddSchemaListTraceTierShortlived:
return true
}
return false
}

type AnnotationQueueRunUpdateParams struct {
AddedAt param.Field[time.Time] `json:"added_at" format:"date-time"`
LastReviewedTime param.Field[time.Time] `json:"last_reviewed_time" format:"date-time"`
Expand Down
2 changes: 1 addition & 1 deletion annotationqueuerun_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func TestAnnotationQueueRunNew(t *testing.T) {
context.TODO(),
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
langsmith.AnnotationQueueRunNewParams{
Body: []string{"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"},
Body: langsmith.AnnotationQueueRunNewParamsBodyRunUuidList([]string{"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"}),
},
)
if err != nil {
Expand Down
1 change: 0 additions & 1 deletion api.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ Methods:

Params Types:

- <a href="https://pkg.go.dev/github.com/langchain-ai/langsmith-go">langsmith</a>.<a href="https://pkg.go.dev/github.com/langchain-ai/langsmith-go#QueryExampleSchemaWithRunsParam">QueryExampleSchemaWithRunsParam</a>
- <a href="https://pkg.go.dev/github.com/langchain-ai/langsmith-go">langsmith</a>.<a href="https://pkg.go.dev/github.com/langchain-ai/langsmith-go#QueryFeedbackDeltaParam">QueryFeedbackDeltaParam</a>
- <a href="https://pkg.go.dev/github.com/langchain-ai/langsmith-go">langsmith</a>.<a href="https://pkg.go.dev/github.com/langchain-ai/langsmith-go#SortParamsForRunsComparisonView">SortParamsForRunsComparisonView</a>

Expand Down
6 changes: 6 additions & 0 deletions commit.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ func (r *CommitService) Get(ctx context.Context, owner interface{}, repo interfa
// Lists all commits for a repository with pagination support. This endpoint
// supports both authenticated and unauthenticated access. Authenticated users can
// access private repos, while unauthenticated users can only access public repos.
// The include_stats parameter controls whether download and view statistics are
// computed (defaults to true).
func (r *CommitService) List(ctx context.Context, owner interface{}, repo interface{}, query CommitListParams, opts ...option.RequestOption) (res *pagination.OffsetPaginationCommits[CommitWithLookups], err error) {
var raw *http.Response
opts = slices.Concat(r.Options, opts)
Expand All @@ -84,6 +86,8 @@ func (r *CommitService) List(ctx context.Context, owner interface{}, repo interf
// Lists all commits for a repository with pagination support. This endpoint
// supports both authenticated and unauthenticated access. Authenticated users can
// access private repos, while unauthenticated users can only access public repos.
// The include_stats parameter controls whether download and view statistics are
// computed (defaults to true).
func (r *CommitService) ListAutoPaging(ctx context.Context, owner interface{}, repo interface{}, query CommitListParams, opts ...option.RequestOption) *pagination.OffsetPaginationCommitsAutoPager[CommitWithLookups] {
return pagination.NewOffsetPaginationCommitsAutoPager(r.List(ctx, owner, repo, query, opts...))
}
Expand Down Expand Up @@ -304,6 +308,8 @@ func (r CommitGetParams) URLQuery() (v url.Values) {
}

type CommitListParams struct {
// IncludeStats determines whether to compute num_downloads and num_views
IncludeStats param.Field[bool] `query:"include_stats"`
// Limit is the pagination limit
Limit param.Field[int64] `query:"limit"`
// Offset is the pagination offset
Expand Down
5 changes: 3 additions & 2 deletions commit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,9 @@ func TestCommitListWithOptionalParams(t *testing.T) {
map[string]interface{}{},
map[string]interface{}{},
langsmith.CommitListParams{
Limit: langsmith.F(int64(1)),
Offset: langsmith.F(int64(0)),
IncludeStats: langsmith.F(true),
Limit: langsmith.F(int64(1)),
Offset: langsmith.F(int64(0)),
},
)
if err != nil {
Expand Down
14 changes: 12 additions & 2 deletions dataset.go
Original file line number Diff line number Diff line change
Expand Up @@ -637,8 +637,9 @@ type DatasetCloneParams struct {
TargetDatasetID param.Field[string] `json:"target_dataset_id,required" format:"uuid"`
// Only modifications made on or before this time are included. If None, the latest
// version of the dataset is used.
AsOf param.Field[DatasetCloneParamsAsOfUnion] `json:"as_of" format:"date-time"`
Examples param.Field[[]string] `json:"examples" format:"uuid"`
AsOf param.Field[DatasetCloneParamsAsOfUnion] `json:"as_of" format:"date-time"`
Examples param.Field[[]string] `json:"examples" format:"uuid"`
Split param.Field[DatasetCloneParamsSplitUnion] `json:"split"`
}

func (r DatasetCloneParams) MarshalJSON() (data []byte, err error) {
Expand All @@ -653,6 +654,15 @@ type DatasetCloneParamsAsOfUnion interface {
ImplementsDatasetCloneParamsAsOfUnion()
}

// Satisfied by [shared.UnionString], [DatasetCloneParamsSplitArray].
type DatasetCloneParamsSplitUnion interface {
ImplementsDatasetCloneParamsSplitUnion()
}

type DatasetCloneParamsSplitArray []string

func (r DatasetCloneParamsSplitArray) ImplementsDatasetCloneParamsSplitUnion() {}

type DatasetGetCsvParams struct {
// Only modifications made on or before this time are included. If None, the latest
// version of the dataset is used.
Expand Down
1 change: 1 addition & 0 deletions dataset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ func TestDatasetCloneWithOptionalParams(t *testing.T) {
TargetDatasetID: langsmith.F("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"),
AsOf: langsmith.F[langsmith.DatasetCloneParamsAsOfUnion](shared.UnionTime(time.Now())),
Examples: langsmith.F([]string{"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"}),
Split: langsmith.F[langsmith.DatasetCloneParamsSplitUnion](shared.UnionString("string")),
})
if err != nil {
var apierr *langsmith.Error
Expand Down
44 changes: 27 additions & 17 deletions datasetrun.go
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ type ExampleWithRunsChRun struct {
ExecutionOrder int64 `json:"execution_order"`
Extra map[string]interface{} `json:"extra,nullable"`
FeedbackStats map[string]map[string]interface{} `json:"feedback_stats,nullable"`
Feedbacks []FeedbackSchema `json:"feedbacks"`
Inputs map[string]interface{} `json:"inputs,nullable"`
InputsPreview string `json:"inputs_preview,nullable"`
InputsS3URLs map[string]interface{} `json:"inputs_s3_urls,nullable"`
Expand Down Expand Up @@ -386,6 +387,7 @@ type exampleWithRunsChRunJSON struct {
ExecutionOrder apijson.Field
Extra apijson.Field
FeedbackStats apijson.Field
Feedbacks apijson.Field
Inputs apijson.Field
InputsPreview apijson.Field
InputsS3URLs apijson.Field
Expand Down Expand Up @@ -439,20 +441,6 @@ func (r ExampleWithRunsChRunsRunType) IsKnown() bool {
return false
}

type QueryExampleSchemaWithRunsParam struct {
SessionIDs param.Field[[]string] `json:"session_ids,required" format:"uuid"`
ComparativeExperimentID param.Field[string] `json:"comparative_experiment_id" format:"uuid"`
Filters param.Field[map[string][]string] `json:"filters"`
Limit param.Field[int64] `json:"limit"`
Offset param.Field[int64] `json:"offset"`
Preview param.Field[bool] `json:"preview"`
SortParams param.Field[SortParamsForRunsComparisonView] `json:"sort_params"`
}

func (r QueryExampleSchemaWithRunsParam) MarshalJSON() (data []byte, err error) {
return apijson.MarshalRoot(r)
}

type QueryFeedbackDeltaParam struct {
BaselineSessionID param.Field[string] `json:"baseline_session_id,required" format:"uuid"`
ComparisonSessionIDs param.Field[[]string] `json:"comparison_session_ids,required" format:"uuid"`
Expand Down Expand Up @@ -567,13 +555,20 @@ type DatasetRunNewResponseArray []ExampleWithRunsCh
func (r DatasetRunNewResponseArray) implementsDatasetRunNewResponseUnion() {}

type DatasetRunNewParams struct {
QueryExampleSchemaWithRuns QueryExampleSchemaWithRunsParam `json:"query_example_schema_with_runs,required"`
SessionIDs param.Field[[]string] `json:"session_ids,required" format:"uuid"`
// Response format, e.g., 'csv'
Format param.Field[string] `query:"format"`
Format param.Field[DatasetRunNewParamsFormat] `query:"format"`
ComparativeExperimentID param.Field[string] `json:"comparative_experiment_id" format:"uuid"`
Filters param.Field[map[string][]string] `json:"filters"`
Limit param.Field[int64] `json:"limit"`
Offset param.Field[int64] `json:"offset"`
Preview param.Field[bool] `json:"preview"`
SortParams param.Field[SortParamsForRunsComparisonView] `json:"sort_params"`
Stream param.Field[bool] `json:"stream"`
}

func (r DatasetRunNewParams) MarshalJSON() (data []byte, err error) {
return apijson.MarshalRoot(r.QueryExampleSchemaWithRuns)
return apijson.MarshalRoot(r)
}

// URLQuery serializes [DatasetRunNewParams]'s query parameters as `url.Values`.
Expand All @@ -584,6 +579,21 @@ func (r DatasetRunNewParams) URLQuery() (v url.Values) {
})
}

// Response format, e.g., 'csv'
type DatasetRunNewParamsFormat string

const (
DatasetRunNewParamsFormatCsv DatasetRunNewParamsFormat = "csv"
)

func (r DatasetRunNewParamsFormat) IsKnown() bool {
switch r {
case DatasetRunNewParamsFormatCsv:
return true
}
return false
}

type DatasetRunDeltaParams struct {
QueryFeedbackDelta QueryFeedbackDeltaParam `json:"query_feedback_delta,required"`
}
Expand Down
29 changes: 14 additions & 15 deletions datasetrun_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,20 @@ func TestDatasetRunNewWithOptionalParams(t *testing.T) {
context.TODO(),
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
langsmith.DatasetRunNewParams{
QueryExampleSchemaWithRuns: langsmith.QueryExampleSchemaWithRunsParam{
SessionIDs: langsmith.F([]string{"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"}),
ComparativeExperimentID: langsmith.F("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"),
Filters: langsmith.F(map[string][]string{
"foo": {"string"},
}),
Limit: langsmith.F(int64(1)),
Offset: langsmith.F(int64(0)),
Preview: langsmith.F(true),
SortParams: langsmith.F(langsmith.SortParamsForRunsComparisonView{
SortBy: langsmith.F("sort_by"),
SortOrder: langsmith.F(langsmith.SortParamsForRunsComparisonViewSortOrderAsc),
}),
},
Format: langsmith.F("format"),
SessionIDs: langsmith.F([]string{"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"}),
Format: langsmith.F(langsmith.DatasetRunNewParamsFormatCsv),
ComparativeExperimentID: langsmith.F("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"),
Filters: langsmith.F(map[string][]string{
"foo": {"string"},
}),
Limit: langsmith.F(int64(1)),
Offset: langsmith.F(int64(0)),
Preview: langsmith.F(true),
SortParams: langsmith.F(langsmith.SortParamsForRunsComparisonView{
SortBy: langsmith.F("sort_by"),
SortOrder: langsmith.F(langsmith.SortParamsForRunsComparisonViewSortOrderAsc),
}),
Stream: langsmith.F(true),
},
)
if err != nil {
Expand Down
3 changes: 2 additions & 1 deletion example.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,8 @@ func (r ExampleNewParamsSplitArray) ImplementsExampleNewParamsSplitUnion() {}
type ExampleGetParams struct {
// Only modifications made on or before this time are included. If None, the latest
// version of the dataset is used.
AsOf param.Field[ExampleGetParamsAsOfUnion] `query:"as_of" format:"date-time"`
AsOf param.Field[ExampleGetParamsAsOfUnion] `query:"as_of" format:"date-time"`
Dataset param.Field[string] `query:"dataset" format:"uuid"`
}

// URLQuery serializes [ExampleGetParams]'s query parameters as `url.Values`.
Expand Down
3 changes: 2 additions & 1 deletion example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ func TestExampleGetWithOptionalParams(t *testing.T) {
context.TODO(),
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
langsmith.ExampleGetParams{
AsOf: langsmith.F[langsmith.ExampleGetParamsAsOfUnion](shared.UnionTime(time.Now())),
AsOf: langsmith.F[langsmith.ExampleGetParamsAsOfUnion](shared.UnionTime(time.Now())),
Dataset: langsmith.F("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"),
},
)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion examplevalidate.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (r *ExampleValidateService) New(ctx context.Context, opts ...option.Request
return
}

// Validate an example.
// Validate examples in bulk.
func (r *ExampleValidateService) Bulk(ctx context.Context, opts ...option.RequestOption) (res *[]ExampleValidationResult, err error) {
opts = slices.Concat(r.Options, opts)
path := "api/v1/examples/validate/bulk"
Expand Down
1 change: 1 addition & 0 deletions feedback.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ type FeedbackCreateSchemaParam struct {
RunID param.Field[string] `json:"run_id" format:"uuid"`
Score param.Field[FeedbackCreateSchemaScoreUnionParam] `json:"score"`
SessionID param.Field[string] `json:"session_id" format:"uuid"`
StartTime param.Field[time.Time] `json:"start_time" format:"date-time"`
TraceID param.Field[string] `json:"trace_id" format:"uuid"`
Value param.Field[FeedbackCreateSchemaValueUnionParam] `json:"value"`
}
Expand Down
1 change: 1 addition & 0 deletions feedback_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ func TestFeedbackNewWithOptionalParams(t *testing.T) {
RunID: langsmith.F("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"),
Score: langsmith.F[langsmith.FeedbackCreateSchemaScoreUnionParam](shared.UnionFloat(0.000000)),
SessionID: langsmith.F("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"),
StartTime: langsmith.F(time.Now()),
TraceID: langsmith.F("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"),
Value: langsmith.F[langsmith.FeedbackCreateSchemaValueUnionParam](shared.UnionFloat(0.000000)),
},
Expand Down
2 changes: 1 addition & 1 deletion internal/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

package internal

const PackageVersion = "0.1.0-alpha.4" // x-release-please-version
const PackageVersion = "0.1.0-alpha.5" // x-release-please-version
Loading