Skip to content

Commit a4c63f2

Browse files
committed
Release 0.8.16
1 parent a44fb87 commit a4c63f2

File tree

64 files changed

+1156
-1151
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+1156
-1151
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ await client.prompts.log({
4444
person: "Trump",
4545
},
4646
createdAt: "2024-07-19T00:29:35.178992",
47+
error: undefined,
4748
providerLatency: 6.5931549072265625,
4849
outputMessage: {
4950
content:

package.json

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "humanloop",
3-
"version": "0.8.15",
3+
"version": "0.8.16",
44
"private": false,
55
"repository": "https://github.com/humanloop/humanloop-node",
66
"main": "./index.js",
@@ -12,54 +12,54 @@
1212
"test": "jest"
1313
},
1414
"dependencies": {
15+
"url-join": "4.0.1",
16+
"form-data": "^4.0.0",
17+
"formdata-node": "^6.0.3",
18+
"node-fetch": "2.7.0",
19+
"qs": "6.11.2",
20+
"readable-stream": "^4.5.2",
21+
"form-data-encoder": "^4.0.2",
1522
"@opentelemetry/api": "1.9.0",
1623
"@opentelemetry/auto-instrumentations-node": "0.53.0",
1724
"@opentelemetry/sdk-metrics": "1.28.0",
1825
"@opentelemetry/sdk-node": "0.55.0",
1926
"@opentelemetry/sdk-trace-node": "1.28.0",
20-
"@traceloop/ai-semantic-conventions": "0.11.6",
2127
"@traceloop/instrumentation-anthropic": "0.11.1",
2228
"@traceloop/instrumentation-cohere": "0.11.1",
2329
"@traceloop/instrumentation-openai": "0.11.3",
30+
"@traceloop/ai-semantic-conventions": "0.11.6",
31+
"nanoid": "5.0.9",
2432
"cli-progress": "^3.12.0",
25-
"form-data": "^4.0.0",
26-
"form-data-encoder": "^4.0.2",
27-
"formdata-node": "^6.0.3",
2833
"lodash": "4.17.21",
29-
"nanoid": "5.0.9",
30-
"node-fetch": "2.7.0",
31-
"qs": "6.11.2",
32-
"readable-stream": "^4.5.2",
33-
"stable-hash": "0.0.4",
34-
"url-join": "4.0.1"
34+
"stable-hash": "0.0.4"
3535
},
3636
"devDependencies": {
37-
"@anthropic-ai/sdk": "^0.32.1",
38-
"@babel/core": "^7.26.0",
39-
"@babel/plugin-transform-modules-commonjs": "^7.26.3",
40-
"@babel/preset-env": "^7.26.0",
41-
"@trivago/prettier-plugin-sort-imports": "4.3.0",
42-
"@types/cli-progress": "^3.11.6",
43-
"@types/jest": "29.5.5",
44-
"@types/lodash": "4.14.74",
45-
"@types/node": "17.0.33",
46-
"@types/node-fetch": "2.6.9",
37+
"@types/url-join": "4.0.1",
4738
"@types/qs": "6.9.8",
39+
"@types/node-fetch": "2.6.9",
4840
"@types/readable-stream": "^4.0.15",
49-
"@types/url-join": "4.0.1",
50-
"babel-jest": "^29.7.0",
51-
"cohere-ai": "^7.15.0",
52-
"dotenv": "^16.4.6",
5341
"fetch-mock-jest": "^1.5.1",
42+
"webpack": "^5.94.0",
43+
"ts-loader": "^9.3.1",
5444
"jest": "29.7.0",
45+
"@types/jest": "29.5.5",
46+
"ts-jest": "29.1.1",
5547
"jest-environment-jsdom": "29.7.0",
56-
"jsonschema": "^1.4.1",
57-
"openai": "^4.74.0",
48+
"@types/node": "17.0.33",
5849
"prettier": "^3.4.2",
59-
"ts-jest": "29.1.1",
60-
"ts-loader": "^9.3.1",
6150
"typescript": "4.6.4",
62-
"webpack": "^5.94.0"
51+
"openai": "^4.74.0",
52+
"@anthropic-ai/sdk": "^0.32.1",
53+
"cohere-ai": "^7.15.0",
54+
"dotenv": "^16.4.6",
55+
"jsonschema": "^1.4.1",
56+
"@types/cli-progress": "^3.11.6",
57+
"babel-jest": "^29.7.0",
58+
"@babel/core": "^7.26.0",
59+
"@babel/plugin-transform-modules-commonjs": "^7.26.3",
60+
"@babel/preset-env": "^7.26.0",
61+
"@types/lodash": "4.14.74",
62+
"@trivago/prettier-plugin-sort-imports": "4.3.0"
6363
},
6464
"browser": {
6565
"fs": false,

reference.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Prompts
44

5-
<details><summary><code>client.prompts.<a href="/src/api/resources/prompts/client/Client.ts">log</a>({ ...params }) -> Humanloop.CreatePromptLogResponse</code></summary>
5+
<details><summary><code>client.prompts.<a href="/src/api/resources/prompts/client/Client.ts">log</a>({ ...params }) -> unknown</code></summary>
66
<dl>
77
<dd>
88

@@ -59,6 +59,7 @@ await client.prompts.log({
5959
person: "Trump",
6060
},
6161
createdAt: "2024-07-19T00:29:35.178992",
62+
error: undefined,
6263
providerLatency: 6.5931549072265625,
6364
outputMessage: {
6465
content:
@@ -4312,7 +4313,7 @@ await client.flows.log({
43124313
"Patient with a history of diabetes and hypertension presents with chest pain and shortness of breath.",
43134314
},
43144315
output: "The patient is likely experiencing a myocardial infarction. Immediate medical attention is required.",
4315-
traceStatus: "incomplete",
4316+
logStatus: "incomplete",
43164317
startTime: "2024-07-08T22:40:35",
43174318
endTime: "2024-07-08T22:40:39",
43184319
});
@@ -4748,7 +4749,8 @@ await client.flows.updateLog("medqa_experiment_0001", {
47484749
"Patient with a history of diabetes and normal tension presents with chest pain and shortness of breath.",
47494750
},
47504751
output: "The patient is likely experiencing a myocardial infarction. Immediate medical attention is required.",
4751-
traceStatus: "complete",
4752+
logStatus: "complete",
4753+
error: undefined,
47524754
});
47534755
```
47544756

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

Lines changed: 26 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ export declare namespace Datasets {
4848
* query parameters to identify the existing version to base the new version on. If neither is provided, the version
4949
* deployed to the default Environment will be used.
5050
*
51-
*
5251
*/
5352
export class Datasets {
5453
constructor(protected readonly _options: Datasets.Options) {}
@@ -100,8 +99,8 @@ export class Datasets {
10099
headers: {
101100
"X-Fern-Language": "JavaScript",
102101
"X-Fern-SDK-Name": "humanloop",
103-
"X-Fern-SDK-Version": "0.8.14b1",
104-
"User-Agent": "humanloop/0.8.14b1",
102+
"X-Fern-SDK-Version": "0.8.16",
103+
"User-Agent": "humanloop/0.8.16",
105104
"X-Fern-Runtime": core.RUNTIME.type,
106105
"X-Fern-Runtime-Version": core.RUNTIME.version,
107106
...(await this._getCustomAuthorizationHeaders()),
@@ -263,8 +262,8 @@ export class Datasets {
263262
headers: {
264263
"X-Fern-Language": "JavaScript",
265264
"X-Fern-SDK-Name": "humanloop",
266-
"X-Fern-SDK-Version": "0.8.14b1",
267-
"User-Agent": "humanloop/0.8.14b1",
265+
"X-Fern-SDK-Version": "0.8.16",
266+
"User-Agent": "humanloop/0.8.16",
268267
"X-Fern-Runtime": core.RUNTIME.type,
269268
"X-Fern-Runtime-Version": core.RUNTIME.version,
270269
...(await this._getCustomAuthorizationHeaders()),
@@ -373,8 +372,8 @@ export class Datasets {
373372
headers: {
374373
"X-Fern-Language": "JavaScript",
375374
"X-Fern-SDK-Name": "humanloop",
376-
"X-Fern-SDK-Version": "0.8.14b1",
377-
"User-Agent": "humanloop/0.8.14b1",
375+
"X-Fern-SDK-Version": "0.8.16",
376+
"User-Agent": "humanloop/0.8.16",
378377
"X-Fern-Runtime": core.RUNTIME.type,
379378
"X-Fern-Runtime-Version": core.RUNTIME.version,
380379
...(await this._getCustomAuthorizationHeaders()),
@@ -452,8 +451,8 @@ export class Datasets {
452451
headers: {
453452
"X-Fern-Language": "JavaScript",
454453
"X-Fern-SDK-Name": "humanloop",
455-
"X-Fern-SDK-Version": "0.8.14b1",
456-
"User-Agent": "humanloop/0.8.14b1",
454+
"X-Fern-SDK-Version": "0.8.16",
455+
"User-Agent": "humanloop/0.8.16",
457456
"X-Fern-Runtime": core.RUNTIME.type,
458457
"X-Fern-Runtime-Version": core.RUNTIME.version,
459458
...(await this._getCustomAuthorizationHeaders()),
@@ -529,8 +528,8 @@ export class Datasets {
529528
headers: {
530529
"X-Fern-Language": "JavaScript",
531530
"X-Fern-SDK-Name": "humanloop",
532-
"X-Fern-SDK-Version": "0.8.14b1",
533-
"User-Agent": "humanloop/0.8.14b1",
531+
"X-Fern-SDK-Version": "0.8.16",
532+
"User-Agent": "humanloop/0.8.16",
534533
"X-Fern-Runtime": core.RUNTIME.type,
535534
"X-Fern-Runtime-Version": core.RUNTIME.version,
536535
...(await this._getCustomAuthorizationHeaders()),
@@ -632,8 +631,8 @@ export class Datasets {
632631
headers: {
633632
"X-Fern-Language": "JavaScript",
634633
"X-Fern-SDK-Name": "humanloop",
635-
"X-Fern-SDK-Version": "0.8.14b1",
636-
"User-Agent": "humanloop/0.8.14b1",
634+
"X-Fern-SDK-Version": "0.8.16",
635+
"User-Agent": "humanloop/0.8.16",
637636
"X-Fern-Runtime": core.RUNTIME.type,
638637
"X-Fern-Runtime-Version": core.RUNTIME.version,
639638
...(await this._getCustomAuthorizationHeaders()),
@@ -737,8 +736,8 @@ export class Datasets {
737736
headers: {
738737
"X-Fern-Language": "JavaScript",
739738
"X-Fern-SDK-Name": "humanloop",
740-
"X-Fern-SDK-Version": "0.8.14b1",
741-
"User-Agent": "humanloop/0.8.14b1",
739+
"X-Fern-SDK-Version": "0.8.16",
740+
"User-Agent": "humanloop/0.8.16",
742741
"X-Fern-Runtime": core.RUNTIME.type,
743742
"X-Fern-Runtime-Version": core.RUNTIME.version,
744743
...(await this._getCustomAuthorizationHeaders()),
@@ -827,8 +826,8 @@ export class Datasets {
827826
headers: {
828827
"X-Fern-Language": "JavaScript",
829828
"X-Fern-SDK-Name": "humanloop",
830-
"X-Fern-SDK-Version": "0.8.14b1",
831-
"User-Agent": "humanloop/0.8.14b1",
829+
"X-Fern-SDK-Version": "0.8.16",
830+
"User-Agent": "humanloop/0.8.16",
832831
"X-Fern-Runtime": core.RUNTIME.type,
833832
"X-Fern-Runtime-Version": core.RUNTIME.version,
834833
...(await this._getCustomAuthorizationHeaders()),
@@ -911,8 +910,8 @@ export class Datasets {
911910
headers: {
912911
"X-Fern-Language": "JavaScript",
913912
"X-Fern-SDK-Name": "humanloop",
914-
"X-Fern-SDK-Version": "0.8.14b1",
915-
"User-Agent": "humanloop/0.8.14b1",
913+
"X-Fern-SDK-Version": "0.8.16",
914+
"User-Agent": "humanloop/0.8.16",
916915
"X-Fern-Runtime": core.RUNTIME.type,
917916
"X-Fern-Runtime-Version": core.RUNTIME.version,
918917
...(await this._getCustomAuthorizationHeaders()),
@@ -1012,8 +1011,8 @@ export class Datasets {
10121011
headers: {
10131012
"X-Fern-Language": "JavaScript",
10141013
"X-Fern-SDK-Name": "humanloop",
1015-
"X-Fern-SDK-Version": "0.8.14b1",
1016-
"User-Agent": "humanloop/0.8.14b1",
1014+
"X-Fern-SDK-Version": "0.8.16",
1015+
"User-Agent": "humanloop/0.8.16",
10171016
"X-Fern-Runtime": core.RUNTIME.type,
10181017
"X-Fern-Runtime-Version": core.RUNTIME.version,
10191018
...(await this._getCustomAuthorizationHeaders()),
@@ -1107,8 +1106,8 @@ export class Datasets {
11071106
headers: {
11081107
"X-Fern-Language": "JavaScript",
11091108
"X-Fern-SDK-Name": "humanloop",
1110-
"X-Fern-SDK-Version": "0.8.14b1",
1111-
"User-Agent": "humanloop/0.8.14b1",
1109+
"X-Fern-SDK-Version": "0.8.16",
1110+
"User-Agent": "humanloop/0.8.16",
11121111
"X-Fern-Runtime": core.RUNTIME.type,
11131112
"X-Fern-Runtime-Version": core.RUNTIME.version,
11141113
...(await this._getCustomAuthorizationHeaders()),
@@ -1193,8 +1192,8 @@ export class Datasets {
11931192
headers: {
11941193
"X-Fern-Language": "JavaScript",
11951194
"X-Fern-SDK-Name": "humanloop",
1196-
"X-Fern-SDK-Version": "0.8.14b1",
1197-
"User-Agent": "humanloop/0.8.14b1",
1195+
"X-Fern-SDK-Version": "0.8.16",
1196+
"User-Agent": "humanloop/0.8.16",
11981197
"X-Fern-Runtime": core.RUNTIME.type,
11991198
"X-Fern-Runtime-Version": core.RUNTIME.version,
12001199
...(await this._getCustomAuthorizationHeaders()),
@@ -1268,8 +1267,8 @@ export class Datasets {
12681267
headers: {
12691268
"X-Fern-Language": "JavaScript",
12701269
"X-Fern-SDK-Name": "humanloop",
1271-
"X-Fern-SDK-Version": "0.8.14b1",
1272-
"User-Agent": "humanloop/0.8.14b1",
1270+
"X-Fern-SDK-Version": "0.8.16",
1271+
"User-Agent": "humanloop/0.8.16",
12731272
"X-Fern-Runtime": core.RUNTIME.type,
12741273
"X-Fern-Runtime-Version": core.RUNTIME.version,
12751274
...(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.14b1",
53-
"User-Agent": "humanloop/0.8.14b1",
52+
"X-Fern-SDK-Version": "0.8.16",
53+
"User-Agent": "humanloop/0.8.16",
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.14b1",
134-
"User-Agent": "humanloop/0.8.14b1",
133+
"X-Fern-SDK-Version": "0.8.16",
134+
"User-Agent": "humanloop/0.8.16",
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.14b1",
216-
"User-Agent": "humanloop/0.8.14b1",
215+
"X-Fern-SDK-Version": "0.8.16",
216+
"User-Agent": "humanloop/0.8.16",
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.14b1",
296-
"User-Agent": "humanloop/0.8.14b1",
295+
"X-Fern-SDK-Version": "0.8.16",
296+
"User-Agent": "humanloop/0.8.16",
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.14b1",
373-
"User-Agent": "humanloop/0.8.14b1",
372+
"X-Fern-SDK-Version": "0.8.16",
373+
"User-Agent": "humanloop/0.8.16",
374374
"X-Fern-Runtime": core.RUNTIME.type,
375375
"X-Fern-Runtime-Version": core.RUNTIME.version,
376376
...(await this._getCustomAuthorizationHeaders()),

0 commit comments

Comments
 (0)