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

Implement semantic chunking within RAG EXP ACC #816

Open
ritesh-modi opened this issue Nov 4, 2024 · 1 comment
Open

Implement semantic chunking within RAG EXP ACC #816

ritesh-modi opened this issue Nov 4, 2024 · 1 comment
Assignees

Comments

@ritesh-modi
Copy link
Collaborator

Currently, RAGE provides different chunking methods. An additional semantic chunking method should be added which should be configurable.

@FlorianPydde
Copy link

what's the current recommended way to create a custom chunker ? If I understand correctly, one would have do the following:

  1. In documentLoader.py -> add a new custom _FORMAT_PROCESSORS
  2. create a customLoader that follows the ouput format of structuredLoader, like this:
    docsList.append({str(uuid.uuid4()): {"content": doc.page_content, "metadata":doc.metadata}})

Is my understanding correct ? @quovadim , @ritesh-modi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants