Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update LLM provider SDK npm packages #5038

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hash-worker[bot]
Copy link
Contributor

@hash-worker hash-worker bot commented Sep 10, 2024

This PR contains the following updates:

Package Type Update Change
@anthropic-ai/bedrock-sdk dependencies minor 0.10.0 -> 0.11.0
@anthropic-ai/sdk dependencies minor 0.24.0 -> 0.30.0

Release Notes

anthropics/anthropic-sdk-typescript (@​anthropic-ai/bedrock-sdk)

v0.11.0

Full Changelog: v0.10.2...v0.11.0

Features
  • api: add messages endpoint with streaming helpers (#​235) (12b914f)
  • client: support reading the base url from an env variable (#​223) (5bc3600)
Chores
Documentation
Build System

v0.10.2

Compare Source

Full Changelog: v0.10.1...v0.10.2

v0.10.1

Compare Source

Full Changelog: v0.10.0...v0.10.1

Chores
  • internal: remove file import and conditionally run prepare (#​217) (8ac5c7a)

Configuration

📅 Schedule: Branch creation - "after 1am" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

hashdotai
hashdotai previously approved these changes Sep 10, 2024
hashdotai
hashdotai previously approved these changes Oct 4, 2024
hashdotai
hashdotai previously approved these changes Oct 8, 2024
hashdotai
hashdotai previously approved these changes Oct 19, 2024
Copy link
Contributor

Benchmark results

@rust/graph-benches – Integrations

representative_read_entity_type

Function Value Mean Flame graphs
get_entity_type_by_id Account ID: d4e16033-c281-4cde-aa35-9085bf2e7579 $$1.38 \mathrm{ms} \pm 3.63 \mathrm{μs}\left({\color{gray}-0.290 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_zero_depth

Function Value Mean Flame graphs
entity_by_id 10 entities $$2.07 \mathrm{ms} \pm 13.4 \mathrm{μs}\left({\color{gray}-0.481 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 50 entities $$4.11 \mathrm{ms} \pm 39.9 \mathrm{μs}\left({\color{gray}-1.204 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$1.83 \mathrm{ms} \pm 8.44 \mathrm{μs}\left({\color{gray}-0.612 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$1.87 \mathrm{ms} \pm 10.7 \mathrm{μs}\left({\color{gray}-0.804 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$2.71 \mathrm{ms} \pm 10.5 \mathrm{μs}\left({\color{gray}-0.298 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_linkless

Function Value Mean Flame graphs
entity_by_id 10 entities $$1.86 \mathrm{ms} \pm 6.89 \mathrm{μs}\left({\color{gray}-0.006 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$2.75 \mathrm{ms} \pm 10.3 \mathrm{μs}\left({\color{gray}-0.181 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$1.86 \mathrm{ms} \pm 6.70 \mathrm{μs}\left({\color{gray}0.851 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10000 entities $$8.96 \mathrm{ms} \pm 97.8 \mathrm{μs}\left({\color{lightgreen}-8.023 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 100 entities $$1.94 \mathrm{ms} \pm 7.22 \mathrm{μs}\left({\color{gray}-4.928 \mathrm{\%}}\right) $$ Flame Graph

representative_read_multiple_entities

Function Value Mean Flame graphs
entity_by_property depths: DT=255, PT=255, ET=255, E=255 $$68.2 \mathrm{ms} \pm 384 \mathrm{μs}\left({\color{gray}-1.208 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=2, ET=2, E=2 $$54.2 \mathrm{ms} \pm 317 \mathrm{μs}\left({\color{gray}0.251 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=0 $$39.4 \mathrm{ms} \pm 188 \mathrm{μs}\left({\color{gray}-0.689 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=2, E=2 $$49.5 \mathrm{ms} \pm 506 \mathrm{μs}\left({\color{gray}0.239 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=2 $$43.5 \mathrm{ms} \pm 361 \mathrm{μs}\left({\color{gray}-0.921 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=2, PT=2, ET=2, E=2 $$58.1 \mathrm{ms} \pm 372 \mathrm{μs}\left({\color{gray}-0.465 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=255, PT=255, ET=255, E=255 $$106 \mathrm{ms} \pm 549 \mathrm{μs}\left({\color{gray}-0.734 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=2, ET=2, E=2 $$92.5 \mathrm{ms} \pm 506 \mathrm{μs}\left({\color{gray}-0.135 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=0 $$41.7 \mathrm{ms} \pm 301 \mathrm{μs}\left({\color{gray}-2.672 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=2, E=2 $$87.9 \mathrm{ms} \pm 404 \mathrm{μs}\left({\color{gray}-1.995 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=2 $$79.5 \mathrm{ms} \pm 412 \mathrm{μs}\left({\color{gray}-0.648 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=2, PT=2, ET=2, E=2 $$96.7 \mathrm{ms} \pm 497 \mathrm{μs}\left({\color{gray}-0.458 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_one_depth

Function Value Mean Flame graphs
entity_by_id 10 entities $$51.1 \mathrm{ms} \pm 186 \mathrm{μs}\left({\color{red}63.0 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 50 entities $$270 \mathrm{ms} \pm 2.05 \mathrm{ms}\left({\color{lightgreen}-18.336 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$19.6 \mathrm{ms} \pm 103 \mathrm{μs}\left({\color{gray}-1.274 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$24.4 \mathrm{ms} \pm 173 \mathrm{μs}\left({\color{gray}-0.792 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$74.2 \mathrm{ms} \pm 357 \mathrm{μs}\left({\color{gray}-0.341 \mathrm{\%}}\right) $$ Flame Graph

representative_read_entity

Function Value Mean Flame graphs
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$16.6 \mathrm{ms} \pm 181 \mathrm{μs}\left({\color{gray}2.42 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/block/v/1 $$16.7 \mathrm{ms} \pm 186 \mathrm{μs}\left({\color{gray}3.29 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 $$16.4 \mathrm{ms} \pm 226 \mathrm{μs}\left({\color{gray}-3.552 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$17.0 \mathrm{ms} \pm 218 \mathrm{μs}\left({\color{gray}3.78 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 $$16.6 \mathrm{ms} \pm 197 \mathrm{μs}\left({\color{gray}-1.499 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 $$16.4 \mathrm{ms} \pm 194 \mathrm{μs}\left({\color{gray}-4.481 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 $$17.5 \mathrm{ms} \pm 168 \mathrm{μs}\left({\color{red}10.4 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 $$16.9 \mathrm{ms} \pm 211 \mathrm{μs}\left({\color{gray}-4.084 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 $$15.7 \mathrm{ms} \pm 179 \mathrm{μs}\left({\color{lightgreen}-8.063 \mathrm{\%}}\right) $$ Flame Graph

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/apps > hash* Affects HASH (a `hash-*` app) area/apps area/deps Relates to third-party dependencies (area)
Development

Successfully merging this pull request may close these issues.

2 participants