这是indexloc提供的服务,不要输入任何密码
Skip to content

[BUG]: unsupported Unicode escape sequence #4339

@andreiramani

Description

@andreiramani

How are you running AnythingLLM?

AnythingLLM desktop app

What happened?

I'm testing 3 pdf file, 2 files successfully created in pgvector.
While 1 file getting log error like this:

....
[backend] info: [NativeEmbedder] Embedded Chunk Group 68 of 69
[backend] info: [NativeEmbedder] Embedded Chunk Group 69 of 69
[backend] info: [PGVectorDb] Inserting vectorized chunks into PGVector collection.
[backend] info: [PGVectorDb] Creating embedding table with 384 dimensions
[backend] info: [PGVectorDb] Updating or creating collection mediation
[backend] info: [PGVectorDb] Rolling back 1716 vectors to mediation error: unsupported Unicode escape sequence
    at D:\install\AnythingLLM\resources\backend\node_modules\pg\lib\client.js:545:17
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Object.updateOrCreateCollection (D:\install\AnythingLLM\resources\backend\server.js:38:14087)
    at async Object.addDocumentToNamespace (D:\install\AnythingLLM\resources\backend\server.js:38:16875)
    at async Object.addDocuments (D:\install\AnythingLLM\resources\backend\server.js:246:30355)
    at async Object.moveToDocumentsAndEmbed (D:\install\AnythingLLM\resources\backend\server.js:7:6443)
    at async D:\install\AnythingLLM\resources\backend\server.js:278:14831

Any suggestion much appreciated


AnythingLLM Desktop with pgvector v0.8, PostgreSQL v16
OS: Windows 11
GPU: RTX 3060 6GB
RAM: 32GB
Ryzen 7 7840 HS

Are there known steps to reproduce?

No response

Metadata

Metadata

Labels

investigatingCore team or maintainer will or is currently looking into this issueneeds info / can't replicateIssues that require additional information and/or cannot currently be replicated, but possible bugpossible bugBug was reported but is not confirmed or is unable to be replicated.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions