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