Skip to content

Commit dbed70a

Browse files
feat(api): manual updates
removed endpoints not in openAPI spec
1 parent f51470c commit dbed70a

9 files changed

Lines changed: 1 addition & 161 deletions

File tree

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 104
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-809896ace86c1c5604fde932bcc33b76b6a6738fc3871fd38d7bd4585f671184.yml
33
openapi_spec_hash: b2b8eacb9dc453cc49722003f20ebe87
4-
config_hash: 547a7f805036e8dd5fc37a0e908d0400
4+
config_hash: 95f6a6cccc50b0e616468fc26d25b304

langsmith-java-core/src/main/kotlin/com/langchain/smith/services/async/DatasetServiceAsync.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ import com.langchain.smith.models.datasets.DatasetVersion
3131
import com.langchain.smith.services.async.datasets.ComparativeServiceAsync
3232
import com.langchain.smith.services.async.datasets.ExperimentServiceAsync
3333
import com.langchain.smith.services.async.datasets.GroupServiceAsync
34-
import com.langchain.smith.services.async.datasets.IndexServiceAsync
3534
import com.langchain.smith.services.async.datasets.PlaygroundExperimentServiceAsync
3635
import com.langchain.smith.services.async.datasets.RunServiceAsync
3736
import com.langchain.smith.services.async.datasets.ShareServiceAsync
@@ -68,8 +67,6 @@ interface DatasetServiceAsync {
6867

6968
fun splits(): SplitServiceAsync
7069

71-
fun index(): IndexServiceAsync
72-
7370
fun playgroundExperiment(): PlaygroundExperimentServiceAsync
7471

7572
/** Create a new dataset. */
@@ -460,8 +457,6 @@ interface DatasetServiceAsync {
460457

461458
fun splits(): SplitServiceAsync.WithRawResponse
462459

463-
fun index(): IndexServiceAsync.WithRawResponse
464-
465460
fun playgroundExperiment(): PlaygroundExperimentServiceAsync.WithRawResponse
466461

467462
/**

langsmith-java-core/src/main/kotlin/com/langchain/smith/services/async/DatasetServiceAsyncImpl.kt

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ import com.langchain.smith.services.async.datasets.ExperimentServiceAsync
4646
import com.langchain.smith.services.async.datasets.ExperimentServiceAsyncImpl
4747
import com.langchain.smith.services.async.datasets.GroupServiceAsync
4848
import com.langchain.smith.services.async.datasets.GroupServiceAsyncImpl
49-
import com.langchain.smith.services.async.datasets.IndexServiceAsync
50-
import com.langchain.smith.services.async.datasets.IndexServiceAsyncImpl
5149
import com.langchain.smith.services.async.datasets.PlaygroundExperimentServiceAsync
5250
import com.langchain.smith.services.async.datasets.PlaygroundExperimentServiceAsyncImpl
5351
import com.langchain.smith.services.async.datasets.RunServiceAsync
@@ -87,8 +85,6 @@ class DatasetServiceAsyncImpl internal constructor(private val clientOptions: Cl
8785

8886
private val splits: SplitServiceAsync by lazy { SplitServiceAsyncImpl(clientOptions) }
8987

90-
private val index: IndexServiceAsync by lazy { IndexServiceAsyncImpl(clientOptions) }
91-
9288
private val playgroundExperiment: PlaygroundExperimentServiceAsync by lazy {
9389
PlaygroundExperimentServiceAsyncImpl(clientOptions)
9490
}
@@ -112,8 +108,6 @@ class DatasetServiceAsyncImpl internal constructor(private val clientOptions: Cl
112108

113109
override fun splits(): SplitServiceAsync = splits
114110

115-
override fun index(): IndexServiceAsync = index
116-
117111
override fun playgroundExperiment(): PlaygroundExperimentServiceAsync = playgroundExperiment
118112

119113
override fun create(
@@ -241,10 +235,6 @@ class DatasetServiceAsyncImpl internal constructor(private val clientOptions: Cl
241235
SplitServiceAsyncImpl.WithRawResponseImpl(clientOptions)
242236
}
243237

244-
private val index: IndexServiceAsync.WithRawResponse by lazy {
245-
IndexServiceAsyncImpl.WithRawResponseImpl(clientOptions)
246-
}
247-
248238
private val playgroundExperiment: PlaygroundExperimentServiceAsync.WithRawResponse by lazy {
249239
PlaygroundExperimentServiceAsyncImpl.WithRawResponseImpl(clientOptions)
250240
}
@@ -270,8 +260,6 @@ class DatasetServiceAsyncImpl internal constructor(private val clientOptions: Cl
270260

271261
override fun splits(): SplitServiceAsync.WithRawResponse = splits
272262

273-
override fun index(): IndexServiceAsync.WithRawResponse = index
274-
275263
override fun playgroundExperiment(): PlaygroundExperimentServiceAsync.WithRawResponse =
276264
playgroundExperiment
277265

langsmith-java-core/src/main/kotlin/com/langchain/smith/services/async/datasets/IndexServiceAsync.kt

Lines changed: 0 additions & 34 deletions
This file was deleted.

langsmith-java-core/src/main/kotlin/com/langchain/smith/services/async/datasets/IndexServiceAsyncImpl.kt

Lines changed: 0 additions & 30 deletions
This file was deleted.

langsmith-java-core/src/main/kotlin/com/langchain/smith/services/blocking/DatasetService.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ import com.langchain.smith.models.datasets.DatasetVersion
3232
import com.langchain.smith.services.blocking.datasets.ComparativeService
3333
import com.langchain.smith.services.blocking.datasets.ExperimentService
3434
import com.langchain.smith.services.blocking.datasets.GroupService
35-
import com.langchain.smith.services.blocking.datasets.IndexService
3635
import com.langchain.smith.services.blocking.datasets.PlaygroundExperimentService
3736
import com.langchain.smith.services.blocking.datasets.RunService
3837
import com.langchain.smith.services.blocking.datasets.ShareService
@@ -68,8 +67,6 @@ interface DatasetService {
6867

6968
fun splits(): SplitService
7069

71-
fun index(): IndexService
72-
7370
fun playgroundExperiment(): PlaygroundExperimentService
7471

7572
/** Create a new dataset. */
@@ -424,8 +421,6 @@ interface DatasetService {
424421

425422
fun splits(): SplitService.WithRawResponse
426423

427-
fun index(): IndexService.WithRawResponse
428-
429424
fun playgroundExperiment(): PlaygroundExperimentService.WithRawResponse
430425

431426
/**

langsmith-java-core/src/main/kotlin/com/langchain/smith/services/blocking/DatasetServiceImpl.kt

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ import com.langchain.smith.services.blocking.datasets.ExperimentService
4646
import com.langchain.smith.services.blocking.datasets.ExperimentServiceImpl
4747
import com.langchain.smith.services.blocking.datasets.GroupService
4848
import com.langchain.smith.services.blocking.datasets.GroupServiceImpl
49-
import com.langchain.smith.services.blocking.datasets.IndexService
50-
import com.langchain.smith.services.blocking.datasets.IndexServiceImpl
5149
import com.langchain.smith.services.blocking.datasets.PlaygroundExperimentService
5250
import com.langchain.smith.services.blocking.datasets.PlaygroundExperimentServiceImpl
5351
import com.langchain.smith.services.blocking.datasets.RunService
@@ -82,8 +80,6 @@ class DatasetServiceImpl internal constructor(private val clientOptions: ClientO
8280

8381
private val splits: SplitService by lazy { SplitServiceImpl(clientOptions) }
8482

85-
private val index: IndexService by lazy { IndexServiceImpl(clientOptions) }
86-
8783
private val playgroundExperiment: PlaygroundExperimentService by lazy {
8884
PlaygroundExperimentServiceImpl(clientOptions)
8985
}
@@ -107,8 +103,6 @@ class DatasetServiceImpl internal constructor(private val clientOptions: ClientO
107103

108104
override fun splits(): SplitService = splits
109105

110-
override fun index(): IndexService = index
111-
112106
override fun playgroundExperiment(): PlaygroundExperimentService = playgroundExperiment
113107

114108
override fun create(params: DatasetCreateParams, requestOptions: RequestOptions): Dataset =
@@ -224,10 +218,6 @@ class DatasetServiceImpl internal constructor(private val clientOptions: ClientO
224218
SplitServiceImpl.WithRawResponseImpl(clientOptions)
225219
}
226220

227-
private val index: IndexService.WithRawResponse by lazy {
228-
IndexServiceImpl.WithRawResponseImpl(clientOptions)
229-
}
230-
231221
private val playgroundExperiment: PlaygroundExperimentService.WithRawResponse by lazy {
232222
PlaygroundExperimentServiceImpl.WithRawResponseImpl(clientOptions)
233223
}
@@ -253,8 +243,6 @@ class DatasetServiceImpl internal constructor(private val clientOptions: ClientO
253243

254244
override fun splits(): SplitService.WithRawResponse = splits
255245

256-
override fun index(): IndexService.WithRawResponse = index
257-
258246
override fun playgroundExperiment(): PlaygroundExperimentService.WithRawResponse =
259247
playgroundExperiment
260248

langsmith-java-core/src/main/kotlin/com/langchain/smith/services/blocking/datasets/IndexService.kt

Lines changed: 0 additions & 32 deletions
This file was deleted.

langsmith-java-core/src/main/kotlin/com/langchain/smith/services/blocking/datasets/IndexServiceImpl.kt

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)