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

Autoscraper memoization? #59

Open
walking-octopus opened this issue Dec 14, 2023 · 0 comments
Open

Autoscraper memoization? #59

walking-octopus opened this issue Dec 14, 2023 · 0 comments

Comments

@walking-octopus
Copy link

Related to #7.

LLMs are seemingly happy to even take raw text and extract the structure out of it, even better than the needlessly HTML, not to mention cheaper.

Packages like autoscraper can take a web page with known structured data and build a model of what selectors most likely yielded that text.

So perhaps the proposed hybrid mode can be implemented not through the LLM generating code from a HTML, but by first using it to extract the raw unformatted data and then writing small lambdas to normalize it to your expected format.

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

1 participant