hkulekci / qdrant-php

Qdrant is a vector similarity engine & vector database. It deploys as an API service providing search for the nearest high-dimensional vectors. With Qdrant, embeddings or neural network encoders can be turned into full-fledged applications for matching, searching, recommending, and much more!
MIT License
93 stars 21 forks source link

We need to define an object for update method parameters #5

Closed hkulekci closed 10 months ago

hkulekci commented 1 year ago

We must change this array $params part with an object.

    // Qdrant\Endpoints\Collections\Cluster
    public function update(array $params): Response
    {
        return $this->client->execute(
            $this->createRequest('POST', '/collections/' . $this->getCollectionName() . '/cluster', $params)
        );
    }

Document :

https://qdrant.github.io/qdrant/redoc/index.html#tag/collections/operation/update_collection_cluster