Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

document loading error #99

Answered by SeeknnDestroy
seoeaa asked this question in Q&A
Nov 3, 2023 · 5 comments · 5 replies
Discussion options

You must be logged in to vote

Hi @seoeaa,

Thank you for your patience. We've addressed the issue in our latest release. The problem was due to inconsistent metadata fields in the documents being loaded into the database. We've now standardized the metadata fields across different file types to prevent this kind of error in the future.

To resolve the issue on your end, please follow these steps:

  1. Update autollm to the latest version: pip install -U autollm
  2. Remove any existing lancedb databases that were created with the old version, as the metadata fields may not be compatible.
  3. Re-read the documents using the read_files_as_documents function.

Here's a quick snippet to help you clean the old database:

import lancedb

#…

Replies: 5 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by fcakyon
Comment options

You must be logged in to vote
4 replies
@SeeknnDestroy
Comment options

@SeeknnDestroy
Comment options

@seoeaa
Comment options

@SeeknnDestroy
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@fcakyon
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #87 on November 03, 2023 12:50.