Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The operation was aborted due to timeout #627

Open
i4j5 opened this issue Mar 10, 2024 · 0 comments
Open

The operation was aborted due to timeout #627

i4j5 opened this issue Mar 10, 2024 · 0 comments

Comments

@i4j5
Copy link

i4j5 commented Mar 10, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant