Updated schemas and specs

This commit is contained in:
Cyber MacGeddon 2025-08-05 09:56:11 +01:00
parent e606ed6e40
commit 2ac363e7cf
5 changed files with 5 additions and 4 deletions

1
.gitignore vendored
View file

@ -13,4 +13,5 @@ trustgraph-flow/trustgraph/flow_version.py
trustgraph-ocr/trustgraph/ocr_version.py
trustgraph-parquet/trustgraph/parquet_version.py
trustgraph-vertexai/trustgraph/vertexai_version.py
trustgraph-mcp/trustgraph/mcp_version.py
vertexai/

View file

@ -56,7 +56,7 @@ The structured data integration requires the following technical components:
3. **Object Extraction Module**
- Enhanced knowledge extractor flow integration
- Builds on existing prototype in `trustgraph-flow/trustgraph/extract/objects`
- Builds on existing prototype in `trustgraph-flow/trustgraph/extract/object/row/`
- Identifies and extracts structured objects from unstructured sources
- Maintains provenance and confidence scores

View file

@ -82,7 +82,7 @@ class StructuredQueryResponse(Record):
```
#### 2.2 Object Extraction Output
New file: `knowledge/extraction.py`
New file: `knowledge/object.py`
```python
from pulsar.schema import Record, String, Map, Double
@ -136,4 +136,4 @@ The schemas will be used by new flow modules:
2. Update existing services to recognize new schema types
3. Implement flow modules that use these schemas
4. Add gateway/rev-gateway endpoints for new services
5. Create unit tests for schema validation
5. Create unit tests for schema validation

View file

@ -5,4 +5,4 @@ from .knowledge import *
from .nlp import *
from .rows import *
from .structured import *
from .extraction import *
from .object import *