graph-knowledge-doc-parser 0.2.11__tar.gz → 0.2.13__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.
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/PKG-INFO +8 -2
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/README.md +7 -1
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/workflow_ingest/providers.py +2 -2
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/pyproject.toml +1 -1
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/__init__.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/cast_hinting.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/document_ingest_log_config.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/document_ingester_logger.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/llm_structured_output.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/models.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/ocr.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/pdf2png.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/semantic_document_splitting_layerwise_edits.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/text_processing_utils.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/utils/__init__.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/utils/bounded_threadpool_executor.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/utils/file_loaders.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/utils/langchain.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/utils/log.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/utils/version_chaining.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/workflow_ingest/__init__.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/workflow_ingest/_kogwistar.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/workflow_ingest/adapters.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/workflow_ingest/cache.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/workflow_ingest/cli.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/workflow_ingest/clients.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/workflow_ingest/demo_harness.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/workflow_ingest/design.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/workflow_ingest/handlers.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/workflow_ingest/layered_contracts.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/workflow_ingest/layerwise_llm.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/workflow_ingest/models.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/workflow_ingest/ocr_pipeline.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/workflow_ingest/page_index.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/workflow_ingest/parser_core.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/workflow_ingest/parsing.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/workflow_ingest/probe.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/workflow_ingest/runners.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/workflow_ingest/semantics.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/workflow_ingest/serialization.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/workflow_ingest/service.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/workflow_ingest/smoke_assets.py +0 -0
- {graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/workflow_ingest/strategy.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: graph-knowledge-doc-parser
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.13
|
|
4
4
|
Summary: doc parser using llm driven engine with graph knowledge awareness
|
|
5
5
|
Author: humblemat810
|
|
6
6
|
Author-email: 67593116+humblemat810@users.noreply.github.com
|
|
@@ -86,7 +86,7 @@ to normal strategy selection. See the
|
|
|
86
86
|
The deterministic and text-only Bonsai fixture evaluation is recorded in the
|
|
87
87
|
[`PageIndex adversarial fixture report`](doc/page_index_adversarial_fixture_report.md).
|
|
88
88
|
The current patch release is documented in the
|
|
89
|
-
[`0.2.
|
|
89
|
+
[`0.2.13` release note](doc/release_0.2.13.md); the prior
|
|
90
90
|
[`0.2.7` release note](doc/release_0.2.7.md) remains available for history.
|
|
91
91
|
For cache reuse and provider/runtime isolation rules, see
|
|
92
92
|
[`doc/cache_reuse_and_isolation.md`](doc/cache_reuse_and_isolation.md).
|
|
@@ -265,6 +265,12 @@ and structured extraction.
|
|
|
265
265
|
- `KG_DOC_PARSER_PROVIDER=openai`
|
|
266
266
|
- `KG_DOC_PARSER_BASE_URL=http://127.0.0.1:8181/v1`
|
|
267
267
|
- `KG_DOC_PARSER_REASONING_EFFORT=medium` (optional)
|
|
268
|
+
|
|
269
|
+
OpenAI-compatible does not by itself guarantee strict structured-output
|
|
270
|
+
support. Some gateways or model servers accept `response_format` but drop or
|
|
271
|
+
translate its nested `json_schema` field. Verify the selected endpoint with a
|
|
272
|
+
real schema before relying on decoder-level enforcement; the parser still
|
|
273
|
+
validates every response locally and rejects unrelated or free-form shapes.
|
|
268
274
|
- LangChain Ollama:
|
|
269
275
|
- `KG_DOC_PARSER_PROVIDER=ollama`
|
|
270
276
|
- `KG_DOC_PARSER_MODEL=llama3.1`
|
|
@@ -45,7 +45,7 @@ to normal strategy selection. See the
|
|
|
45
45
|
The deterministic and text-only Bonsai fixture evaluation is recorded in the
|
|
46
46
|
[`PageIndex adversarial fixture report`](doc/page_index_adversarial_fixture_report.md).
|
|
47
47
|
The current patch release is documented in the
|
|
48
|
-
[`0.2.
|
|
48
|
+
[`0.2.13` release note](doc/release_0.2.13.md); the prior
|
|
49
49
|
[`0.2.7` release note](doc/release_0.2.7.md) remains available for history.
|
|
50
50
|
For cache reuse and provider/runtime isolation rules, see
|
|
51
51
|
[`doc/cache_reuse_and_isolation.md`](doc/cache_reuse_and_isolation.md).
|
|
@@ -224,6 +224,12 @@ and structured extraction.
|
|
|
224
224
|
- `KG_DOC_PARSER_PROVIDER=openai`
|
|
225
225
|
- `KG_DOC_PARSER_BASE_URL=http://127.0.0.1:8181/v1`
|
|
226
226
|
- `KG_DOC_PARSER_REASONING_EFFORT=medium` (optional)
|
|
227
|
+
|
|
228
|
+
OpenAI-compatible does not by itself guarantee strict structured-output
|
|
229
|
+
support. Some gateways or model servers accept `response_format` but drop or
|
|
230
|
+
translate its nested `json_schema` field. Verify the selected endpoint with a
|
|
231
|
+
real schema before relying on decoder-level enforcement; the parser still
|
|
232
|
+
validates every response locally and rejects unrelated or free-form shapes.
|
|
227
233
|
- LangChain Ollama:
|
|
228
234
|
- `KG_DOC_PARSER_PROVIDER=ollama`
|
|
229
235
|
- `KG_DOC_PARSER_MODEL=llama3.1`
|
|
@@ -1077,7 +1077,7 @@ def build_chat_model(
|
|
|
1077
1077
|
if max_output_tokens is not None:
|
|
1078
1078
|
kwargs["max_tokens"] = max_output_tokens
|
|
1079
1079
|
if spec.reasoning_effort:
|
|
1080
|
-
kwargs["
|
|
1080
|
+
kwargs["reasoning_effort"] = spec.reasoning_effort
|
|
1081
1081
|
if spec.base_url:
|
|
1082
1082
|
kwargs["base_url"] = spec.base_url
|
|
1083
1083
|
if spec.api_key_env and os.getenv(spec.api_key_env):
|
|
@@ -1101,7 +1101,7 @@ def build_chat_model(
|
|
|
1101
1101
|
if max_output_tokens is not None:
|
|
1102
1102
|
kwargs["max_tokens"] = max_output_tokens
|
|
1103
1103
|
if spec.reasoning_effort:
|
|
1104
|
-
kwargs["
|
|
1104
|
+
kwargs["reasoning_effort"] = spec.reasoning_effort
|
|
1105
1105
|
if spec.base_url:
|
|
1106
1106
|
kwargs["azure_endpoint"] = spec.base_url
|
|
1107
1107
|
if spec.api_version:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "graph-knowledge-doc-parser"
|
|
3
|
-
version = "0.2.
|
|
3
|
+
version = "0.2.13"
|
|
4
4
|
description = "doc parser using llm driven engine with graph knowledge awareness"
|
|
5
5
|
authors = ["humblemat810 <67593116+humblemat810@users.noreply.github.com>"]
|
|
6
6
|
readme = "README.md"
|
{graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/models.py
RENAMED
|
File without changes
|
{graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/ocr.py
RENAMED
|
File without changes
|
{graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/pdf2png.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{graph_knowledge_doc_parser-0.2.11 → graph_knowledge_doc_parser-0.2.13}/kg_doc_parser/utils/log.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
|
|
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
|