KAG icon indicating copy to clipboard operation
KAG copied to clipboard

支持 Schema-constraint 模式的抽取链接(开发者模式)

Open jerryHo123 opened this issue 11 months ago • 3 comments

提供 Schema-constraint 模式,知识库构建阶段,严格按照 Schema 的定义进行操作,从而实现更细粒度和更复杂的知识抽取。

这个模式在哪开启呢,是需要再schema定义中添加constrain关键字规则吗

jerryHo123 avatar Jan 10 '25 03:01 jerryHo123

提供 Schema-constraint 模式,知识库构建阶段,严格按照 Schema 的定义进行操作,从而实现更细粒度和更复杂的知识抽取。

这个模式在哪开启呢,是需要再schema定义中添加constrain关键字规则吗

You can refer to KAG examples of Schema-constraint extractor to get detail information for schema-constraint extractor in KAG-Builder

image

caszkgui avatar Jan 10 '25 08:01 caszkgui

提供 Schema-constraint 模式,知识库构建阶段,严格按照 Schema 的定义进行操作,从而实现更细粒度和更复杂的知识抽取。 这个模式在哪开启呢,是需要再schema定义中添加constrain关键字规则吗

You can refer to KAG examples of Schema-constraint extractor to get detail information for schema-constraint extractor in KAG-Builder

image

按照这个配置了,抽取结果实体是严格按照schema来的,但是关系不是哦,限定了三四个关系,但是抽取出来90+个关系

jerryHo123 avatar Jan 10 '25 09:01 jerryHo123

提供 Schema-constraint 模式,知识库构建阶段,严格按照 Schema 的定义进行操作,从而实现更细粒度和更复杂的知识抽取。 这个模式在哪开启呢,是需要再schema定义中添加constrain关键字规则吗

You can refer to KAG examples of Schema-constraint extractor to get detail information for schema-constraint extractor in KAG-Builder image

按照这个配置了,抽取结果实体是严格按照schema来的,但是关系不是哦,限定了三四个关系,但是抽取出来90+个关系

Hello, the schema only defines the entity types and properties, without constraining the relationships between entities. You can customize the prompt for relationship extraction to impose constraints on the types of relationships.

zhuzhongshu123 avatar Jan 15 '25 02:01 zhuzhongshu123