Skip to content

Commit df75b53

Browse files
committed
Release 0.8.10-beta7
1 parent 51b4510 commit df75b53

73 files changed

Lines changed: 1157 additions & 947 deletions

File tree

Some content is hidden

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

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.9-beta6",
3+
"version": "0.8.10-beta7",
44
"private": false,
55
"repository": "https://github.com/humanloop/humanloop-node",
66
"main": "./index.js",

reference.md

Lines changed: 71 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -225,82 +225,7 @@ in the case where you are storing or deriving your Prompt details in code.
225225
<dd>
226226

227227
```typescript
228-
await client.prompts.callStream({
229-
versionId: "string",
230-
environment: "string",
231-
path: "string",
232-
id: "string",
233-
messages: [
234-
{
235-
content: "string",
236-
name: "string",
237-
toolCallId: "string",
238-
role: "user",
239-
toolCalls: [
240-
{
241-
id: "string",
242-
type: "function",
243-
function: {
244-
name: "string",
245-
arguments: undefined,
246-
},
247-
},
248-
],
249-
},
250-
],
251-
toolChoice: "none",
252-
prompt: {
253-
model: "string",
254-
endpoint: undefined,
255-
template: undefined,
256-
provider: undefined,
257-
maxTokens: undefined,
258-
temperature: undefined,
259-
topP: undefined,
260-
stop: undefined,
261-
presencePenalty: undefined,
262-
frequencyPenalty: undefined,
263-
other: undefined,
264-
seed: undefined,
265-
responseFormat: undefined,
266-
tools: undefined,
267-
linkedTools: undefined,
268-
attributes: undefined,
269-
},
270-
inputs: {
271-
string: {
272-
key: "value",
273-
},
274-
},
275-
source: "string",
276-
metadata: {
277-
string: {
278-
key: "value",
279-
},
280-
},
281-
startTime: "2024-01-15T09:30:00Z",
282-
endTime: "2024-01-15T09:30:00Z",
283-
sourceDatapointId: "string",
284-
traceParentId: "string",
285-
user: "string",
286-
promptsCallStreamRequestEnvironment: "string",
287-
save: true,
288-
logId: "string",
289-
providerApiKeys: {
290-
openai: "string",
291-
ai21: "string",
292-
mock: "string",
293-
anthropic: "string",
294-
bedrock: "string",
295-
cohere: "string",
296-
openaiAzure: "string",
297-
openaiAzureEndpoint: "string",
298-
},
299-
numSamples: 1,
300-
returnInputs: true,
301-
logprobs: 1,
302-
suffix: "string",
303-
});
228+
await client.prompts.callStream({});
304229
```
305230

306231
</dd>
@@ -2486,7 +2411,7 @@ By default, the new Dataset version will be set to the list of Datapoints provid
24862411
the request. You can also create a new version by adding or removing Datapoints from an existing version
24872412
by specifying `action` as `add` or `remove` respectively. In this case, you may specify
24882413
the `version_id` or `environment` query parameters to identify the existing version to base
2489-
the new version on. If neither is provided, the default deployed version will be used.
2414+
the new version on. If neither is provided, the latest created version will be used.
24902415

24912416
If you provide a commit message, then the new version will be committed;
24922417
otherwise it will be uncommitted. If you try to commit an already committed version,
@@ -5716,7 +5641,7 @@ await client.directories.update("id");
57165641

57175642
## Files
57185643

5719-
<details><summary><code>client.files.<a href="/src/api/resources/files/client/Client.ts">list</a>({ ...params }) -> Humanloop.PaginatedDataUnionPromptResponseToolResponseDatasetResponseEvaluatorResponseFlowResponse</code></summary>
5644+
<details><summary><code>client.files.<a href="/src/api/resources/files/client/Client.ts">listFiles</a>({ ...params }) -> Humanloop.PaginatedDataUnionPromptResponseToolResponseDatasetResponseEvaluatorResponseFlowResponse</code></summary>
57205645
<dl>
57215646
<dd>
57225647

@@ -5744,7 +5669,7 @@ Get a paginated list of files.
57445669
<dd>
57455670

57465671
```typescript
5747-
await client.files.list();
5672+
await client.files.listFiles();
57485673
```
57495674

57505675
</dd>
@@ -5760,7 +5685,72 @@ await client.files.list();
57605685
<dl>
57615686
<dd>
57625687

5763-
**request:** `Humanloop.FilesListRequest`
5688+
**request:** `Humanloop.ListFilesFilesGetRequest`
5689+
5690+
</dd>
5691+
</dl>
5692+
5693+
<dl>
5694+
<dd>
5695+
5696+
**requestOptions:** `Files.RequestOptions`
5697+
5698+
</dd>
5699+
</dl>
5700+
</dd>
5701+
</dl>
5702+
5703+
</dd>
5704+
</dl>
5705+
</details>
5706+
5707+
<details><summary><code>client.files.<a href="/src/api/resources/files/client/Client.ts">retrieveByPath</a>({ ...params }) -> Humanloop.RetrieveByPathFilesRetrieveByPathPostResponse</code></summary>
5708+
<dl>
5709+
<dd>
5710+
5711+
#### 📝 Description
5712+
5713+
<dl>
5714+
<dd>
5715+
5716+
<dl>
5717+
<dd>
5718+
5719+
Retrieve a File by path.
5720+
5721+
</dd>
5722+
</dl>
5723+
</dd>
5724+
</dl>
5725+
5726+
#### 🔌 Usage
5727+
5728+
<dl>
5729+
<dd>
5730+
5731+
<dl>
5732+
<dd>
5733+
5734+
```typescript
5735+
await client.files.retrieveByPath({
5736+
path: "path",
5737+
});
5738+
```
5739+
5740+
</dd>
5741+
</dl>
5742+
</dd>
5743+
</dl>
5744+
5745+
#### ⚙️ Parameters
5746+
5747+
<dl>
5748+
<dd>
5749+
5750+
<dl>
5751+
<dd>
5752+
5753+
**request:** `Humanloop.BodyRetrieveByPathFilesRetrieveByPathPost`
57645754

