UNPKG

@opensearch-project/opensearch

Version:

The official OpenSearch client for Node.js

40 lines (33 loc) 1.26 kB
/* * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. * */ /* * This file was generated from the OpenSearch API Spec. Do NOT edit it * manually. If you want to make changes, either update the spec or * modify the API generator. */ 'use strict'; /** @namespace API-Knn */ function KnnApi(bindObj) { this.deleteModel = require('./deleteModel').bind(bindObj); this.getModel = require('./getModel').bind(bindObj); this.searchModels = require('./searchModels').bind(bindObj); this.stats = require('./stats').bind(bindObj); this.trainModel = require('./trainModel').bind(bindObj); this.warmup = require('./warmup').bind(bindObj); // Deprecated: Use deleteModel instead. this.delete_model = require('./deleteModel').bind(bindObj); // Deprecated: Use getModel instead. this.get_model = require('./getModel').bind(bindObj); // Deprecated: Use searchModels instead. this.search_models = require('./searchModels').bind(bindObj); // Deprecated: Use trainModel instead. this.train_model = require('./trainModel').bind(bindObj); } module.exports = KnnApi;