wizit-context-ingestor 0.3.0b2__tar.gz → 0.3.0b3__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.
Potentially problematic release.
This version of wizit-context-ingestor might be problematic. Click here for more details.
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/PKG-INFO +1 -1
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/pyproject.toml +1 -1
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/application/transcription_service.py +1 -1
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/infra/secrets/aws_secrets_manager.py +3 -4
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/README.md +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/.DS_Store +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/__init__.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/application/__init__.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/application/context_chunk_service.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/application/interfaces.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/data/__init__.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/data/kdb.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/data/prompts.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/data/storage.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/domain/__init__.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/domain/models.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/domain/services.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/infra/__init__.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/infra/aws_model.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/infra/persistence/__init__.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/infra/persistence/local_storage.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/infra/persistence/s3_storage.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/infra/rag/chroma_embeddings.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/infra/rag/pg_embeddings.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/infra/rag/redis_embeddings.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/infra/rag/semantic_chunks.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/infra/secrets/__init__.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/infra/vertex_model.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/main.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/services/.DS_Store +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/services/__init__.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/services/chunks.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/services/parse_doc.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/services/pg_embeddings_manager.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/utils/file_utils.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/workflows/context_nodes.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/workflows/context_state.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/workflows/context_tools.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/workflows/context_workflow.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/workflows/transcription_nodes.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/workflows/transcription_schemas.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/workflows/transcription_state.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/workflows/transcription_tools.py +0 -0
- {wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/workflows/transcription_workflow.py +0 -0
|
@@ -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
|
"""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wizit_context_ingestor-0.3.0b2 → wizit_context_ingestor-0.3.0b3}/src/wizit_context_ingestor/main.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|