spiderforce4ai 2.5.6__py3-none-any.whl → 2.5.7__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -299,13 +299,6 @@ class PostExtractionAgent:
299
299
  # Add URL to result before transformation
300
300
  result['url'] = url
301
301
 
302
- # Check for required fields and set to None if missing
303
- required_fields = ['ContactInformation', 'CallToAction', 'KeyPoints', 'Title', 'Description', 'CanonicalUrl']
304
- for field in required_fields:
305
- if field not in result:
306
- logger.warning(f"Missing field '{field}' in LLM response for {url}, setting to None")
307
- result[field] = None
308
-
309
302
  logger.info(f"Executing custom transformer function for {url}")
310
303
  transformed_result = self.config.custom_transform_function(result)
311
304
  logger.info(f"Successfully applied custom transformation for {url}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: spiderforce4ai
3
- Version: 2.5.6
3
+ Version: 2.5.7
4
4
  Summary: Python wrapper for SpiderForce4AI HTML-to-Markdown conversion service with LLM post-processing
5
5
  Home-page: https://petertam.pro
6
6
  Author: Piotr Tamulewicz
@@ -0,0 +1,7 @@
1
+ spiderforce4ai/__init__.py,sha256=BlrRIrtpDUHjmDedqgXP1KbAAsAH9vwFPncUR5VGGyM,44804
2
+ spiderforce4ai/post_extraction_agent.py,sha256=e7_f5Fd1BYCvqYAQ9D2jypVt8ScXw55FkX9SOeRA8Co,15812
3
+ spiderforce4ai-2.5.7.dist-info/METADATA,sha256=F4raYf8aoAlbV7f-YFkCNWfoOlhv2q7voSLzQF9k6s0,9012
4
+ spiderforce4ai-2.5.7.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
5
+ spiderforce4ai-2.5.7.dist-info/entry_points.txt,sha256=ibARQxOlDiL1ho12zbDZt4Uq5RKSIk_qk159ZlZ46hc,59
6
+ spiderforce4ai-2.5.7.dist-info/top_level.txt,sha256=Kth7A21Js7DCp0j5XBBi-FE45SCLouZkeNZU__Yr9Yk,15
7
+ spiderforce4ai-2.5.7.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- spiderforce4ai/__init__.py,sha256=BlrRIrtpDUHjmDedqgXP1KbAAsAH9vwFPncUR5VGGyM,44804
2
- spiderforce4ai/post_extraction_agent.py,sha256=OP8_gVWzWdQ3B6d0vd54IbcopHSVpAkWrUmnrDVT5_k,16327
3
- spiderforce4ai-2.5.6.dist-info/METADATA,sha256=TjgWAC0iHPrSaedmZL-1PZWCoLEMZ7NJUhd74tfWj6A,9012
4
- spiderforce4ai-2.5.6.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
5
- spiderforce4ai-2.5.6.dist-info/entry_points.txt,sha256=ibARQxOlDiL1ho12zbDZt4Uq5RKSIk_qk159ZlZ46hc,59
6
- spiderforce4ai-2.5.6.dist-info/top_level.txt,sha256=Kth7A21Js7DCp0j5XBBi-FE45SCLouZkeNZU__Yr9Yk,15
7
- spiderforce4ai-2.5.6.dist-info/RECORD,,