Table of Contents

Class DataPipelineContentItemKnowledgePart

Namespace
FoundationaLLM.Common.Models.DataPipelines
Assembly
FoundationaLLM.Common.dll

Represents a knowledge part of a data pipeline content item.

public class DataPipelineContentItemKnowledgePart : DataPipelineContentItemPartBase
Inheritance
DataPipelineContentItemKnowledgePart
Inherited Members
Extension Methods

Properties

EntitiesAndRelationships

Gets or sets the entities and relationships extracted from the content item part.

[JsonPropertyName("entities")]
public KnowledgeEntityRelationship<ExtractedKnowledgeEntity, ExtractedKnowledgeRelationship>? EntitiesAndRelationships { get; set; }

Property Value

KnowledgeEntityRelationship<ExtractedKnowledgeEntity, ExtractedKnowledgeRelationship>

Methods

FromContentItemPart(DataPipelineContentItemPartBase)

Converts a content item part to a knowledge part.

public static DataPipelineContentItemKnowledgePart FromContentItemPart(DataPipelineContentItemPartBase contentItemPart)

Parameters

contentItemPart DataPipelineContentItemPartBase

The content item part to be converted.

Returns

DataPipelineContentItemKnowledgePart

A new content item knowledge part.