you may want to copy some code from there to interface with the indices, but you can hack your way through it if you just use the api calls from annoy https://github.com/spotify/annoy
you need to initialize `index = annoy.AnnoyIndex(f, 'angular')` with f as the dimensionality of a metric, then call `index.load(<file_path>)`
then can query with `index.get_nns_by_item(<lowlevel.id>, <number_of_neighbours>, include_distances=True)`
should return something like a list of tuples (lowlevel.id, distance)
okno joined the channel
okno
hello, are you aware of an issue concerning GPS coordinate in the json API? Sometime i get them as strings in the json outpout, some times I get floats
ruaok
aidanlw17: alastairp : thanks, I'll play later.
okno: doesn't seem to be known, can you please open a ticket?
okno
I am not a 100% sure yet, I am trying to reproduce with a simple curl
aidanlw17
cool, can’t wait to see what you come up with! Hopping on the plane now so I’ll be afk for a while.
okno
but it seems to be happening only in my integration test
I'll open a ticket as soon as I can reproduce outside the scope of my app
none of these are important for ensuring that this package works with python3, and can only be performed by a metabrainz member
you should focus on the result of installing the dependencies and running `make`
Pac23
i did alastairp,i know that the later part would cause problems anyways,it the schema updation part that got me questioning is the git pull part not working for schema updation
ruaok
pristine__: you're the last person in both airbnb's tomorrow. please make sure you're out of the flat by 11am, ok?
alastairp
but if you're asking for help, you can't just say something like "i am getting the no rule error", or "cant find ref prod error". it's much easier if you paste the output of the command including what you ran and what the error message is. we can't guess what you are doing, helping us to help you as much as possible makes it easier for everyone
Pac23
i do realize that sorry alastairp
pristine__
alastairp: okay
Pac23
anyways yvanzo i did endup autogenerating models.py and pushed to the pr
yvanzo
Pac23: great, i will check that tomorrow, ty!
Freso
reosarevok: This is the code from the output I sent you earlier, if you want to rerun it sometime. I’ll probably add some genre requests based on this. :) https://gist.github.com/Freso/802c5b4c1d698f211...
Pac23
thanks for helpiing out yvanzo
chaban joined the channel
moufl has quit
antfoo joined the channel
BrainzGit
[listenbrainz-server] dependabot-preview[bot] opened pull request #650 (master…dependabot/pip/flask-sqlalchemy-2.4.1): Bump flask-sqlalchemy from 2.4.0 to 2.4.1 https://github.com/metabrainz/listenbrainz-serv...