mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-24 12:41:02 +02:00
Updated schemas and specs
This commit is contained in:
parent
e606ed6e40
commit
2ac363e7cf
5 changed files with 5 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -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/
|
||||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -5,4 +5,4 @@ from .knowledge import *
|
|||
from .nlp import *
|
||||
from .rows import *
|
||||
from .structured import *
|
||||
from .extraction import *
|
||||
from .object import *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue