Langchain
Configure Browserbase for Langchain
1
Get your API Key
2
Install the Browserbase SDK
3
Load documents or images
Load documents
The default value text_content=False
will return HTML as a LlamaIndex Document
.
Setting text_content=True
will return LlamaIndex Document
with text only.
Load images
By default, the screenshot()
method takes a screenshot of the visible viewport.
To take a full-page screenshot, pass the full_page=True
option.
The reference of the browserbase
package is available on GitHub.
Was this page helpful?