agents.document_modifiers.kg.kg_base.exampleΒΆ

Example usage of the GraphTransformer class.

This script demonstrates how to use the GraphTransformer to extract knowledge graphs from documents with various configurations.

FunctionsΒΆ

advanced_example()

Demonstrate advanced configuration with properties.

basic_example()

Demonstrate basic graph transformation.

schema_validation_example()

Demonstrate schema validation and error handling.

type_hints_example()

Demonstrate proper type usage.

Module ContentsΒΆ

agents.document_modifiers.kg.kg_base.example.advanced_example()ΒΆ

Demonstrate advanced configuration with properties.

Return type:

None

agents.document_modifiers.kg.kg_base.example.basic_example()ΒΆ

Demonstrate basic graph transformation.

Return type:

None

agents.document_modifiers.kg.kg_base.example.schema_validation_example()ΒΆ

Demonstrate schema validation and error handling.

Return type:

None

agents.document_modifiers.kg.kg_base.example.type_hints_example()ΒΆ

Demonstrate proper type usage.

Return type:

None