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

when something goes wrong with creating the embeddings after adding a PDF, it doesn't give an error, but no embeddings are added/ #1422

Open
jonabert opened this issue Jun 13, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@jonabert
Copy link

🐛 Describe the bug

I used a MTEB huggingface embedding model (Alibaba-NLP
/
gte-large-en-v1.5) I get this as an erratic situation, without an obvious error.
INFO: Started server process [339843]
INFO: Waiting for application startup.
INFO: Application startup complete.
○ Compiling / ...
✓ Compiled / in 1629ms (637 modules)
✓ Compiled in 138ms (313 modules)
✓ Compiled /admin/data/add in 395ms (743 modules)
(node:339731) [DEP0060] DeprecationWarning: The util._extend API is deprecated. Please use Object.assign() instead.
(Use node --trace-deprecation ... to show where the warning was created)
Failed to proxy http://127.0.0.1:8000/api/v1/admin/data_sources Error: socket hang up
at Socket.socketCloseListener (node:_http_client:475:25)
at Socket.emit (node:events:532:35)
at TCP. (node:net:338:12)
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
code: 'ECONNRESET'
}
Error: socket hang up
at Socket.socketCloseListener (node:_http_client:475:25)
at Socket.emit (node:events:532:35)
at TCP. (node:net:338:12)
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
code: 'ECONNRESET'
}
✓ Compiled /_error in 320ms (912 modules)
Inserting batches in chromadb: 0%| | 0/21 [00:00<?, ?it/s]
Inserting batches in chromadb: 0%| | 0/21 [00:00<?, ?it/s]
Inserting batches in chromadb: 0%| | 0/21 [00:00<?, ?it/s]
Inserting batches in chromadb: 0%| | 0/21 [00:00<?, ?it/s]
Inserting batches in chromadb: 0%| | 0/21 [00:00<?, ?it/s]
Inserting batches in chromadb: 0%| | 0/21 [00:00<?, ?it/s]
Inserting batches in chromadb: 0%| | 0/8 [00:00<?, ?it/s]
INFO: 127.0.0.1:37692 - "POST /api/v1/admin/data_sources HTTP/1.1" 201 Created

@Dev-Khant Dev-Khant added the bug Something isn't working label Jun 13, 2024
@Dev-Khant
Copy link
Collaborator

@jonabert, can you please check and verify whether you are getting answers related to context by querying the app or not?

@jonabert
Copy link
Author

can you be more specific in what I shall test? I'm using the full-stack example

@Dev-Khant
Copy link
Collaborator

can you be more specific in what I shall test? I'm using the full-stack example

Sure, here can check that after adding your data, when you query your bot are you getting relevant answers? I mean answers around the context of your data source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants