vitrivr / vitrivr-engine

vitrivr's next-generation retrieval engine. It is capable of extracting and retrieving a wider range of multimedia objects such as audio, video, images or 3d models.
https://vitrivr.org
MIT License
5 stars 4 forks source link

Add Archipanion Layer for Api and Schema selection. (Later Authentication) #24

Closed net-cscience-raphael closed 2 months ago

net-cscience-raphael commented 7 months ago

Creates a layer that serves as an endpoint for the Archipanion UI and uses the vitrivr engine. In a first step this is a specialization of the pipeline based queries of the engine to the use cases of Archipanion. The API must provide all the functionalities previously used by Archipanion in cineast.

These are: Status Engine Endpoint Method Payload Beispiel Archipanion View Kommentar
Ok /api/v1/find/segments/similar POST {"config":{"maxResults":300},"terms":[{"type":"TEXT","categories":["visualtextcoembedding"],"data":"cows in the mountains"}],"messageType":"Q_SIM"} Search visualtextcoembedding raphael.waltenspuel@unibas.ch was uns hier fehlt, ist die Möglichkeit zur Ergänzung von Feature oder Metadaten Informationen. Wie der Medientyp jedes Objekts in der Antwort dabei ist, hätten wir gerne die Möglichkeit, z.B. einen lokalisierten Titel aus den Metadaten des Objekts direkt in der Antwort der Suche mitzugeben. Das könnte entweder über die Payload geschehen, oder aber in einer Endpoint Konfiguration angegeben werden.
Ok /api/v1/find/segments/similar POST {"config":{"maxResults":300},"terms":[{"type":"TEXT","categories":["ocr"],"data":"bern"}],"messageType":"Q_SIM"} ocr
Ok /api/v1/find/segments/by/id POST {"ids":["v_SFW_0357_37","v_SFW_0730_157","v_SFW_1533_124","v_SFW_0736_70", ... Search
Ok /api/v1/find/object/by/id POST {"ids":["v_SFW_1613","v_SFW_0050","v_SFW_0720","v_SFW_0311","v_SFW_0628", ... Search
Ok /api/v1/find/segments/similar POST {"config":{"maxResults":300},"terms":[{"type":"ID","categories":["visualtextcoembedding"],"data":"v_SFW_0357_37"}],"messageType":"Q_MLT"} Search similarity
Check /api/v1/find/metadata/by/id/v_SFW_0357 GET Details
Check /api/v1/find/feature/all/by/entity/features_captions POST {"ids":["v_SFW_0357_37"]} Details Aktuell nur auf innosuisse.archipanion.com/ genutzt
Check weitere Features: /features_classes /features_conditional_captions /features_conditional_title POST Details Aktuell nur auf innosuisse.archipanion.com/ genutzt
ppanopticon commented 3 months ago

Please move this issue to the respective Archipanion project or repository.