Skip to content

[Question]: Does add doc to knowledge base have quadratic complexity? #476

@yanOnGithub

Description

@yanOnGithub

Do you need to ask a question?

  • I have searched the existing questions and discussions and this question is not already answered.
  • I believe this is a legitimate question, not just a bug or feature request.

Your Question

Is it O(n^2) complexity? n = number of files
Adding each file causes the whole vector store to be loaded.
1 MB + 2 MB + 3 MB + ...

362M May 8 03:19 default__vector_store.json

Is it llama index behavior?

Related Module

Knowledge Base Management

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions