UNPKG

weaviate-client

Version:
28 lines (27 loc) 791 B
export default () => { return { sum: (targetVectors) => { return { combination: 'sum', targetVectors }; }, average: (targetVectors) => { return { combination: 'average', targetVectors }; }, minimum: (targetVectors) => { return { combination: 'minimum', targetVectors }; }, relativeScore: (weights) => { return { combination: 'relative-score', targetVectors: Object.keys(weights), weights, }; }, manualWeights: (weights) => { return { combination: 'manual-weights', targetVectors: Object.keys(weights), weights, }; }, }; };