Langchain
Configure Browserbase for Langchain.js
1
Get your API Key
Go over the Dashboard’s Settings tab:
Then, copy your API Key directly from the input and set the BROWSERBASE_API_KEY
environment variable.
2
Install the Browserbase SDK
3
Load documents or images
Load documents
The default value textContent: false
will return HTML as a LlamaIndex Document
.
Setting textContent: true
will return LlamaIndex Document
with text only.
Was this page helpful?