Skip to content

Commit 4a496a7

Browse files
feat(api): Add evalapi to sdk (#360)
Adding the evalsapi to the sdk.
1 parent b8b67a2 commit 4a496a7

15 files changed

+7040
-7
lines changed

.stats.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 80
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-4bce8217a697c729ac98046d4caf2c9e826b54c427fb0ab4f98e549a2e0ce31c.yml
3-
openapi_spec_hash: 7996d2c34cc44fe2ce9ffe93c0ab774e
4-
config_hash: bcd2cacdcb9fae9938f273cd167f613c
1+
configured_endpoints: 95
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-472fe3036ea745365257fe870c0330917fb3153705c2826f49873cd631319b0a.yml
3+
openapi_spec_hash: ea86343b5e9858a74e85da8ab2c532f6
4+
config_hash: ef19d36c307306f14f2e1cd5c834a151

api.md

+82
Large diffs are not rendered by default.

client.go

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ type Client struct {
3131
Batches BatchService
3232
Uploads UploadService
3333
Responses responses.ResponseService
34+
Evals EvalService
3435
}
3536

3637
// DefaultClientOptions read from the environment (OPENAI_API_KEY, OPENAI_ORG_ID,
@@ -72,6 +73,7 @@ func NewClient(opts ...option.RequestOption) (r Client) {
7273
r.Batches = NewBatchService(opts...)
7374
r.Uploads = NewUploadService(opts...)
7475
r.Responses = responses.NewResponseService(opts...)
76+
r.Evals = NewEvalService(opts...)
7577

7678
return
7779
}

0 commit comments

Comments
 (0)