Skip to content
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

Redo relation Brain-Knowledge-Vectors #2724

Open
linear bot opened this issue Jun 25, 2024 · 1 comment
Open

Redo relation Brain-Knowledge-Vectors #2724

linear bot opened this issue Jun 25, 2024 · 1 comment
Labels
area: backend Related to backend functionality or under the /backend directory

Comments

@linear
Copy link

linear bot commented Jun 25, 2024

The mapping for now associates each chunk to a brain_id in brain_vectors table. This has the following issues:

  • Huge brain_vector table ( ~ number of chunks)
  • Each vector is index using a Gin index on the metadata and is indexed using filename which is not robust
  • Knowledge (which represents a file) is associated to a brain_id ?
  • A vector should probably be associated to its knowledge file
Copy link
Author

linear bot commented Jun 25, 2024

@dosubot dosubot bot added the area: backend Related to backend functionality or under the /backend directory label Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: backend Related to backend functionality or under the /backend directory
Projects
None yet
Development

No branches or pull requests

0 participants