BuddhaNexus / buddhanexus

Backend for the Buddhanexus project
8 stars 2 forks source link

Switch option for match type: 'syntactic' vs. 'semantic' #275

Open sebastian-nehrdich opened 2 months ago

sebastian-nehrdich commented 2 months ago

One important option should be place in the option menu, ideally between the view mode selector and the filter selector: This is to choose between the type of matches: The default should be 'semantic' and the alternative option should be 'syntactic'. From what I can see, this option might best be placed in the side bar menu between the view selector and the filter options as it is a high-level parameter that effects the type of data in the whole application.

The context for this is: our datasets in the future might consist of two different types of data: 1. Data that is calculated based on semantic embeddings and can be less literal, more fuzzy, and multilingual. 2. data that is more precise and literal, hence the description as 'syntactic'. Its possible that the first iteration of buddhanexus2 will only have syntactic data, but at some point semantic data might come into play. For Dharmanexus, we certainly need this.

Spec:

See: https://discord.com/channels/1229483442203263056/1229483442677485589/1287157137235251302