The operation was aborted due to timeout
i4j5 opened this issue · comments
node:internal/deps/undici/undici:12344
Error.captureStackTrace(err, this);
^
DOMException [TimeoutError]: The operation was aborted due to timeout
at node:internal/deps/undici/undici:12344:11
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Ollama.getEmbedding (file:///home/aleksandr/code/bot/node_modules/llamaindex/dist/llm/ollama.js:152:26)
at async Ollama.getTextEmbeddings (file:///home/aleksandr/code/bot/node_modules/llamaindex/dist/embeddings/types.js:15:31)
at async Ollama.getTextEmbeddingsBatch (file:///home/aleksandr/code/bot/node_modules/llamaindex/dist/embeddings/types.js:32:36)
at async VectorStoreIndex.getNodeEmbeddingResults (file:///home/aleksandr/code/bot/node_modules/llamaindex/dist/indices/vectorStore/index.js:89:28)
at async VectorStoreIndex.insertNodes (file:///home/aleksandr/code/bot/node_modules/llamaindex/dist/indices/vectorStore/index.js:189:34)
at async VectorStoreIndex.buildIndexFromNodes (file:///home/aleksandr/code/bot/node_modules/llamaindex/dist/indices/vectorStore/index.js:109:9)
at async VectorStoreIndex.init (file:///home/aleksandr/code/bot/node_modules/llamaindex/dist/indices/vectorStore/index.js:55:13)
at async VectorStoreIndex.fromDocuments (file:///home/aleksandr/code/bot/node_modules/llamaindex/dist/indices/vectorStore/index.js:132:16)
at async main (file:///home/aleksandr/code/bot/index.js:50:19)