We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c040de6 commit 8ef0c10Copy full SHA for 8ef0c10
templates/components/vectordbs/typescript/llamacloud/generate.ts
@@ -27,6 +27,8 @@ async function loadAndIndex() {
27
const index = await getDataSource();
28
// ensure the index is available or create a new one
29
await index.ensureIndex();
30
+ // Wait 1 second before proceeding - (check if this is necessary)
31
+ await new Promise((resolve) => setTimeout(resolve, 1000));
32
const projectId = await index.getProjectId();
33
const pipelineId = await index.getPipelineId();
34
0 commit comments