AbstractIntegratedModule 0.2.5__py3-none-any.whl → 0.2.6__py3-none-any.whl

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.
@@ -4752,7 +4752,7 @@ class AgentDistributedInference:
4752
4752
  }
4753
4753
 
4754
4754
 
4755
- def request_prediction(self, agent_id: str, text: str, timeout: float = 30.0) -> Any:
4755
+ def request_prediction(self, agent_id: Any, text: Any, timeout: float = 30.0) -> Any:
4756
4756
  # Unified prediction request - works with both sync and async modes.
4757
4757
 
4758
4758
  loop = asyncio.new_event_loop()
@@ -4833,7 +4833,7 @@ class AgentDistributedInference:
4833
4833
  self.pending_requests.pop(request_id, None)
4834
4834
 
4835
4835
 
4836
- async def request_prediction_async(self, agent_id: str, text: str, timeout: float = 30.0, callback: Optional[Callable] = None):
4836
+ async def request_prediction_async(self, agent_id: Any, text: Any, timeout: float = 30.0, callback: Optional[Callable] = None):
4837
4837
  # Asynchronous prediction request
4838
4838
  # # Local bypass
4839
4839
  if agent_id == 'local':
@@ -6431,7 +6431,7 @@ class IntegratedPipeline:
6431
6431
 
6432
6432
  # ============ Async Prediction Methods ============
6433
6433
 
6434
- def predict_async(self, text: str, callback=None, timeout=30):
6434
+ def predict_async(self, text: Any, callback=None, timeout=30):
6435
6435
  # Async prediction with callback support.
6436
6436
  if not self.distribution or not self.distribution.use_async:
6437
6437
  # Fallback to sync prediction
@@ -9409,7 +9409,7 @@ class PipelineAsyncManager:
9409
9409
  traceback.print_exc()
9410
9410
 
9411
9411
 
9412
- def _predict_sync(self, text: str, timeout: float) -> Any:
9412
+ def _predict_sync(self, text: Any, timeout: float) -> Any:
9413
9413
  # Internal synchronous prediction.
9414
9414
 
9415
9415
  if not self._loop or not self._loop.is_running():
@@ -9451,7 +9451,7 @@ class PipelineAsyncManager:
9451
9451
  finally:
9452
9452
  self._remove_task(task_id)
9453
9453
 
9454
- async def _predict_with_timeout(self, text: str, timeout: float) -> Any:
9454
+ async def _predict_with_timeout(self, text: Any, timeout: float) -> Any:
9455
9455
  # Async prediction with timeout.
9456
9456
  try:
9457
9457
  return await asyncio.wait_for(
@@ -9807,7 +9807,7 @@ class PipelineAsyncManager:
9807
9807
  return result, chosen_label, confidence
9808
9808
 
9809
9809
 
9810
- def predict_async(self, text: str, test_titles: list[tuple]= None, label_map: dict=None, rules: list[tuple]=None, callback: Optional[Callable] = None) -> str:
9810
+ def predict_async(self, text: Any, test_titles: list[tuple]= None, label_map: dict=None, rules: list[tuple]=None, callback: Optional[Callable] = None) -> str:
9811
9811
  """
9812
9812
  Asynchronous prediction (fire and forget).
9813
9813
 
@@ -11144,7 +11144,7 @@ class ConsecutivePeerAgent:
11144
11144
  'error': str(e)
11145
11145
  }
11146
11146
 
11147
- async def request_peer_prediction(self, peer_host: str, peer_port: int, text: str, timeout: float = 5.0) -> Optional[Dict]:
11147
+ async def request_peer_prediction(self, peer_host: Any, peer_port: int, text: Any, timeout: float = 5.0) -> Optional[Dict]:
11148
11148
  """Request prediction from peer - ONLY sends text!"""
11149
11149
 
11150
11150
  peer_key = f"{peer_host}:{peer_port}"
@@ -11412,7 +11412,7 @@ class ConsecutivePeerAgent:
11412
11412
  }
11413
11413
 
11414
11414
 
11415
- class CohesiveAgentDeployment:
11415
+ iveAgentDeployment:
11416
11416
  """
11417
11417
  Safe deployment wrapper for Async Manager with external peer support.
11418
11418
  Handles graceful shutdown, error recovery, and peer connections.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: AbstractIntegratedModule
3
- Version: 0.2.5
3
+ Version: 0.2.6
4
4
  Summary: Framework forAdvanced Integrated Non-LLM AI Module library - Backend Framework for Non-LLM AI Agent Framework
5
5
  Author: Micro-Novelty
6
6
  Author-email: hernikpuspita5@gmail.com
@@ -0,0 +1,5 @@
1
+ AbstractIntegratedModule.py,sha256=gf8T5NKvH1VjqbqnpeeXMxLlL8lTadtNhltHN34gEYM,544039
2
+ abstractintegratedmodule-0.2.6.dist-info/METADATA,sha256=nkIRpeMGOsBZNXxPdBdtF4WmeRk3sxo0AYPWofkGbHI,60146
3
+ abstractintegratedmodule-0.2.6.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
4
+ abstractintegratedmodule-0.2.6.dist-info/top_level.txt,sha256=H2-a2eP316_DXtZSJz2ztHo8n32qVrJCtyyvuc8m87E,25
5
+ abstractintegratedmodule-0.2.6.dist-info/RECORD,,
@@ -1,5 +0,0 @@
1
- AbstractIntegratedModule.py,sha256=r6BjaoLIDeU2cL5E7YieSz_U1mA5g9nWfINn_qEv7Z4,544050
2
- abstractintegratedmodule-0.2.5.dist-info/METADATA,sha256=DwaIkgAFmBGGoS-xXYIhkGt9E2DoJc-c40j6eijjdyI,60146
3
- abstractintegratedmodule-0.2.5.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
4
- abstractintegratedmodule-0.2.5.dist-info/top_level.txt,sha256=H2-a2eP316_DXtZSJz2ztHo8n32qVrJCtyyvuc8m87E,25
5
- abstractintegratedmodule-0.2.5.dist-info/RECORD,,