This project is mirrored from https://github.com/aurelio-labs/semantic-router.
Pull mirroring updated .
- Feb 20, 2024
-
-
zahid-syed authored
-
zahid-syed authored
-
zahid-syed authored
-
- Feb 19, 2024
-
-
James Briggs authored
-
Bogdan Buduroiu authored
-
Bogdan Buduroiu authored
-
Bogdan Buduroiu authored
-
Bogdan Buduroiu authored
-
Bogdan Buduroiu authored
-
Bogdan Buduroiu authored
-
- Feb 18, 2024
-
-
James Briggs authored
-
James Briggs authored
-
- Feb 14, 2024
-
-
James Briggs authored
-
- Feb 13, 2024
-
-
James Briggs authored
-
James Briggs authored
-
Siraj R Aizlewood authored
-
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.
-
- Feb 12, 2024
-
-
Siraj R Aizlewood authored
-
Siraj R Aizlewood authored
Mostly just trying to make MyPy happy!
-
dwmorris11 authored
-
Siraj R Aizlewood authored
Rather than is_index_populated.
-
dwmorris11 authored
-
dwmorris11 authored
installed poetry and ran make. added mistralai to the pyproject.toml (first time using poetry, nice tool)
-
- Feb 11, 2024
-
-
James Briggs authored
-
James Briggs authored
-
dwmorris11 authored
the __call__ method of the Zure class to make it more informative
-
dwmorris11 authored
new encoder and a new LLMS. The encoder is a simple wrapper around the MistralAI API, and the LLMS is a simple wrapper around the encoder. The encoder is tested with a simple unit test, and the LLMS is tested with a simple unit test.
-
- Feb 10, 2024
-
-
James Briggs authored
-
- Feb 08, 2024
-
-
Siraj R Aizlewood authored
-
Siraj R Aizlewood authored
-
- Feb 07, 2024
-
-
Siraj R Aizlewood authored
-
Siraj R Aizlewood authored
-
Siraj R Aizlewood authored
It's defined in the BaseIndex which LocalIndex inherits anyway
-
Siraj R Aizlewood authored
-
- Feb 06, 2024
-
-
Siraj R Aizlewood authored
-
Siraj R Aizlewood authored
-
Siraj R Aizlewood authored
-
Siraj R Aizlewood authored
Also fixed bug in layer.py where we weren't: a) Setting the index_name to a default value. b) Weren't using index_name.
-
Siraj R Aizlewood authored
Making pydantic leave me alone and giving the correct index name.
-