Skip to content

Incorrect call to self.extractor using DATA env argument in rag.py #26

@sasa-misia

Description

@sasa-misia

If you use DATA env argument to build an embeddings index, then an error occur because the function load at line 300 may call extractor, which is not initialized yet.
It is sufficient to move 322-323 before line 299, like below.

Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions