Skip to content

Commit

Permalink
renamed recommend_batch to recommendBatch for consistency and kept al…
Browse files Browse the repository at this point in the history
…ias (#54)

Co-authored-by: Mohamed Morad <mohamed.morad@syncore.at>
Co-authored-by: Ivan Pleshkov <pleshkov.ivan@gmail.com>
  • Loading branch information
3 people authored Dec 6, 2023
1 parent b6b40fc commit 7b0502d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/js-client-rest/src/qdrant-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ export class QdrantClient {
* - 'all' - query all replicas, and return values present in all replicas
* @returns List of recommend responses
*/
async recommend_batch(
async recommendBatch(
collection_name: string,
{
searches,
Expand All @@ -271,6 +271,11 @@ export class QdrantClient {
return maybe(response.data.result).orElse([]);
}

/**
* @alias recommendBatch
*/
recommend_batch = this.recommendBatch;

/**
* Recommendation request. Provides positive and negative examples of the vectors,
* which can be ids of points that are already stored in the collection, raw vectors, or even ids and vectors combined.
Expand Down

0 comments on commit 7b0502d

Please sign in to comment.