Skip to content

Commit 938a5c8

Browse files
Fix graphs url paths (#147)
* SDK regeneration * chore: Version bump --------- Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
1 parent a1a1605 commit 938a5c8

9 files changed

Lines changed: 180 additions & 194 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@getzep/zep-cloud",
3-
"version": "3.0.4",
3+
"version": "3.0.5",
44
"private": false,
55
"repository": "https://github.com/getzep/zep-js",
66
"description": "Zep: Fast, scalable building blocks for production LLM apps",

reference.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ await client.graph.clone();
386386
</dl>
387387
</details>
388388

389-
<details><summary><code>client.graph.<a href="/src/api/resources/graph/client/Client.ts">search</a>({ ...params }) -> Zep.GraphSearchResults</code></summary>
389+
<details><summary><code>client.graph.<a href="/src/api/resources/graph/client/Client.ts">create</a>({ ...params }) -> Zep.Graph</code></summary>
390390
<dl>
391391
<dd>
392392

@@ -398,7 +398,7 @@ await client.graph.clone();
398398
<dl>
399399
<dd>
400400

401-
Perform a graph search query.
401+
Creates a new graph.
402402

403403
</dd>
404404
</dl>
@@ -414,8 +414,8 @@ Perform a graph search query.
414414
<dd>
415415

416416
```typescript
417-
await client.graph.search({
418-
query: "query",
417+
await client.graph.create({
418+
graphId: "graph_id",
419419
});
420420
```
421421

@@ -432,7 +432,7 @@ await client.graph.search({
432432
<dl>
433433
<dd>
434434

435-
**request:** `Zep.GraphSearchQuery`
435+
**request:** `Zep.CreateGraphRequest`
436436

437437
</dd>
438438
</dl>
@@ -451,7 +451,7 @@ await client.graph.search({
451451
</dl>
452452
</details>
453453

454-
<details><summary><code>client.graph.<a href="/src/api/resources/graph/client/Client.ts">create</a>({ ...params }) -> Zep.Graph</code></summary>
454+
<details><summary><code>client.graph.<a href="/src/api/resources/graph/client/Client.ts">listAll</a>({ ...params }) -> Zep.GraphListResponse</code></summary>
455455
<dl>
456456
<dd>
457457

@@ -463,7 +463,7 @@ await client.graph.search({
463463
<dl>
464464
<dd>
465465

466-
Creates a new graph.
466+
Returns all graphs.
467467

468468
</dd>
469469
</dl>
@@ -479,9 +479,7 @@ Creates a new graph.
479479
<dd>
480480

481481
```typescript
482-
await client.graph.create({
483-
graphId: "graph_id",
484-
});
482+
await client.graph.listAll();
485483
```
486484

487485
</dd>
@@ -497,7 +495,7 @@ await client.graph.create({
497495
<dl>
498496
<dd>
499497

500-
**request:** `Zep.CreateGraphRequest`
498+
**request:** `Zep.GraphListAllRequest`
501499

502500
</dd>
503501
</dl>
@@ -516,7 +514,7 @@ await client.graph.create({
516514
</dl>
517515
</details>
518516

519-
<details><summary><code>client.graph.<a href="/src/api/resources/graph/client/Client.ts">listAll</a>({ ...params }) -> Zep.GraphListResponse</code></summary>
517+
<details><summary><code>client.graph.<a href="/src/api/resources/graph/client/Client.ts">search</a>({ ...params }) -> Zep.GraphSearchResults</code></summary>
520518
<dl>
521519
<dd>
522520

@@ -528,7 +526,7 @@ await client.graph.create({
528526
<dl>
529527
<dd>
530528

531-
Returns all graphs.
529+
Perform a graph search query.
532530

533531
</dd>
534532
</dl>
@@ -544,7 +542,9 @@ Returns all graphs.
544542
<dd>
545543

546544
```typescript
547-
await client.graph.listAll();
545+
await client.graph.search({
546+
query: "query",
547+
});
548548
```
549549

550550
</dd>
@@ -560,7 +560,7 @@ await client.graph.listAll();
560560
<dl>
561561
<dd>
562562

563-
**request:** `Zep.GraphListAllRequest`
563+
**request:** `Zep.GraphSearchQuery`
564564

565565
</dd>
566566
</dl>

src/Client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ export class ZepClient {
4545
{
4646
"X-Fern-Language": "JavaScript",
4747
"X-Fern-SDK-Name": "zep-cloud",
48-
"X-Fern-SDK-Version": "3.0.4",
49-
"User-Agent": "zep-cloud/3.0.4",
48+
"X-Fern-SDK-Version": "3.0.5",
49+
"User-Agent": "zep-cloud/3.0.5",
5050
"X-Fern-Runtime": core.RUNTIME.type,
5151
"X-Fern-Runtime-Version": core.RUNTIME.version,
5252
},

0 commit comments

Comments
 (0)