Skip to content

Commit fa55e66

Browse files
committed
Completed /ingest route
1 parent 5f8975d commit fa55e66

File tree

1 file changed

+2
-1
lines changed
  • rocket-chatter-ingestion-server/src/routes

1 file changed

+2
-1
lines changed

rocket-chatter-ingestion-server/src/routes/ingest.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ async function startProcessJob(dirName: string): Promise<boolean> {
4747

4848
/* Step 1: Prepare the codebase */
4949
const codebase = new Codebase(dirName, new FileProcessor(), batchSize)
50-
codebase.process()
50+
await codebase.process()
51+
await codebase.embed()
5152

5253
/* Step 2: Prepare the nodes embeddings */
5354
// await prepareNodesEmbeddings("data", batchSize)

0 commit comments

Comments
 (0)