This project is mirrored from https://github.com/aurelio-labs/semantic-router.
Pull mirroring updated .
- Feb 12, 2024
-
-
Siraj R Aizlewood authored
-
Siraj R Aizlewood authored
Mostly just trying to make MyPy happy!
-
Siraj R Aizlewood authored
Rather than is_index_populated.
-
- Feb 11, 2024
-
-
James Briggs authored
-
James Briggs authored
-
- 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.
-
Siraj R Aizlewood authored
Also made sure it's used properly in layer.py.
-
Siraj R Aizlewood authored
-
- Feb 05, 2024
-
-
Siraj R Aizlewood authored
-
James Briggs authored
-
James Briggs authored
-
James Briggs authored
-
- Feb 04, 2024
-
-
James Briggs authored
-
- Feb 01, 2024
-
-
Siraj R Aizlewood authored
-
Siraj R Aizlewood authored
-
Siraj R Aizlewood authored
-
Siraj R Aizlewood authored
Changes to the code meant we needed to change some pytests. New pytests added for Conversation splitter method. Also fixed a bug in cumulative_sim.py where we weren't limiting curr_split_docs to only latter docs after a split.
-
Siraj R Aizlewood authored
-
Siraj R Aizlewood authored
We need to figure out how to check if first two messages belong to the same topic before implementing. At the moment they code is written such that the first two messages automatically are sorted into the same topic.
-
Siraj R Aizlewood authored
This was required to fix a bug where the first two mesasges were always assigned the same class.
-
Siraj R Aizlewood authored
The splitting code needed tidying and docstrings. Delegated tasks in split_by_topic() to newly created methods to reduce number of lines of code in split_by_topic().
-
Siraj R Aizlewood authored
-
Siraj R Aizlewood authored
The split_by_topic was adding the last message from the previous splitting to the current splitting output, resulting in duplicates. I also made the code more readable. Also moved Conversation from schema.py to text.py to avoid cyclic imports.
-
Siraj R Aizlewood authored
-
Siraj R Aizlewood authored
Also commented out splitter code in Conversation class temporarily due to circular reference.
-
- Jan 31, 2024
-
-
Siraj R Aizlewood authored
-
Siraj R Aizlewood authored
Ensured that splitters embed in the __call__ method, rather than on initialization. Also updated the Conversation class to uttilize splitters in assigning topic ids to Messages as the list of Messages grows.
-
Siraj R Aizlewood authored
-
Siraj R Aizlewood authored
-