Skip to content

Commit 41e1529

Browse files
committed
Release 0.8.11
1 parent aad3b49 commit 41e1529

File tree

22 files changed

+816
-807
lines changed

22 files changed

+816
-807
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "humanloop",
3-
"version": "0.8.10",
3+
"version": "0.8.11",
44
"private": false,
55
"repository": "https://github.com/humanloop/humanloop-node",
66
"main": "./index.js",

src/api/resources/datasets/client/Client.ts

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ export class Datasets {
100100
headers: {
101101
"X-Fern-Language": "JavaScript",
102102
"X-Fern-SDK-Name": "humanloop",
103-
"X-Fern-SDK-Version": "0.8.10",
104-
"User-Agent": "humanloop/0.8.10",
103+
"X-Fern-SDK-Version": "0.8.11",
104+
"User-Agent": "humanloop/0.8.11",
105105
"X-Fern-Runtime": core.RUNTIME.type,
106106
"X-Fern-Runtime-Version": core.RUNTIME.version,
107107
...(await this._getCustomAuthorizationHeaders()),
@@ -263,8 +263,8 @@ export class Datasets {
263263
headers: {
264264
"X-Fern-Language": "JavaScript",
265265
"X-Fern-SDK-Name": "humanloop",
266-
"X-Fern-SDK-Version": "0.8.10",
267-
"User-Agent": "humanloop/0.8.10",
266+
"X-Fern-SDK-Version": "0.8.11",
267+
"User-Agent": "humanloop/0.8.11",
268268
"X-Fern-Runtime": core.RUNTIME.type,
269269
"X-Fern-Runtime-Version": core.RUNTIME.version,
270270
...(await this._getCustomAuthorizationHeaders()),
@@ -373,8 +373,8 @@ export class Datasets {
373373
headers: {
374374
"X-Fern-Language": "JavaScript",
375375
"X-Fern-SDK-Name": "humanloop",
376-
"X-Fern-SDK-Version": "0.8.10",
377-
"User-Agent": "humanloop/0.8.10",
376+
"X-Fern-SDK-Version": "0.8.11",
377+
"User-Agent": "humanloop/0.8.11",
378378
"X-Fern-Runtime": core.RUNTIME.type,
379379
"X-Fern-Runtime-Version": core.RUNTIME.version,
380380
...(await this._getCustomAuthorizationHeaders()),
@@ -452,8 +452,8 @@ export class Datasets {
452452
headers: {
453453
"X-Fern-Language": "JavaScript",
454454
"X-Fern-SDK-Name": "humanloop",
455-
"X-Fern-SDK-Version": "0.8.10",
456-
"User-Agent": "humanloop/0.8.10",
455+
"X-Fern-SDK-Version": "0.8.11",
456+
"User-Agent": "humanloop/0.8.11",
457457
"X-Fern-Runtime": core.RUNTIME.type,
458458
"X-Fern-Runtime-Version": core.RUNTIME.version,
459459
...(await this._getCustomAuthorizationHeaders()),
@@ -529,8 +529,8 @@ export class Datasets {
529529
headers: {
530530
"X-Fern-Language": "JavaScript",
531531
"X-Fern-SDK-Name": "humanloop",
532-
"X-Fern-SDK-Version": "0.8.10",
533-
"User-Agent": "humanloop/0.8.10",
532+
"X-Fern-SDK-Version": "0.8.11",
533+
"User-Agent": "humanloop/0.8.11",
534534
"X-Fern-Runtime": core.RUNTIME.type,
535535
"X-Fern-Runtime-Version": core.RUNTIME.version,
536536
...(await this._getCustomAuthorizationHeaders()),
@@ -632,8 +632,8 @@ export class Datasets {
632632
headers: {
633633
"X-Fern-Language": "JavaScript",
634634
"X-Fern-SDK-Name": "humanloop",
635-
"X-Fern-SDK-Version": "0.8.10",
636-
"User-Agent": "humanloop/0.8.10",
635+
"X-Fern-SDK-Version": "0.8.11",
636+
"User-Agent": "humanloop/0.8.11",
637637
"X-Fern-Runtime": core.RUNTIME.type,
638638
"X-Fern-Runtime-Version": core.RUNTIME.version,
639639
...(await this._getCustomAuthorizationHeaders()),
@@ -737,8 +737,8 @@ export class Datasets {
737737
headers: {
738738
"X-Fern-Language": "JavaScript",
739739
"X-Fern-SDK-Name": "humanloop",
740-
"X-Fern-SDK-Version": "0.8.10",
741-
"User-Agent": "humanloop/0.8.10",
740+
"X-Fern-SDK-Version": "0.8.11",
741+
"User-Agent": "humanloop/0.8.11",
742742
"X-Fern-Runtime": core.RUNTIME.type,
743743
"X-Fern-Runtime-Version": core.RUNTIME.version,
744744
...(await this._getCustomAuthorizationHeaders()),
@@ -827,8 +827,8 @@ export class Datasets {
827827
headers: {
828828
"X-Fern-Language": "JavaScript",
829829
"X-Fern-SDK-Name": "humanloop",
830-
"X-Fern-SDK-Version": "0.8.10",
831-
"User-Agent": "humanloop/0.8.10",
830+
"X-Fern-SDK-Version": "0.8.11",
831+
"User-Agent": "humanloop/0.8.11",
832832
"X-Fern-Runtime": core.RUNTIME.type,
833833
"X-Fern-Runtime-Version": core.RUNTIME.version,
834834
...(await this._getCustomAuthorizationHeaders()),
@@ -911,8 +911,8 @@ export class Datasets {
911911
headers: {
912912
"X-Fern-Language": "JavaScript",
913913
"X-Fern-SDK-Name": "humanloop",
914-
"X-Fern-SDK-Version": "0.8.10",
915-
"User-Agent": "humanloop/0.8.10",
914+
"X-Fern-SDK-Version": "0.8.11",
915+
"User-Agent": "humanloop/0.8.11",
916916
"X-Fern-Runtime": core.RUNTIME.type,
917917
"X-Fern-Runtime-Version": core.RUNTIME.version,
918918
...(await this._getCustomAuthorizationHeaders()),
@@ -1012,8 +1012,8 @@ export class Datasets {
10121012
headers: {
10131013
"X-Fern-Language": "JavaScript",
10141014
"X-Fern-SDK-Name": "humanloop",
1015-
"X-Fern-SDK-Version": "0.8.10",
1016-
"User-Agent": "humanloop/0.8.10",
1015+
"X-Fern-SDK-Version": "0.8.11",
1016+
"User-Agent": "humanloop/0.8.11",
10171017
"X-Fern-Runtime": core.RUNTIME.type,
10181018
"X-Fern-Runtime-Version": core.RUNTIME.version,
10191019
...(await this._getCustomAuthorizationHeaders()),
@@ -1107,8 +1107,8 @@ export class Datasets {
11071107
headers: {
11081108
"X-Fern-Language": "JavaScript",
11091109
"X-Fern-SDK-Name": "humanloop",
1110-
"X-Fern-SDK-Version": "0.8.10",
1111-
"User-Agent": "humanloop/0.8.10",
1110+
"X-Fern-SDK-Version": "0.8.11",
1111+
"User-Agent": "humanloop/0.8.11",
11121112
"X-Fern-Runtime": core.RUNTIME.type,
11131113
"X-Fern-Runtime-Version": core.RUNTIME.version,
11141114
...(await this._getCustomAuthorizationHeaders()),
@@ -1193,8 +1193,8 @@ export class Datasets {
11931193
headers: {
11941194
"X-Fern-Language": "JavaScript",
11951195
"X-Fern-SDK-Name": "humanloop",
1196-
"X-Fern-SDK-Version": "0.8.10",
1197-
"User-Agent": "humanloop/0.8.10",
1196+
"X-Fern-SDK-Version": "0.8.11",
1197+
"User-Agent": "humanloop/0.8.11",
11981198
"X-Fern-Runtime": core.RUNTIME.type,
11991199
"X-Fern-Runtime-Version": core.RUNTIME.version,
12001200
...(await this._getCustomAuthorizationHeaders()),
@@ -1268,8 +1268,8 @@ export class Datasets {
12681268
headers: {
12691269
"X-Fern-Language": "JavaScript",
12701270
"X-Fern-SDK-Name": "humanloop",
1271-
"X-Fern-SDK-Version": "0.8.10",
1272-
"User-Agent": "humanloop/0.8.10",
1271+
"X-Fern-SDK-Version": "0.8.11",
1272+
"User-Agent": "humanloop/0.8.11",
12731273
"X-Fern-Runtime": core.RUNTIME.type,
12741274
"X-Fern-Runtime-Version": core.RUNTIME.version,
12751275
...(await this._getCustomAuthorizationHeaders()),

src/api/resources/directories/client/Client.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ export class Directories {
4949
headers: {
5050
"X-Fern-Language": "JavaScript",
5151
"X-Fern-SDK-Name": "humanloop",
52-
"X-Fern-SDK-Version": "0.8.10",
53-
"User-Agent": "humanloop/0.8.10",
52+
"X-Fern-SDK-Version": "0.8.11",
53+
"User-Agent": "humanloop/0.8.11",
5454
"X-Fern-Runtime": core.RUNTIME.type,
5555
"X-Fern-Runtime-Version": core.RUNTIME.version,
5656
...(await this._getCustomAuthorizationHeaders()),
@@ -130,8 +130,8 @@ export class Directories {
130130
headers: {
131131
"X-Fern-Language": "JavaScript",
132132
"X-Fern-SDK-Name": "humanloop",
133-
"X-Fern-SDK-Version": "0.8.10",
134-
"User-Agent": "humanloop/0.8.10",
133+
"X-Fern-SDK-Version": "0.8.11",
134+
"User-Agent": "humanloop/0.8.11",
135135
"X-Fern-Runtime": core.RUNTIME.type,
136136
"X-Fern-Runtime-Version": core.RUNTIME.version,
137137
...(await this._getCustomAuthorizationHeaders()),
@@ -212,8 +212,8 @@ export class Directories {
212212
headers: {
213213
"X-Fern-Language": "JavaScript",
214214
"X-Fern-SDK-Name": "humanloop",
215-
"X-Fern-SDK-Version": "0.8.10",
216-
"User-Agent": "humanloop/0.8.10",
215+
"X-Fern-SDK-Version": "0.8.11",
216+
"User-Agent": "humanloop/0.8.11",
217217
"X-Fern-Runtime": core.RUNTIME.type,
218218
"X-Fern-Runtime-Version": core.RUNTIME.version,
219219
...(await this._getCustomAuthorizationHeaders()),
@@ -292,8 +292,8 @@ export class Directories {
292292
headers: {
293293
"X-Fern-Language": "JavaScript",
294294
"X-Fern-SDK-Name": "humanloop",
295-
"X-Fern-SDK-Version": "0.8.10",
296-
"User-Agent": "humanloop/0.8.10",
295+
"X-Fern-SDK-Version": "0.8.11",
296+
"User-Agent": "humanloop/0.8.11",
297297
"X-Fern-Runtime": core.RUNTIME.type,
298298
"X-Fern-Runtime-Version": core.RUNTIME.version,
299299
...(await this._getCustomAuthorizationHeaders()),
@@ -369,8 +369,8 @@ export class Directories {
369369
headers: {
370370
"X-Fern-Language": "JavaScript",
371371
"X-Fern-SDK-Name": "humanloop",
372-
"X-Fern-SDK-Version": "0.8.10",
373-
"User-Agent": "humanloop/0.8.10",
372+
"X-Fern-SDK-Version": "0.8.11",
373+
"User-Agent": "humanloop/0.8.11",
374374
"X-Fern-Runtime": core.RUNTIME.type,
375375
"X-Fern-Runtime-Version": core.RUNTIME.version,
376376
...(await this._getCustomAuthorizationHeaders()),

src/api/resources/evaluations/client/Client.ts

Lines changed: 37 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ export class Evaluations {
8383
headers: {
8484
"X-Fern-Language": "JavaScript",
8585
"X-Fern-SDK-Name": "humanloop",
86-
"X-Fern-SDK-Version": "0.8.10",
87-
"User-Agent": "humanloop/0.8.10",
86+
"X-Fern-SDK-Version": "0.8.11",
87+
"User-Agent": "humanloop/0.8.11",
8888
"X-Fern-Runtime": core.RUNTIME.type,
8989
"X-Fern-Runtime-Version": core.RUNTIME.version,
9090
...(await this._getCustomAuthorizationHeaders()),
@@ -182,8 +182,8 @@ export class Evaluations {
182182
headers: {
183183
"X-Fern-Language": "JavaScript",
184184
"X-Fern-SDK-Name": "humanloop",
185-
"X-Fern-SDK-Version": "0.8.10",
186-
"User-Agent": "humanloop/0.8.10",
185+
"X-Fern-SDK-Version": "0.8.11",
186+
"User-Agent": "humanloop/0.8.11",
187187
"X-Fern-Runtime": core.RUNTIME.type,
188188
"X-Fern-Runtime-Version": core.RUNTIME.version,
189189
...(await this._getCustomAuthorizationHeaders()),
@@ -272,8 +272,8 @@ export class Evaluations {
272272
headers: {
273273
"X-Fern-Language": "JavaScript",
274274
"X-Fern-SDK-Name": "humanloop",
275-
"X-Fern-SDK-Version": "0.8.10",
276-
"User-Agent": "humanloop/0.8.10",
275+
"X-Fern-SDK-Version": "0.8.11",
276+
"User-Agent": "humanloop/0.8.11",
277277
"X-Fern-Runtime": core.RUNTIME.type,
278278
"X-Fern-Runtime-Version": core.RUNTIME.version,
279279
...(await this._getCustomAuthorizationHeaders()),
@@ -358,8 +358,8 @@ export class Evaluations {
358358
headers: {
359359
"X-Fern-Language": "JavaScript",
360360
"X-Fern-SDK-Name": "humanloop",
361-
"X-Fern-SDK-Version": "0.8.10",
362-
"User-Agent": "humanloop/0.8.10",
361+
"X-Fern-SDK-Version": "0.8.11",
362+
"User-Agent": "humanloop/0.8.11",
363363
"X-Fern-Runtime": core.RUNTIME.type,
364364
"X-Fern-Runtime-Version": core.RUNTIME.version,
365365
...(await this._getCustomAuthorizationHeaders()),
@@ -442,8 +442,8 @@ export class Evaluations {
442442
headers: {
443443
"X-Fern-Language": "JavaScript",
444444
"X-Fern-SDK-Name": "humanloop",
445-
"X-Fern-SDK-Version": "0.8.10",
446-
"User-Agent": "humanloop/0.8.10",
445+
"X-Fern-SDK-Version": "0.8.11",
446+
"User-Agent": "humanloop/0.8.11",
447447
"X-Fern-Runtime": core.RUNTIME.type,
448448
"X-Fern-Runtime-Version": core.RUNTIME.version,
449449
...(await this._getCustomAuthorizationHeaders()),
@@ -522,8 +522,8 @@ export class Evaluations {
522522
headers: {
523523
"X-Fern-Language": "JavaScript",
524524
"X-Fern-SDK-Name": "humanloop",
525-
"X-Fern-SDK-Version": "0.8.10",
526-
"User-Agent": "humanloop/0.8.10",
525+
"X-Fern-SDK-Version": "0.8.11",
526+
"User-Agent": "humanloop/0.8.11",
527527
"X-Fern-Runtime": core.RUNTIME.type,
528528
"X-Fern-Runtime-Version": core.RUNTIME.version,
529529
...(await this._getCustomAuthorizationHeaders()),
@@ -597,8 +597,8 @@ export class Evaluations {
597597
headers: {
598598
"X-Fern-Language": "JavaScript",
599599
"X-Fern-SDK-Name": "humanloop",
600-
"X-Fern-SDK-Version": "0.8.10",
601-
"User-Agent": "humanloop/0.8.10",
600+
"X-Fern-SDK-Version": "0.8.11",
601+
"User-Agent": "humanloop/0.8.11",
602602
"X-Fern-Runtime": core.RUNTIME.type,
603603
"X-Fern-Runtime-Version": core.RUNTIME.version,
604604
...(await this._getCustomAuthorizationHeaders()),
@@ -693,8 +693,8 @@ export class Evaluations {
693693
headers: {
694694
"X-Fern-Language": "JavaScript",
695695
"X-Fern-SDK-Name": "humanloop",
696-
"X-Fern-SDK-Version": "0.8.10",
697-
"User-Agent": "humanloop/0.8.10",
696+
"X-Fern-SDK-Version": "0.8.11",
697+
"User-Agent": "humanloop/0.8.11",
698698
"X-Fern-Runtime": core.RUNTIME.type,
699699
"X-Fern-Runtime-Version": core.RUNTIME.version,
700700
...(await this._getCustomAuthorizationHeaders()),
@@ -780,8 +780,8 @@ export class Evaluations {
780780
headers: {
781781
"X-Fern-Language": "JavaScript",
782782
"X-Fern-SDK-Name": "humanloop",
783-
"X-Fern-SDK-Version": "0.8.10",
784-
"User-Agent": "humanloop/0.8.10",
783+
"X-Fern-SDK-Version": "0.8.11",
784+
"User-Agent": "humanloop/0.8.11",
785785
"X-Fern-Runtime": core.RUNTIME.type,
786786
"X-Fern-Runtime-Version": core.RUNTIME.version,
787787
...(await this._getCustomAuthorizationHeaders()),
@@ -856,8 +856,8 @@ export class Evaluations {
856856
headers: {
857857
"X-Fern-Language": "JavaScript",
858858
"X-Fern-SDK-Name": "humanloop",
859-
"X-Fern-SDK-Version": "0.8.10",
860-
"User-Agent": "humanloop/0.8.10",
859+
"X-Fern-SDK-Version": "0.8.11",
860+
"User-Agent": "humanloop/0.8.11",
861861
"X-Fern-Runtime": core.RUNTIME.type,
862862
"X-Fern-Runtime-Version": core.RUNTIME.version,
863863
...(await this._getCustomAuthorizationHeaders()),
@@ -938,8 +938,8 @@ export class Evaluations {
938938
headers: {
939939
"X-Fern-Language": "JavaScript",
940940
"X-Fern-SDK-Name": "humanloop",
941-
"X-Fern-SDK-Version": "0.8.10",
942-
"User-Agent": "humanloop/0.8.10",
941+
"X-Fern-SDK-Version": "0.8.11",
942+
"User-Agent": "humanloop/0.8.11",
943943
"X-Fern-Runtime": core.RUNTIME.type,
944944
"X-Fern-Runtime-Version": core.RUNTIME.version,
945945
...(await this._getCustomAuthorizationHeaders()),
@@ -1026,8 +1026,8 @@ export class Evaluations {
10261026
headers: {
10271027
"X-Fern-Language": "JavaScript",
10281028
"X-Fern-SDK-Name": "humanloop",
1029-
"X-Fern-SDK-Version": "0.8.10",
1030-
"User-Agent": "humanloop/0.8.10",
1029+
"X-Fern-SDK-Version": "0.8.11",
1030+
"User-Agent": "humanloop/0.8.11",
10311031
"X-Fern-Runtime": core.RUNTIME.type,
10321032
"X-Fern-Runtime-Version": core.RUNTIME.version,
10331033
...(await this._getCustomAuthorizationHeaders()),
@@ -1108,8 +1108,8 @@ export class Evaluations {
11081108
headers: {
11091109
"X-Fern-Language": "JavaScript",
11101110
"X-Fern-SDK-Name": "humanloop",
1111-
"X-Fern-SDK-Version": "0.8.10",
1112-
"User-Agent": "humanloop/0.8.10",
1111+
"X-Fern-SDK-Version": "0.8.11",
1112+
"User-Agent": "humanloop/0.8.11",
11131113
"X-Fern-Runtime": core.RUNTIME.type,
11141114
"X-Fern-Runtime-Version": core.RUNTIME.version,
11151115
...(await this._getCustomAuthorizationHeaders()),
@@ -1184,7 +1184,7 @@ export class Evaluations {
11841184
request: Humanloop.GetLogsEvaluationsIdLogsGetRequest = {},
11851185
requestOptions?: Evaluations.RequestOptions,
11861186
): Promise<Humanloop.PaginatedDataEvaluationLogResponse> {
1187-
const { page, size } = request;
1187+
const { page, size, runId } = request;
11881188
const _queryParams: Record<string, string | string[] | object | object[]> = {};
11891189
if (page != null) {
11901190
_queryParams["page"] = page.toString();
@@ -1194,6 +1194,14 @@ export class Evaluations {
11941194
_queryParams["size"] = size.toString();
11951195
}
11961196

1197+
if (runId != null) {
1198+
if (Array.isArray(runId)) {
1199+
_queryParams["run_id"] = runId.map((item) => item);
1200+
} else {
1201+
_queryParams["run_id"] = runId;
1202+
}
1203+
}
1204+
11971205
const _response = await (this._options.fetcher ?? core.fetcher)({
11981206
url: urlJoin(
11991207
(await core.Supplier.get(this._options.environment)) ?? environments.HumanloopEnvironment.Default,
@@ -1203,8 +1211,8 @@ export class Evaluations {
12031211
headers: {
12041212
"X-Fern-Language": "JavaScript",
12051213
"X-Fern-SDK-Name": "humanloop",
1206-
"X-Fern-SDK-Version": "0.8.10",
1207-
"User-Agent": "humanloop/0.8.10",
1214+
"X-Fern-SDK-Version": "0.8.11",
1215+
"User-Agent": "humanloop/0.8.11",
12081216
"X-Fern-Runtime": core.RUNTIME.type,
12091217
"X-Fern-Runtime-Version": core.RUNTIME.version,
12101218
...(await this._getCustomAuthorizationHeaders()),

src/api/resources/evaluations/client/requests/GetLogsEvaluationsIdLogsGetRequest.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,8 @@ export interface GetLogsEvaluationsIdLogsGetRequest {
1515
* Page size for pagination. Number of Logs to fetch.
1616
*/
1717
size?: number;
18+
/**
19+
* Filter by Run IDs. Only Logs for the specified Runs will be returned.
20+
*/
21+
runId?: string | string[];
1822
}

0 commit comments

Comments
 (0)