;
    },
    'boost.linked_concepts': function ({ data }) {
      const { concepts } = data;
      concepts.reduce((prev, curr) => {
        if (prev) {
          linkNodes(prev, curr);
        }
        return curr;
      }, null);
    },
  };

  function processChunk(chunk) {
    try {
      const data = JSON.parse(chunk.replace(/data: /, ""));
      const text = data.object;
      const handler = handlers[text];

      if (handler) {
        console.log("Processing chunk:", data);
        handler(data);
