marinac-dev / qdrant

Elixir client for Qdrant vector search engine
MIT License
20 stars 7 forks source link

(UndefinedFunctionError) function Qdrant.Api.Http.Points.search/3 is undefined or private #9

Closed chrisgreg closed 1 year ago

chrisgreg commented 1 year ago

Trying to basically run the getting started from the readme and running into this:

iex(34)> Qdrant.search_points("training_test", %{vector: sv, limit: 4})
** (UndefinedFunctionError) function Qdrant.Api.Http.Points.search/3 is undefined or private. Did you mean:

      * search_points/2
      * search_points/3
      * search_points_batch/2
      * search_points_batch/3

    (qdrant 0.0.7) Qdrant.Api.Http.Points.search("training_test", %{limit: 4, vector: [0.013709464, -0.0052470975, -0.0060032695, -0.020471979, -0.018123543, 0.015012785, -0.020791663, -0.01690629, -3.156481e-4, -0.01562756, 6.117003e-4, 0.012775007, -0.0107155135, 5.563706e-4, -0.0143611245, 0.0010666332, 0.03486999, 0.0025528497, 0.0064120945, -0.007426472, -0.027566474, 0.010807729, -0.020336729, 0.0011234998, -0.017889928, 0.019660477, 0.014729989, -0.014582443, 0.024922945, 0.004020623, 0.00589261, -0.0051763984, -0.0022423887, -0.019254727, -0.02087773, 0.021025276, 0.021185117, 0.010358945, 0.015725924, -0.012676643, 0.017889928, -0.0032460075, -9.920918e-4, 0.008360929, 0.007401881, 0.011662265, -0.0057450645, 0.0050780345, ...]}, nil)

Has the API broken?

marinac-dev commented 1 year ago

It's a bug/typo in a library