refactor: move build_graph.mjs and ingest.mjs to setup/

This commit is contained in:
2026-03-27 09:57:04 +05:30
parent f974ab7188
commit 1434dd20af
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import { Graph } from 'graphology';
const SPEC_DIR = './spec-built/multipage';
const CODE_DIR = './engine262/src';
import { GRAPH_FILE } from './constants.mjs';
import { GRAPH_FILE } from '../constants.mjs';
async function buildGraph() {
const graph = new Graph({ multi: true });
+1 -1
View File
@@ -18,7 +18,7 @@ Settings.embedModel = new OllamaEmbedding({
const SPEC_DIR = './spec-built/multipage';
const CODE_DIR = './engine262/src';
import { STORAGE_DIR } from './constants.mjs';
import { STORAGE_DIR } from '../constants.mjs';
// Initialize a SentenceSplitter with even smaller chunk size
const sentenceSplitter = new SentenceSplitter({ chunkSize: 256, chunkOverlap: 20 });