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

feat: create cloud saving/loading of route layers #164

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

jamescalam
Copy link
Member

@jamescalam jamescalam commented Feb 21, 2024

We will add a "Route Hub" which for the foreseeable future will using Hugging Face Hub as a "RouteLayer repository" allowing users to save, load, and share route layers.

Should include:

  • Saving/loading of all Routes in a route layer, including their thresholds, any function calling schema, and description
  • Saving/loading of encoder information
  • Anything else needed to make saving/loading fully automated and easy
  • Tagging system on HF so we and users can filter for and search specifically for route layer datasets on HF

Users will need an HF account and API keys for this to work.

Can refer to this example for a minimal version of this functionality

@jamescalam jamescalam added the feature New feature request label Feb 21, 2024
@jamescalam jamescalam marked this pull request as draft February 21, 2024 12:29
Copy link

codecov bot commented Mar 22, 2024

Codecov Report

Attention: Patch coverage is 17.10526% with 63 lines in your changes are missing coverage. Please review.

Project coverage is 78.48%. Comparing base (29762f0) to head (4fc90d3).

Files Patch % Lines
semantic_router/layer.py 17.10% 63 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #164      +/-   ##
==========================================
- Coverage   80.39%   78.48%   -1.91%     
==========================================
  Files          44       44              
  Lines        2443     2519      +76     
==========================================
+ Hits         1964     1977      +13     
- Misses        479      542      +63     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants