developmentseed / bioacoustics-api

Google Bioacustics API that runs the backend for A2O Search
https://devseed.com/api-docs/?url=https://api.search.acousticobservatory.org/api/v1/openapi
MIT License
1 stars 0 forks source link

Add MilvusConnection class #8

Closed willemarcel closed 1 year ago

willemarcel commented 1 year ago

Now we have a view at /api/v1/search/ that is able to receive an audio file and execute the search in the Milvus database. That endpoint should receive a form post request with the following fields:

audio_file
limit (optional, int, max number of results)
expression (optional, str, example: subsite_name == "Wet-A")

It will get the embedding using the embed service and execute the search and return the results as JSON.

How to test:

willemarcel commented 1 year ago

@geohacker I added a commit here that also solves #6