This project is mirrored from https://github.com/aurelio-labs/semantic-router.
Pull mirroring updated .
- Nov 30, 2024
-
-
jamescalam authored
-
jamescalam authored
-
- Nov 09, 2024
-
-
James Briggs authored
-
- Aug 30, 2024
-
-
Vits authored
-
- Jul 17, 2024
-
-
tolgadevAI authored
-
tolgadevAI authored
-
- May 07, 2024
-
-
Siraj R Aizlewood authored
-
- May 06, 2024
-
-
Siraj R Aizlewood authored
-
- May 03, 2024
-
-
Siraj R Aizlewood authored
list is only supported from Python 3.10 onwards, and we'd like to support 3.9 onwards.
-
- Apr 30, 2024
-
-
Siraj R Aizlewood authored
-
Siraj R Aizlewood authored
We don't have OpenAI Function Calling Dynamic Routes as an alternative to regular dynamic routes any more, it is now the default.
-
- Apr 29, 2024
-
-
Siraj R Aizlewood authored
-
Siraj R Aizlewood authored
Simplified __call__ in route.py as we don't have 2 separate methods of treating dynamic routes anymore.
-
- Apr 28, 2024
-
-
Siraj R Aizlewood authored
-
Siraj R Aizlewood authored
-
Siraj R Aizlewood authored
-
- Apr 26, 2024
-
-
Siraj R Aizlewood authored
-
- Feb 27, 2024
- Feb 19, 2024
-
-
Bogdan Buduroiu authored
-
Bogdan Buduroiu authored
-
- Feb 17, 2024
-
-
James Briggs authored
-
- Feb 13, 2024
-
-
Siraj R Aizlewood authored
-
Siraj R Aizlewood authored
Saving Layer Configs as JSON or YAML config files by representing the LayerConfig object as a dict and then turning into JSON/YAML wasn't working. See issue here: https://github.com/aurelio-labs/semantic-router/issues/144 The issue was that, by attempting this, we were attempting to serialize all objects included in the Layer, including Routes, and the LLMs that those Routes use. In the case of the above issue, the LLM was a Cohere one, which included a Client as one of its attributes, and this Client is not serializable. So, instead of attempting to represent the entire LLM object a dict, to then be converted into JSON/YAML, we only keep key information about the LLM: 'module': self.llm.__module__, 'class': self.llm.__class__.__name__, 'model': self.llm.name This is what's saved in route.py, and then sent to layer.py to be serialized (in LayerConfig.to_file()). Then, when it comes time to load from the file via LayerConfig.from_file, the LLM is re-initialized dynamically.
-
- Jan 26, 2024
-
-
James Briggs authored
-
James Briggs authored
-
James Briggs authored
-
- Jan 23, 2024
-
-
Siraj R Aizlewood authored
-
- Jan 22, 2024
-
-
Arash Mosharraf authored
-
- Jan 18, 2024
-
-
Arash Mosharraf authored
-
- Jan 16, 2024
-
-
Arash Mosharraf authored
-
Kenny authored
-
- Jan 13, 2024
-
-
Bogdan Buduroiu authored
-
Bogdan Buduroiu authored
-
James Briggs authored
-
- Jan 12, 2024
-
-
hananel authored
-
- Jan 11, 2024
- Jan 10, 2024
-
-
Simonas authored
-
- Jan 07, 2024
-
-
James Briggs authored
-