-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor ingest file handling for maintainability #73
Conversation
You need to setup a payment method to use LintruleYou can fix that by putting in a card here. |
This PR is being deployed to Railway 🚅 flask: ◻️ REMOVED |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add mime type == text (or whatever the syntax is), and ingest that with the ingest_single_txt
function (ensure no changes are needed there).
Thanks! That should support ALLLLL text files.
…bot/ai-ta-backend into refactor_file_handling
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Implemented the category checking if a file is a text file and makes sure that it isn't one of the files we already have ingest functions for.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks perfect to me.
Pull request to see on railway.