Skip to content

Commit

Permalink
V2 (#115)
Browse files Browse the repository at this point in the history
* chore: Bump version

* SDK regeneration

* chore: Add license

* chore: Add license

* chore: Bump version

* SDK regeneration

* chore: Update memory example

* chore: Version bump

* SDK regeneration

* chore: Version bump

* SDK regeneration

* SDK regeneration

* chore: unignore package json and yarn.lock

* update version

* SDK regeneration

* chore: Add package.json and yarn.lock to fernignore

* chore: remove package json from fernignore

* SDK regeneration

* chore: Update heading

* fix: tests

* fix: prepack command

* fix: prepack command

* chore: Version bump

* chore: Remove vercel AI example (in a dedicated repo now)

* SDK regeneration

* SDK regeneration

* chore: Version bump

* SDK regeneration

---------

Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
  • Loading branch information
paul-paliychuk and fern-api[bot] authored Feb 11, 2025
1 parent d64eb96 commit 909c4b6
Show file tree
Hide file tree
Showing 36 changed files with 480 additions and 4,755 deletions.
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);
41 changes: 0 additions & 41 deletions examples/vercel_ai/.gitignore

This file was deleted.

72 changes: 0 additions & 72 deletions examples/vercel_ai/README.md

This file was deleted.

16 changes: 0 additions & 16 deletions examples/vercel_ai/eslint.config.mjs

This file was deleted.

7 changes: 0 additions & 7 deletions examples/vercel_ai/next.config.ts

This file was deleted.

33 changes: 0 additions & 33 deletions examples/vercel_ai/package.json

This file was deleted.

Loading

0 comments on commit 909c4b6

Please sign in to comment.