marinac-dev / qdrant Goto Github PK
View Code? Open in Web Editor NEWElixir client for Qdrant vector search engine
License: MIT License
Elixir client for Qdrant vector search engine
License: MIT License
Hey, I really want to use this library for my app, but I donβt want to deploy QDrant myself right away. How does one use this library with QDrantβs managed cloud which requires an API key?
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?
The current mix.exs
contains mox
without only: [:test]
. This makes it so that when the library is used the app including it has to also have mox in normal runtime which I guess is not the preferred solution.
Solution:
Add only: [:test]
to mox in mix.exs
and refresh lockfile.
I made a PR to fix it.
Thanks again for making this awesome library, and appologies if I made any mistakes. This marks my first open source contribution haha.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.