nv-ingest-api 2025.4.29.dev20250429__py3-none-any.whl → 2025.5.1.dev20250501__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 nv-ingest-api might be problematic. Click here for more details.

@@ -429,7 +429,11 @@ def transform_create_text_embeddings_internal(
429
429
  - The updated DataFrame with embeddings applied.
430
430
  - A dictionary with trace information.
431
431
  """
432
- _ = task_config # Currently unused.
432
+
433
+ # Retrieve configuration values with fallback to transform_config defaults.
434
+ api_key: str = task_config.get("api_key") or transform_config.api_key
435
+ endpoint_url: str = task_config.get("endpoint_url") or transform_config.embedding_nim_endpoint
436
+ model_name: str = task_config.get("model_name") or transform_config.embedding_model
433
437
 
434
438
  if execution_trace_log is None:
435
439
  execution_trace_log = {}
@@ -478,9 +482,9 @@ def transform_create_text_embeddings_internal(
478
482
  filtered_content_batches = _generate_batches(filtered_content.tolist(), batch_size=transform_config.batch_size)
479
483
  content_embeddings = _async_runner(
480
484
  filtered_content_batches,
481
- transform_config.api_key,
482
- transform_config.embedding_nim_endpoint,
483
- transform_config.embedding_model,
485
+ api_key,
486
+ endpoint_url,
487
+ model_name,
484
488
  transform_config.encoding_format,
485
489
  transform_config.input_type,
486
490
  transform_config.truncate,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nv-ingest-api
3
- Version: 2025.4.29.dev20250429
3
+ Version: 2025.5.1.dev20250501
4
4
  Summary: Python module with core document ingestion functions.
5
5
  Author-email: Jeremy Dyer <jdyer@nvidia.com>
6
6
  License: Apache License
@@ -96,7 +96,7 @@ nv_ingest_api/internal/store/embed_text_upload.py,sha256=maxb4FPsBvWgvlrjAPEBlRZ
96
96
  nv_ingest_api/internal/store/image_upload.py,sha256=J5EHNng7Z5I6M4f3UcbniKQB29Scr3Qe05wsBpaVXds,9653
97
97
  nv_ingest_api/internal/transform/__init__.py,sha256=wQSlVx3T14ZgQAt-EPzEczQusXVW0W8yynnUaFFGE3s,143
98
98
  nv_ingest_api/internal/transform/caption_image.py,sha256=0ILCG2F8ESqKtZiPUM-6F1BHUflFZ76Dzi2GNzkE-lU,8517
99
- nv_ingest_api/internal/transform/embed_text.py,sha256=W-RKM9D9yQy8WAKiiqpkHESpLsL70SacvHwU9EdMeqs,15728
99
+ nv_ingest_api/internal/transform/embed_text.py,sha256=AvcEfqTjd0OOtQ2VuycoPlv7qGbyvSTbXxfJ8dkFGr0,15963
100
100
  nv_ingest_api/internal/transform/split_text.py,sha256=y6NYRkCEVpVsDu-AqrKx2D6JPp1vwxclw9obNZNJIIs,6561
101
101
  nv_ingest_api/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
102
102
  nv_ingest_api/util/control_message/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -145,8 +145,8 @@ nv_ingest_api/util/service_clients/redis/redis_client.py,sha256=Xa9eeI3kfDBDlLsG
145
145
  nv_ingest_api/util/service_clients/rest/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
146
146
  nv_ingest_api/util/service_clients/rest/rest_client.py,sha256=tjh9BYPscMQ1-IubbI7O7MWwvga5ZYb7OJu65JtPgGw,21732
147
147
  nv_ingest_api/util/string_processing/__init__.py,sha256=mkwHthyS-IILcLcL1tJYeF6mpqX3pxEw5aUzDGjTSeU,1411
148
- nv_ingest_api-2025.4.29.dev20250429.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
149
- nv_ingest_api-2025.4.29.dev20250429.dist-info/METADATA,sha256=ZUO8x_Fz2wL25methzs6a5rVhaewUecxq5V_0LAIjHg,13889
150
- nv_ingest_api-2025.4.29.dev20250429.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
151
- nv_ingest_api-2025.4.29.dev20250429.dist-info/top_level.txt,sha256=abjYMlTJGoG5tOdfIB-IWvLyKclw6HLaRSc8MxX4X6I,14
152
- nv_ingest_api-2025.4.29.dev20250429.dist-info/RECORD,,
148
+ nv_ingest_api-2025.5.1.dev20250501.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
149
+ nv_ingest_api-2025.5.1.dev20250501.dist-info/METADATA,sha256=9pqFxkwRPhkf18txtSZyrrhXSzNXOxs519WOYLyRwAc,13888
150
+ nv_ingest_api-2025.5.1.dev20250501.dist-info/WHEEL,sha256=wXxTzcEDnjrTwFYjLPcsW_7_XihufBwmpiBeiXNBGEA,91
151
+ nv_ingest_api-2025.5.1.dev20250501.dist-info/top_level.txt,sha256=abjYMlTJGoG5tOdfIB-IWvLyKclw6HLaRSc8MxX4X6I,14
152
+ nv_ingest_api-2025.5.1.dev20250501.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.0.0)
2
+ Generator: setuptools (80.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5