Skip to content

docs是什么格式的 #5397

@flyider

Description

@flyider

docs = {
{
"id": "doc1",
"page_content": "这是第一篇文档的内容,包含一些示例文本。",
"type": "article",
"metadata": {
"author": "张三",
"date": "2023-01-01",
"source": "网站A"
}
},
{
"id": "doc2",
"page_content": "这是第二篇文档的内容,用于展示不同的数据。",
"type": "report",
"metadata": {
"author": "李四",
"date": "2023-01-02",
"source": "系统B"
}
},
{
"id": "doc3",
"page_content": "第三篇文档的内容比较简短。",
"type": "note",
"metadata": {
"author": "王五",
"date": "2023-01-03",
"source": "本地文件"
}
}
}

是如上的格式吗

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions