Commit Graph

13 Commits

Author SHA1 Message Date
Marco Vinciguerra
a200f595de refactoring of examples 2024-10-08 08:54:18 +02:00
Marco Vinciguerra
560f079d4c refactoring of the code 2024-09-28 09:02:20 +02:00
Tuhin Mallick
007ff084c6
fix(browser_base_fetch): correct function signature and async_mode handling
- Added missing `async_mode` parameter to the function signature.
2024-09-08 10:59:04 +02:00
Marco Vinciguerra
02eed1ac9d
Merge branch 'main' into main 2024-09-08 10:51:31 +02:00
Tuhin Mallick
d56253d183 feat(browser_base_fetch): add async_mode to support both synchronous and asynchronous execution
- Introduced an async_mode flag to allow users to choose between synchronous and asynchronous fetching using Browserbase.
- Refactored common logic (browserbase initialization and result list) to avoid redundancy.
- Added internal async handling with asyncio.to_thread() for non-blocking execution in async_mode.
- Maintained backward compatibility for existing synchronous functionality.
2024-09-08 08:49:08 +00:00
Tuhin Mallick
57fd01f9a7
feat(docloaders): Enhance browser_base_fetch function flexibility
- Update browser_base_fetch to accept single URL or list of URLs
- Add text_content parameter for choosing between text-only and HTML output
- Improve type hinting and function documentation
- Ensure compatibility with latest Browserbase SDK interface
2024-09-08 01:41:39 +02:00
Federico Aguzzi
5c16ee985b fix(docloaders): BrowserBase dynamic import 2024-08-27 16:44:05 +02:00
Marco Vinciguerra
1d7f30b65b fix: browser-base integration 2024-08-17 12:21:00 +02:00
Marco Vinciguerra
6d8e02cd62 Update browser_base.py
Co-Authored-By: Federico Minutoli <40361744+DiTo97@users.noreply.github.com>
2024-08-01 13:24:32 +02:00
Marco Vinciguerra
968c69e217 fix: fixed bug on fetch_node
Co-Authored-By: Federico Minutoli <40361744+DiTo97@users.noreply.github.com>
2024-08-01 13:23:54 +02:00
Marco Vinciguerra
e21d461710 push 2024-08-01 13:16:49 +02:00
Marco Vinciguerra
65f9e3a24c Delete browser_base.py 2024-08-01 12:58:35 +02:00
Marco Vinciguerra
7076ab12d3 allignment 2024-08-01 11:31:27 +02:00