wizit-context-ingestor 0.3.0b2__py3-none-any.whl → 0.3.0b3__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.

Potentially problematic release.


This version of wizit-context-ingestor might be problematic. Click here for more details.

@@ -146,7 +146,7 @@ class TranscriptionService:
146
146
  if result["transcription"]:
147
147
  document.page_text = result["transcription"]
148
148
  else:
149
- raise ValueError("No transcription found")
149
+ raise ValueError(f"No transcription found: {result} ")
150
150
  return document
151
151
 
152
152
  def process_document(self, file_key: str) -> Tuple[List[ParsedDocPage], ParsedDoc]:
@@ -3,11 +3,10 @@ import logging
3
3
 
4
4
  logger = logging.getLogger(__name__)
5
5
 
6
- class AwsSecretsManager:
7
-
8
- def __init__(self):
9
- self.client = boto3_client('secretsmanager')
10
6
 
7
+ class AwsSecretsManager:
8
+ def __init__(self, aws_region="us-east-1"):
9
+ self.client = boto3_client("secretsmanager", region_name=aws_region)
11
10
 
12
11
  def get_secret(self, secret_name):
13
12
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: wizit-context-ingestor
3
- Version: 0.3.0b2
3
+ Version: 0.3.0b3
4
4
  Summary: Contextual Rag with Cloud Solutions
5
5
  Requires-Dist: anthropic[vertex]>=0.66.0
6
6
  Requires-Dist: boto3>=1.40.23
@@ -3,7 +3,7 @@ wizit_context_ingestor/__init__.py,sha256=TSTm5qSpNNCz9ilKYkXRUxupvmWG2AHfv7RBWF
3
3
  wizit_context_ingestor/application/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  wizit_context_ingestor/application/context_chunk_service.py,sha256=zKdnjNr5woi4PHseLEAcfdTNRvOroAkU_52pwLZLmBc,8858
5
5
  wizit_context_ingestor/application/interfaces.py,sha256=W0qonE3t-S-zwAoKtDYc4oyW_GOILKVmrdy8LnC8MVI,3193
6
- wizit_context_ingestor/application/transcription_service.py,sha256=4Z_STIRgExY5VnVWbyZ_oSnx_bgSfjfPA2N7tCYb5bg,7334
6
+ wizit_context_ingestor/application/transcription_service.py,sha256=kt7kRQc-zB6ESKIkjrv20UqOfOeU7vJqhurBSsR2K_E,7346
7
7
  wizit_context_ingestor/data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
8
  wizit_context_ingestor/data/kdb.py,sha256=GCkXQmnk2JCXV_VJ-h0k55AOIX8qohzBJN2v-9D1dlU,194
9
9
  wizit_context_ingestor/data/prompts.py,sha256=EnocoriDjPcFPd6Af9G6TUTB8NkO4EFN4AUHfpRVqYU,14406
@@ -21,7 +21,7 @@ wizit_context_ingestor/infra/rag/pg_embeddings.py,sha256=D7onh27SvqYahYAsLy6Deyk
21
21
  wizit_context_ingestor/infra/rag/redis_embeddings.py,sha256=pCP_I1RLeIUTYMSHkZT6AjIOyHA9A47wyffrZBjiG0s,5107
22
22
  wizit_context_ingestor/infra/rag/semantic_chunks.py,sha256=Xes1MwlShKbqVulspXzfb6zJuqd8iBX3nKuy-5BtSfk,2473
23
23
  wizit_context_ingestor/infra/secrets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
- wizit_context_ingestor/infra/secrets/aws_secrets_manager.py,sha256=1k_R_uzLabptiZ1GXAoqAgYpk8EykXIb-pUDdidUDJQ,1202
24
+ wizit_context_ingestor/infra/secrets/aws_secrets_manager.py,sha256=vukil5sO9tQPTM74wUbyQqR8Z-z0ElyjeF2ns7rbVbQ,1249
25
25
  wizit_context_ingestor/infra/vertex_model.py,sha256=6L2C4qH7PSVjdOSzIEZlFtUwu1pgQVXtQBIU5isn644,7582
26
26
  wizit_context_ingestor/main.py,sha256=WohTQiWOEHshrYnjD0TJWbqsOHhpzb0-ywrdpDgj8Kw,11616
27
27
  wizit_context_ingestor/services/.DS_Store,sha256=1lFlJ5EFymdzGAUAaI30vcaaLHt3F1LwpG7xILf9jsM,6148
@@ -39,6 +39,6 @@ wizit_context_ingestor/workflows/transcription_schemas.py,sha256=CQCl7LXD5voxhJO
39
39
  wizit_context_ingestor/workflows/transcription_state.py,sha256=2Z_t2aZFEH_nAjdEO6RFBEmi_fwvr9cV0aLS1eIxiCQ,590
40
40
  wizit_context_ingestor/workflows/transcription_tools.py,sha256=FtIfWFITn8_Rr5SEobCeR55aJGZoHRMgF2UxRT5vJ-E,1373
41
41
  wizit_context_ingestor/workflows/transcription_workflow.py,sha256=77cLsYGdv01Py2GaKYpACuifPeSxH7tkVodvLv97sdg,1621
42
- wizit_context_ingestor-0.3.0b2.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
43
- wizit_context_ingestor-0.3.0b2.dist-info/METADATA,sha256=Ww9m__uLznS-mcEQNWbRqngtJukxPAlIPHOgyynlLo4,3768
44
- wizit_context_ingestor-0.3.0b2.dist-info/RECORD,,
42
+ wizit_context_ingestor-0.3.0b3.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
43
+ wizit_context_ingestor-0.3.0b3.dist-info/METADATA,sha256=reWvT-3Ypg_b3q345UAoTCUjevn1bZwrxsnCZy7Z6QA,3768
44
+ wizit_context_ingestor-0.3.0b3.dist-info/RECORD,,