Skip to content

Commit

Permalink
chore: Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-paliychuk committed Feb 11, 2025
1 parent ec02356 commit 054538a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions examples/graph/user_graph_example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,19 @@ async function main() {
console.log("Getting all user facts");
const userFacts = await client.user.getFacts(userId);
console.log(userFacts.facts);

const {node: userNode} = await client.user.getNode(userId)
if (userNode) {
console.log("User node: ", userNode)
const userCenteredSearch = await client.graph.search({
userId,
query: "User preferences",
centerNodeUuid: userNode.uuid,
reranker: "node_distance",
})
console.log("User centered search results", userCenteredSearch.edges)
}

}

main().catch(console.error);
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@getzep/zep-cloud",
"version": "2.3.1",
"version": "2.4.0",
"private": false,
"repository": "https://github.com/getzep/zep-js",
"description": "Zep: Fast, scalable building blocks for production LLM apps",
Expand Down

0 comments on commit 054538a

Please # to comment.