Skip to content

Commit

Permalink
Update src/core/knn.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-suhas authored Mar 20, 2024
1 parent d4a8399 commit 037a1e5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/core/knn.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,8 @@ class KNN {
* @returns {KNN} Returns the instance of KNN for method chaining.
* @throws {Error} Throws an error if both query_vector_builder and query_vector are provided.
*
* Usage example:
* let knn = new KNN();
* knn.queryVectorBuilder('model_123', 'Sample model text');
* @example
* let knn = new esb.KNN().queryVectorBuilder('model_123', 'Sample model text');
*/
queryVectorBuilder(modelId, modelText) {
if (this._body.query_vector)
Expand Down

0 comments on commit 037a1e5

Please sign in to comment.