2 ms·
I've been building an AI chat client and I use this exact technique to develop the "Web Browsing" plugin. Basically I use Function Calling to extract content fr
by longnguyen 2y ago
I've been building an AI chat client and I use this exact technique to develop the "Web Browsing" plugin. Basically I use Function Calling to extract content from a web page and then pass it to the LLM.
There are a few optimizations we can make:
- trip all content in <script/> and <style/>
- use Readability.js for articles
- extract structured content from oEmbed
It works surprisingly well for me, even with gpt-4o-mini