57655755
</dd>
57665756
</dl>
@@ -6899,9 +6889,7 @@ Delete Logs with the given IDs.
68996889
<dd>
69006890

69016891
```typescript
6902-
await client.logs.delete({
6903-
id: "string",
6904-
});
6892+
await client.logs.delete();
69056893
```
69066894

69076895
</dd>

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

Lines changed: 27 additions & 27 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.9-beta6",
104-
"User-Agent": "humanloop/0.8.9-beta6",
103+
"X-Fern-SDK-Version": "0.8.10-beta7",
104+
"User-Agent": "humanloop/0.8.10-beta7",
105105
"X-Fern-Runtime": core.RUNTIME.type,
106106
"X-Fern-Runtime-Version": core.RUNTIME.version,
107107
...(await this._getCustomAuthorizationHeaders()),
@@ -176,7 +176,7 @@ export class Datasets {
176176
* the request. You can also create a new version by adding or removing Datapoints from an existing version
177177
* by specifying `action` as `add` or `remove` respectively. In this case, you may specify
178178
* the `version_id` or `environment` query parameters to identify the existing version to base
179-
* the new version on. If neither is provided, the default deployed version will be used.
179+
* the new version on. If neither is provided, the latest created version will be used.
180180
*
181181
* If you provide a commit message, then the new version will be committed;
182182
* otherwise it will be uncommitted. If you try to commit an already committed version,
@@ -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.9-beta6",
267-
"User-Agent": "humanloop/0.8.9-beta6",
266+
"X-Fern-SDK-Version": "0.8.10-beta7",
267+
"User-Agent": "humanloop/0.8.10-beta7",
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.9-beta6",
377-
"User-Agent": "humanloop/0.8.9-beta6",
376+
"X-Fern-SDK-Version": "0.8.10-beta7",
377+
"User-Agent": "humanloop/0.8.10-beta7",
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.9-beta6",
456-
"User-Agent": "humanloop/0.8.9-beta6",
455+
"X-Fern-SDK-Version": "0.8.10-beta7",
456+
"User-Agent": "humanloop/0.8.10-beta7",
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.9-beta6",
533-
"User-Agent": "humanloop/0.8.9-beta6",
532+
"X-Fern-SDK-Version": "0.8.10-beta7",
533+
"User-Agent": "humanloop/0.8.10-beta7",
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.9-beta6",
636-
"User-Agent": "humanloop/0.8.9-beta6",
635+
"X-Fern-SDK-Version": "0.8.10-beta7",
636+
"User-Agent": "humanloop/0.8.10-beta7",
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.9-beta6",
741-
"User-Agent": "humanloop/0.8.9-beta6",
740+
"X-Fern-SDK-Version": "0.8.10-beta7",
741+
"User-Agent": "humanloop/0.8.10-beta7",
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.9-beta6",
831-
"User-Agent": "humanloop/0.8.9-beta6",
830+
"X-Fern-SDK-Version": "0.8.10-beta7",
831+
"User-Agent": "humanloop/0.8.10-beta7",
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.9-beta6",
915-
"User-Agent": "humanloop/0.8.9-beta6",
914+
"X-Fern-SDK-Version": "0.8.10-beta7",
915+
"User-Agent": "humanloop/0.8.10-beta7",
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.9-beta6",
1016-
"User-Agent": "humanloop/0.8.9-beta6",
1015+
"X-Fern-SDK-Version": "0.8.10-beta7",
1016+
"User-Agent": "humanloop/0.8.10-beta7",
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.9-beta6",
1111-
"User-Agent": "humanloop/0.8.9-beta6",
1110+
"X-Fern-SDK-Version": "0.8.10-beta7",
1111+
"User-Agent": "humanloop/0.8.10-beta7",
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.9-beta6",
1197-
"User-Agent": "humanloop/0.8.9-beta6",
1196+
"X-Fern-SDK-Version": "0.8.10-beta7",
1197+
"User-Agent": "humanloop/0.8.10-beta7",
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.9-beta6",
1272-
"User-Agent": "humanloop/0.8.9-beta6",
1271+
"X-Fern-SDK-Version": "0.8.10-beta7",
1272+
"User-Agent": "humanloop/0.8.10-beta7",
12731273
"X-Fern-Runtime": core.RUNTIME.type,
12741274
"X-Fern-Runtime-Version": core.RUNTIME.version,
12751275
...(await this._getCustomAuthorizationHeaders()),

0 commit comments

Comments
 (0)