bigdata-smart-batching 1.3.0__tar.gz → 1.3.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. {bigdata_smart_batching-1.3.0 → bigdata_smart_batching-1.3.1}/CHANGELOG.md +7 -0
  2. {bigdata_smart_batching-1.3.0 → bigdata_smart_batching-1.3.1}/PKG-INFO +1 -1
  3. {bigdata_smart_batching-1.3.0 → bigdata_smart_batching-1.3.1}/pyproject.toml +1 -1
  4. {bigdata_smart_batching-1.3.0 → bigdata_smart_batching-1.3.1}/src/bigdata_smart_batching/search_function.py +4 -2
  5. {bigdata_smart_batching-1.3.0 → bigdata_smart_batching-1.3.1}/uv.lock +1 -1
  6. {bigdata_smart_batching-1.3.0 → bigdata_smart_batching-1.3.1}/.gitignore +0 -0
  7. {bigdata_smart_batching-1.3.0 → bigdata_smart_batching-1.3.1}/LICENSE +0 -0
  8. {bigdata_smart_batching-1.3.0 → bigdata_smart_batching-1.3.1}/Makefile +0 -0
  9. {bigdata_smart_batching-1.3.0 → bigdata_smart_batching-1.3.1}/README.md +0 -0
  10. {bigdata_smart_batching-1.3.0 → bigdata_smart_batching-1.3.1}/docs/smart-batching-architecture.md +0 -0
  11. {bigdata_smart_batching-1.3.0 → bigdata_smart_batching-1.3.1}/examples/example.py +0 -0
  12. {bigdata_smart_batching-1.3.0 → bigdata_smart_batching-1.3.1}/examples/example_overlapping.py +0 -0
  13. {bigdata_smart_batching-1.3.0 → bigdata_smart_batching-1.3.1}/plan.json +0 -0
  14. {bigdata_smart_batching-1.3.0 → bigdata_smart_batching-1.3.1}/src/bigdata_smart_batching/__init__.py +0 -0
  15. {bigdata_smart_batching-1.3.0 → bigdata_smart_batching-1.3.1}/src/bigdata_smart_batching/output_converter.py +0 -0
  16. {bigdata_smart_batching-1.3.0 → bigdata_smart_batching-1.3.1}/src/bigdata_smart_batching/smart_batching.py +0 -0
  17. {bigdata_smart_batching-1.3.0 → bigdata_smart_batching-1.3.1}/src/bigdata_smart_batching/smart_batching_config.py +0 -0
  18. {bigdata_smart_batching-1.3.0 → bigdata_smart_batching-1.3.1}/tests/__init__.py +0 -0
  19. {bigdata_smart_batching-1.3.0 → bigdata_smart_batching-1.3.1}/tests/test_config.py +0 -0
  20. {bigdata_smart_batching-1.3.0 → bigdata_smart_batching-1.3.1}/tests/test_output_converter.py +0 -0
  21. {bigdata_smart_batching-1.3.0 → bigdata_smart_batching-1.3.1}/tests/test_rate_limiter.py +0 -0
  22. {bigdata_smart_batching-1.3.0 → bigdata_smart_batching-1.3.1}/tests/test_validation.py +0 -0
@@ -5,6 +5,13 @@ All notable changes to this project are documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+
9
+ ## [1.3.1] - 2026-05-18
10
+
11
+ ### Added
12
+
13
+ - Document-level **source** filters: `INCLUDE` / `EXCLUDE` with a non-empty list of source ID strings, validated with `validate_source_filter`, modeled as `SourceFilter` / `SourceFilterInput` with `SourceMode` (type alias of `CategoryMode`). Serialized to `query.filters.source` on co-mention, volume, and search payloads. `plan_search(..., source=...)` and `source_filter` plumbed through `SmartBatchingPlanner` co-mention and volume flows. Payload builders `build_comention_payload`, `build_volume_payload`, and `build_search_query` accept optional `source_filter`. Types and validator re-exported from the package root.
14
+
8
15
  ## [1.3.0] - 2026-05-12
9
16
 
10
17
  ### Added
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bigdata-smart-batching
3
- Version: 1.3.0
3
+ Version: 1.3.1
4
4
  Summary: High-performance semantic search with intelligent company grouping and parallel execution
5
5
  Project-URL: homepage, https://bigdata.com/api
6
6
  Author-email: "Bigdata.com" <support@ravenpack.com>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "bigdata-smart-batching"
3
- version = "1.3.0"
3
+ version = "1.3.1"
4
4
  description = "High-performance semantic search with intelligent company grouping and parallel execution"
5
5
  readme = "README.md"
6
6
  authors = [{ name = "Bigdata.com", email = "support@ravenpack.com" }]
@@ -1155,8 +1155,10 @@ def make_search_request(
1155
1155
  retry_wait = exponential_backoff(retry_count)
1156
1156
  retry_count += 1
1157
1157
  else:
1158
- logger.error(f"API error {response.status_code}: {response.text[:200]}")
1159
- return None
1158
+ retry_wait = exponential_backoff(retry_count)
1159
+ retry_count += 1
1160
+ #logger.error(f"API error {response.status_code}: {response.text[:200]}")
1161
+ #return None
1160
1162
 
1161
1163
  except requests.exceptions.Timeout:
1162
1164
  retry_wait = exponential_backoff(retry_count)
@@ -12,7 +12,7 @@ resolution-markers = [
12
12
 
13
13
  [[package]]
14
14
  name = "bigdata-smart-batching"
15
- version = "1.3.0"
15
+ version = "1.3.1"
16
16
  source = { editable = "." }
17
17
  dependencies = [
18
18
  { name = "matplotlib" },