-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Problem Statement
别的功能还没有测试,至少在add_resource生成摘要时,生成的摘要同质化很严重,导致召回率严重低于召回原始文档。
分析其主要原因是工程文档原本都是同一主题,摘要后类似‘该函数主要供 python 开发人员使用,兼容python 3.8 之后的版本。’这样的文本大量重复,摘要之间的文本相似度非常高,而函数主要功能、用法的描述却几乎没有。
Proposed Solution
所以对于与业务耦合的提示词,希望提供注入提示词或指定自定义提示词模板的功能。这样提示词才能适配业务和具体文档。
Alternatives Considered
No response
Feature Area
Core (Client/Engine)
Use Case
add_resource生成工程文档、api 文档等的摘要。
Example API (Optional)
Additional Context
No response
Contribution
- I am willing to contribute to implementing this feature
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
In progress