llm-scraper icon indicating copy to clipboard operation
llm-scraper copied to clipboard

Use LLM without Playwright

Open luminous8 opened this issue 1 year ago • 5 comments

Thanks for this, it's really good!

is there a way to send raw html of a page instead of using playwright to scrape a page and ask the llm to extract the content?

luminous8 avatar Apr 25 '24 19:04 luminous8

On my list 😉

mishushakov avatar Apr 25 '24 20:04 mishushakov

👋 Any update on this?

luminous8 avatar Jul 08 '24 06:07 luminous8

Currently not, but you can use generateAISDKCompletions function from models.ts

mishushakov avatar Jul 08 '24 11:07 mishushakov

+1

jenslys avatar Aug 28 '24 20:08 jenslys