bigdata-smart-batching 1.0.2__tar.gz → 1.1.0__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 (21) hide show
  1. {bigdata_smart_batching-1.0.2 → bigdata_smart_batching-1.1.0}/CHANGELOG.md +8 -0
  2. {bigdata_smart_batching-1.0.2 → bigdata_smart_batching-1.1.0}/PKG-INFO +1 -1
  3. {bigdata_smart_batching-1.0.2 → bigdata_smart_batching-1.1.0}/pyproject.toml +1 -1
  4. {bigdata_smart_batching-1.0.2 → bigdata_smart_batching-1.1.0}/src/bigdata_smart_batching/output_converter.py +4 -0
  5. {bigdata_smart_batching-1.0.2 → bigdata_smart_batching-1.1.0}/.gitignore +0 -0
  6. {bigdata_smart_batching-1.0.2 → bigdata_smart_batching-1.1.0}/LICENSE +0 -0
  7. {bigdata_smart_batching-1.0.2 → bigdata_smart_batching-1.1.0}/Makefile +0 -0
  8. {bigdata_smart_batching-1.0.2 → bigdata_smart_batching-1.1.0}/README.md +0 -0
  9. {bigdata_smart_batching-1.0.2 → bigdata_smart_batching-1.1.0}/docs/smart-batching-architecture.md +0 -0
  10. {bigdata_smart_batching-1.0.2 → bigdata_smart_batching-1.1.0}/examples/example.py +0 -0
  11. {bigdata_smart_batching-1.0.2 → bigdata_smart_batching-1.1.0}/examples/example_overlapping.py +0 -0
  12. {bigdata_smart_batching-1.0.2 → bigdata_smart_batching-1.1.0}/src/bigdata_smart_batching/__init__.py +0 -0
  13. {bigdata_smart_batching-1.0.2 → bigdata_smart_batching-1.1.0}/src/bigdata_smart_batching/search_function.py +0 -0
  14. {bigdata_smart_batching-1.0.2 → bigdata_smart_batching-1.1.0}/src/bigdata_smart_batching/smart_batching.py +0 -0
  15. {bigdata_smart_batching-1.0.2 → bigdata_smart_batching-1.1.0}/src/bigdata_smart_batching/smart_batching_config.py +0 -0
  16. {bigdata_smart_batching-1.0.2 → bigdata_smart_batching-1.1.0}/tests/__init__.py +0 -0
  17. {bigdata_smart_batching-1.0.2 → bigdata_smart_batching-1.1.0}/tests/test_config.py +0 -0
  18. {bigdata_smart_batching-1.0.2 → bigdata_smart_batching-1.1.0}/tests/test_output_converter.py +0 -0
  19. {bigdata_smart_batching-1.0.2 → bigdata_smart_batching-1.1.0}/tests/test_rate_limiter.py +0 -0
  20. {bigdata_smart_batching-1.0.2 → bigdata_smart_batching-1.1.0}/tests/test_validation.py +0 -0
  21. {bigdata_smart_batching-1.0.2 → bigdata_smart_batching-1.1.0}/uv.lock +0 -0
@@ -5,6 +5,14 @@ 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
+ ## [1.1.0] - 2026-04-20
9
+
10
+ ### Added
11
+
12
+ - `convert_to_dataframe` now includes a `detections` column: for each chunk row,
13
+ entity detections are taken from `chunk["detections"]` (entries with
14
+ `type == "entity"`); rows without chunks use an empty list.
15
+
8
16
  ## [1.0.2] - 2026-04-17
9
17
 
10
18
  ### Fixed
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bigdata-smart-batching
3
- Version: 1.0.2
3
+ Version: 1.1.0
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.0.2"
3
+ version = "1.1.0"
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" }]
@@ -54,6 +54,7 @@ def convert_to_dataframe(raw_results: list[dict]) -> pd.DataFrame:
54
54
  "chunk_sentiment": None,
55
55
  # Entity
56
56
  "entity_ids": [],
57
+ "detections": [],
57
58
  # Final
58
59
  "url": url,
59
60
  "reporting_entities": reporting_entities,
@@ -62,6 +63,8 @@ def convert_to_dataframe(raw_results: list[dict]) -> pd.DataFrame:
62
63
  else:
63
64
  for chunk in chunks:
64
65
  # Entity IDs (added by execute_search)
66
+ detections = chunk.get("detections", [])
67
+ entity_detections = [d for d in detections if d.get("type") == "entity"]
65
68
  entity_ids = chunk.get("entity_ids", [])
66
69
 
67
70
  rows.append(
@@ -80,6 +83,7 @@ def convert_to_dataframe(raw_results: list[dict]) -> pd.DataFrame:
80
83
  "chunk_sentiment": chunk.get("sentiment"),
81
84
  # Entity
82
85
  "entity_ids": entity_ids,
86
+ "detections": entity_detections,
83
87
  # Final
84
88
  "url": url,
85
89
  "reporting_entities": reporting_entities,