pyconverters-openai_vision 0.5.54__tar.gz → 0.5.56__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.
- {pyconverters_openai_vision-0.5.54 → pyconverters_openai_vision-0.5.56}/PKG-INFO +1 -1
- {pyconverters_openai_vision-0.5.54 → pyconverters_openai_vision-0.5.56}/pyconverters_openai_vision/__init__.py +1 -1
- {pyconverters_openai_vision-0.5.54 → pyconverters_openai_vision-0.5.56}/pyconverters_openai_vision/openai_vision.py +2 -2
- {pyconverters_openai_vision-0.5.54 → pyconverters_openai_vision-0.5.56}/setup.py +1 -1
- {pyconverters_openai_vision-0.5.54 → pyconverters_openai_vision-0.5.56}/.dockerignore +0 -0
- {pyconverters_openai_vision-0.5.54 → pyconverters_openai_vision-0.5.56}/.gitignore +0 -0
- {pyconverters_openai_vision-0.5.54 → pyconverters_openai_vision-0.5.56}/Dockerfile +0 -0
- {pyconverters_openai_vision-0.5.54 → pyconverters_openai_vision-0.5.56}/Jenkinsfile +0 -0
- {pyconverters_openai_vision-0.5.54 → pyconverters_openai_vision-0.5.56}/README.md +0 -0
- {pyconverters_openai_vision-0.5.54 → pyconverters_openai_vision-0.5.56}/bumpversion.py +0 -0
- {pyconverters_openai_vision-0.5.54 → pyconverters_openai_vision-0.5.56}/pyconverters_openai_vision/openai_utils.py +0 -0
- {pyconverters_openai_vision-0.5.54 → pyconverters_openai_vision-0.5.56}/pyproject.toml +0 -0
- {pyconverters_openai_vision-0.5.54 → pyconverters_openai_vision-0.5.56}/tests/__init__.py +0 -0
- {pyconverters_openai_vision-0.5.54 → pyconverters_openai_vision-0.5.56}/tests/data/ENG product fact files_general offer_2025_30pages.json +0 -0
- {pyconverters_openai_vision-0.5.54 → pyconverters_openai_vision-0.5.56}/tests/data/ENG product fact files_general offer_2025_30pages_alts.json +0 -0
- {pyconverters_openai_vision-0.5.54 → pyconverters_openai_vision-0.5.56}/tests/data/ENG product fact files_general offer_2025_30pages_descs.json +0 -0
- {pyconverters_openai_vision-0.5.54 → pyconverters_openai_vision-0.5.56}/tests/data/ENG product fact files_general offer_2025_30pages_gpt-4.1-mini.json +0 -0
- {pyconverters_openai_vision-0.5.54 → pyconverters_openai_vision-0.5.56}/tests/data/ENG product fact files_general offer_2025_30pages_gpt-4.1-nano.json +0 -0
- {pyconverters_openai_vision-0.5.54 → pyconverters_openai_vision-0.5.56}/tests/data/ENG product fact files_general offer_2025_30pages_gpt-4o-mini.json +0 -0
- {pyconverters_openai_vision-0.5.54 → pyconverters_openai_vision-0.5.56}/tests/data/ENG product fact files_general offer_2025_30pages_gpt-4o.json +0 -0
- {pyconverters_openai_vision-0.5.54 → pyconverters_openai_vision-0.5.56}/tests/data/PC_Kairntech_LLM_v1.md.json +0 -0
- {pyconverters_openai_vision-0.5.54 → pyconverters_openai_vision-0.5.56}/tests/data/colducoq.jpg +0 -0
- {pyconverters_openai_vision-0.5.54 → pyconverters_openai_vision-0.5.56}/tests/data/webinar.png +0 -0
- {pyconverters_openai_vision-0.5.54 → pyconverters_openai_vision-0.5.56}/tests/test_openai_vision.py +0 -0
- {pyconverters_openai_vision-0.5.54 → pyconverters_openai_vision-0.5.56}/tox.ini +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"""OpenAIVision converter"""
|
|
2
|
-
__version__ = "0.5.
|
|
2
|
+
__version__ = "0.5.56"
|
|
@@ -407,11 +407,11 @@ def regex_sub_preserve_spans(
|
|
|
407
407
|
if spans is not None:
|
|
408
408
|
new_spans = []
|
|
409
409
|
for span in spans:
|
|
410
|
-
if span.start not in char_map or span.end
|
|
410
|
+
if span.start not in char_map or span.end not in char_map:
|
|
411
411
|
continue
|
|
412
412
|
|
|
413
413
|
new_start = char_map[span.start]
|
|
414
|
-
new_end = char_map[span.end
|
|
414
|
+
new_end = min(char_map[span.end], len(new_text))
|
|
415
415
|
|
|
416
416
|
new_span = Sentence(
|
|
417
417
|
start=new_start,
|
|
@@ -48,7 +48,7 @@ entry_points = \
|
|
|
48
48
|
'pyconverters_openai_vision.openai_vision:OpenAIVisionProcessor']}
|
|
49
49
|
|
|
50
50
|
setup(name='pyconverters-openai_vision',
|
|
51
|
-
version='0.5.
|
|
51
|
+
version='0.5.56',
|
|
52
52
|
description='OpenAIVision converter',
|
|
53
53
|
author='Olivier Terrier',
|
|
54
54
|
author_email='olivier.terrier@kairntech.com',
|
|
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
|
{pyconverters_openai_vision-0.5.54 → pyconverters_openai_vision-0.5.56}/tests/data/colducoq.jpg
RENAMED
|
File without changes
|
{pyconverters_openai_vision-0.5.54 → pyconverters_openai_vision-0.5.56}/tests/data/webinar.png
RENAMED
|
File without changes
|
{pyconverters_openai_vision-0.5.54 → pyconverters_openai_vision-0.5.56}/tests/test_openai_vision.py
RENAMED
|
File without changes
|
|
File without changes
|