high-dimensional.ts 309 字节
Newer Older
P
Peter Pan 已提交
1 2 3 4 5 6 7 8 9 10 11 12
import type {Worker} from './types';

const worker: Worker = async io => {
    const components = await io.getData<string[]>('/components');
    if (!components.includes('embeddings')) {
        return;
    }

    // await io.save<Record<string, string[]>>('/embedding/embedding');
};

export default worker;