Skip to content

关于在知识构建过程中,自定义提示词的问题 #666

@Shieffer

Description

@Shieffer

我在schema中定义了一个实体类型,该实体类型的属性遍布文档的各处,但是在非结构化知识抽取的过程中是按照分段后的chunk来独立提取知识的,那么该怎么做来确保这个实体属性的完整性?
我在自定义prompt的时候也有点无从下手,example.input如果只是传入一部分段落,那么实体属性必然不完整,但是我直接把整个文档作为input也不符合实际抽取的情况。请问对于这种需求要怎么做

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions