Semantic-router

Latest version: v0.0.72

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 13

0.1.0.dev4

What's Changed
* fix: missing auto_sync in intro doc by jamescalam in https://github.com/aurelio-labs/semantic-router/pull/476
* feat: add sync lock by jamescalam in https://github.com/aurelio-labs/semantic-router/pull/485
* feat: multilingual bedrock by jamescalam in https://github.com/aurelio-labs/semantic-router/pull/486
* feat: Bedrock Multimodal Embeddings 💬🖼️ by JGalego in https://github.com/aurelio-labs/semantic-router/pull/478
* Add py.typed file for type checking by gbaian10 in https://github.com/aurelio-labs/semantic-router/pull/475
* feat: add test for single route single utterance by jamescalam in https://github.com/aurelio-labs/semantic-router/pull/488
* fix: vector shape for single utterance by ashraq1455 in https://github.com/aurelio-labs/semantic-router/pull/489

New Contributors
* JGalego made their first contribution in https://github.com/aurelio-labs/semantic-router/pull/478
* gbaian10 made their first contribution in https://github.com/aurelio-labs/semantic-router/pull/475

**Full Changelog**: https://github.com/aurelio-labs/semantic-router/compare/v0.1.0.dev3...v0.1.0.dev4

0.1.0.dev3

What's Changed
* feat: add 313 testing and upgrade pydantic by jamescalam in https://github.com/aurelio-labs/semantic-router/pull/472
* fix: sort func schemas and metadata in diffs by jamescalam in https://github.com/aurelio-labs/semantic-router/pull/473
* chore: new dev release by jamescalam in https://github.com/aurelio-labs/semantic-router/pull/474


**Full Changelog**: https://github.com/aurelio-labs/semantic-router/compare/v0.1.0.dev2...v0.1.0.dev3

0.1.0.dev2

**There are many breaking changes as we move towards v0.1.0** and plenty more features and optimizations to be excited for!

- `RouteLayer`(s) are now abstracted into `semantic_router.routers.base.BaseRouter`, meaning `RouteLayer` is now `SemanticRouter` and to import we do `from semantic_router.routers import SemanticRouter`. For `HybridRouteLayer` we now use `from semantic_router.routers import HybridRouter`.
- "Routers" have been refactored extensively, `HybridRouter` is now closer to parity with `RouteLayer` (ie allowing syncing, better route management, etc) and integrates with the various encoders and indexes with more stability. There's still some more to come here though.
- Sparse encoders have been refactored extensively, `TfidfEncoder` and `BM25Encoder` now mostly share the same methods, and most importantly align in inputs/outputs and the main methods we'd be using. Inheritance of these classes has been organized better also. Yet there's still more to do.
- Sparse embedding methods and transformations have been optimized, this also introduces a `SparseEmbedding` object which is just an organized numpy array with some useful methods attached. This is the first step towards more efficient use of numpy across the library. Again, there's still plenty more to do.
- The `HybridRouter` was initially both an index and a router, which obviously caused issues when trying to standardize across the indexes and encoders. So this has been broken down to create the `LocalHybridIndex`. The methods and transformations from the old router have also been optimized.
- We have added `AurelioSparseEncoder` to the library, which integrates with our Platform BM25 service
- New examples covering this are [here](https://github.com/aurelio-labs/semantic-router/blob/main/docs/examples/pinecone-hybrid.ipynb) and [here](https://github.com/aurelio-labs/semantic-router/blob/main/docs/encoders/aurelio-bm25.ipynb)
- Better use of inheritance for all indexes
- Better alignment of the `PostgresIndex` with our standard indexes, also resolved difficult installation dependency of the library.
- Same for `QdrantIndex`, but only very minor tweaks were required here
- New [hybrid router example](https://github.com/aurelio-labs/semantic-router/blob/main/docs/examples/hybrid-router.ipynb)
- various other things, PR changes are [here](https://github.com/aurelio-labs/semantic-router/pull/465/files)

What's Changed
* feat: abstract layers by jamescalam in https://github.com/aurelio-labs/semantic-router/pull/465


**Full Changelog**: https://github.com/aurelio-labs/semantic-router/compare/v0.1.0.dev1...v0.1.0.dev2

0.1.0.dev1

What's Changed
* fix: function schemas by jamescalam in https://github.com/aurelio-labs/semantic-router/pull/463


**Full Changelog**: https://github.com/aurelio-labs/semantic-router/compare/v0.1.0.dev0...v0.1.0.dev1

0.1.0.dev0

What's Changed
* feat: add test for 3.12 and remove 3.9 by jamescalam in https://github.com/aurelio-labs/semantic-router/pull/456
* feat!: add fast sync check by jamescalam in https://github.com/aurelio-labs/semantic-router/pull/460
* fix: remove no longer used docs by jamescalam in https://github.com/aurelio-labs/semantic-router/pull/461
* fix: remote duplicate testing on pr merge by jamescalam in https://github.com/aurelio-labs/semantic-router/pull/462


**Full Changelog**: https://github.com/aurelio-labs/semantic-router/compare/v0.0.72...v0.1.0.dev0

0.0.72

What's Changed
* feat: move cohere to optional dep by jamescalam in https://github.com/aurelio-labs/semantic-router/pull/448


**Full Changelog**: https://github.com/aurelio-labs/semantic-router/compare/v0.0.71...v0.0.72

Page 2 of 13

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.