-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Bug]: <title>value too long for type character varying(255) #1088
Comments
I ran into a similar issue. I had a lot of data revolving around a single entity and LightRAG appends a new description to the entity every time the LLM recognizes that entity in the data. So, if that entity is detected in many parts of your data, it will keep appending new descriptors of that entity, until you get this error saying that the Postgres column only allows for 255 characters. We should probably look into fixing this. But if you're looking for a quick fix, you could change the field to a TEXT field instead of VARCHAR and rebuild your db. |
after doing a git pull, creating again the postgres database and processing a bunch of input files: -- error:value too long for type character varying(255) Failed to extract entities and relationships Failed to process document EW2401-004: value too long for type character varying(255) |
I looked through it and tested it again and it's working for me (It is storing 255+ characters). There was this PR recently merged #1120 that changed the field again (to a VAR(255) Array), which might be why you're experiencing issues. |
Do you need to file an issue?
Describe the bug
I'm using the main branch, demo code as below:
And get errors:
Steps to reproduce
No response
Expected Behavior
No response
LightRAG Config Used
Paste your config here
Logs and screenshots
No response
Additional Information
The text was updated successfully, but these errors were encountered: