Add Italian README translation and fix outdated links (#1070)#1071
Open
VinciGit00 wants to merge 11 commits into
Open
Add Italian README translation and fix outdated links (#1070)#1071VinciGit00 wants to merge 11 commits into
VinciGit00 wants to merge 11 commits into
Conversation
Add SmartScraperMultiBatchGraph that uses the OpenAI Batch API for LLM
calls, providing ~50% cost savings when real-time results aren't needed.
Key features:
- SmartScraperMultiBatchGraph: 3-phase pipeline (fetch/parse → batch
submit → merge) that separates HTML fetching from LLM generation
- BatchGenerateAnswerNode: collects prompts from all URLs and submits
them as a single OpenAI Batch API request
- utils/batch_api.py: helpers for creating, polling, and retrieving
batch results with doc_id → URL mapping
- Per-document error handling: partial failures don't break the batch
- Configurable polling interval and max wait time
- OpenAI-only validation (rejects non-OpenAI providers gracefully)
- Results sorted by custom_id for consistent ordering
- 18 unit tests with 100% pass rate
Usage:
graph = SmartScraperMultiBatchGraph(
prompt='Extract key points',
source=['https://url1.com', 'https://url2.com'],
config={'llm': {'model': 'openai/gpt-4o-mini'}}
)
result = graph.run()
Closes #1036
## [1.60.0-beta.2](v1.60.0-beta.1...v1.60.0-beta.2) (2026-02-24) ### Features * add OpenAI Batch API support for SmartScraperMultiGraph ([#1036](#1036)) ([9d4eba1](9d4eba1))
- Replace removed ScrapeGraph with SmartScraperGraph in scrape_graph_test.py - Replace renamed convert_to_csv/convert_to_json with export_to_csv/export_to_json in xml_scraper_openai_test.py
## [1.60.0-beta.3](v1.60.0-beta.2...v1.60.0-beta.3) (2026-03-15) ### Bug Fixes * update broken test imports to match current API ([536e5ad](536e5ad))
Resolved conflicts in CHANGELOG.md, pyproject.toml, xml_scraper_openai_test.py, and accepted deletion of scrape_graph_test.py from main. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
## [1.76.0-beta.1](v1.75.1...v1.76.0-beta.1) (2026-04-07) ### Features * add OpenAI Batch API support for SmartScraperMultiGraph ([#1036](#1036)) ([9d4eba1](9d4eba1)) ### Bug Fixes * update broken test imports to match current API ([536e5ad](536e5ad)) ### CI * **release:** 1.60.0-beta.2 [skip ci] ([54d1473](54d1473)), closes [#1036](#1036) * **release:** 1.60.0-beta.3 [skip ci] ([637c696](637c696)) * reduce GitHub Actions costs by ~85% on PRs ([403080a](403080a))
Resolve conflicts in CHANGELOG.md and pyproject.toml by keeping main's version. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
## [2.1.0-beta.1](v2.0.0...v2.1.0-beta.1) (2026-04-19) ### Features * add OpenAI Batch API support for SmartScraperMultiGraph ([#1036](#1036)) ([9d4eba1](9d4eba1)) ### Bug Fixes * update broken test imports to match current API ([536e5ad](536e5ad)) ### CI * **release:** 1.60.0-beta.2 [skip ci] ([54d1473](54d1473)), closes [#1036](#1036) * **release:** 1.60.0-beta.3 [skip ci] ([637c696](637c696)) * **release:** 1.76.0-beta.1 [skip ci] ([35ec272](35ec272)), closes [#1036](#1036) [#1036](#1036)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.