diff --git a/setup/ingest.ts b/setup/ingest.ts index 30b473e..e34d0dc 100644 --- a/setup/ingest.ts +++ b/setup/ingest.ts @@ -97,7 +97,7 @@ async function main() { console.log("Building index (this might take a while with local Ollama)..."); const BATCH_SIZE = 50; - let index: any; + let index: VectorStoreIndex | null = null; // Try to load existing index if any try {