genkit
Version:
Genkit AI framework
54 lines • 2.14 kB
JavaScript
;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var reranker_exports = {};
__export(reranker_exports, {
CommonRerankerOptionsSchema: () => import_reranker.CommonRerankerOptionsSchema,
RankedDocument: () => import_reranker.RankedDocument,
RankedDocumentDataSchema: () => import_reranker.RankedDocumentDataSchema,
RerankerInfoSchema: () => import_reranker.RerankerInfoSchema,
rerankerRef: () => import_reranker.rerankerRef
});
module.exports = __toCommonJS(reranker_exports);
var import_reranker = require("@genkit-ai/ai/reranker");
/**
* @license
*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
CommonRerankerOptionsSchema,
RankedDocument,
RankedDocumentDataSchema,
RerankerInfoSchema,
rerankerRef
});
//# sourceMappingURL=reranker.js.map