deepsearch-toolkit
deepsearch-toolkit copied to clipboard
Add index type checks and allowed file extensions
Currently, toolkit does not take into account the type of the index, which may happen a user try to insert pdf documents into a Generic
index or a JSON
file to a Document
type.
This PR addresses this by checking the index type, and if the file format of the document matches the index type