This project is mirrored from https://github.com/aurelio-labs/semantic-router.
Pull mirroring updated .
- Feb 05, 2024
-
-
Siraj R Aizlewood authored
-
James Briggs authored
-
James Briggs authored
-
James Briggs authored
-
- Feb 01, 2024
-
-
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
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.
-