@azure/search-documents
Version:
Azure client library to use AI Search for node.js and browser.
14 lines • 536 B
JavaScript
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
/**
* Helper method to create a SynonymMap object. This is a NodeJS only method.
* Will throw an error for browser.
*
* @param name - Name of the SynonymMap.
* @param filePath - Path of the file that contains the Synonyms (separated by new lines)
* @returns SynonymMap object
*/
export async function createSynonymMapFromFile(_name, _filePath) {
throw new Error("Not implemented for browser.");
}
//# sourceMappingURL=synonymMapHelper-browser.mjs.map