Skip to content

Commit

Permalink
chore: add a log since ingestion can take a few minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
sneko committed Mar 20, 2024
1 parent 809d31a commit 6af2d6f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/features/llm-langchain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,9 @@ export class LangchainWithLocalVectorStoreLlmManager implements LlmManager {
}
);

// If needed, check the table of documents and have a look at the columns `updatedAt` and `calculatedAt` to see progression
console.log(`there are ${initiativeLlmDocumentsToCalculate.length} initiative documents to compute, it may take a few minutes if there is a lot`);

if (initiativeLlmDocumentsToCalculate.length > 0) {
// `addModels` always calculates the vector so we use it both for created documents and those to update
// Notes:
Expand Down

0 comments on commit 6af2d6f

Please sign in to comment.