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

feat: modular parser and formatter v0 #175

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

chloedia
Copy link
Collaborator

@chloedia chloedia commented Dec 9, 2024

This PR is making Megaparse modular with the creation of multiple basic "Formatters" such as :

  • MarkDown Formatter: Switch from Unstructured Output to a md file
  • Table Formatters : Repass over the identified tables to improve their rendering
  • Structured Formatter: Use the structured outputs from Claude or GPT-4o to render the file in a specific json

BREAKING CHANGE:

  • Unstructured Parser will return a Unstructured ELEMENT (not a string), which means using MarkDown Formatter is Necessary.

@chloedia chloedia requested a review from AmineDiro December 9, 2024 23:51
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

Successfully merging this pull request may close these issues.

1 participant