NovelForge icon indicating copy to clipboard operation
NovelForge copied to clipboard

角色动态图谱获取失败

Open z19910928-afk opened this issue 1 year ago • 13 comments

显示未找到提示词,但是提示词已经布置玩不

z19910928-afk avatar Oct 07 '25 03:10 z19910928-afk

测试了下,应该是可以获取的,你是自己新建的提示词吗?

RhythmicWave avatar Oct 07 '25 03:10 RhythmicWave

没有的就是用的自带的,我先重新搞一下试一试

z19910928-afk avatar Oct 07 '25 10:10 z19910928-afk

看一下附件报这个错误

z19910928-afk avatar Oct 07 '25 11:10 z19910928-afk

动态信息提取失败: 调用LLM服务失败,已重试3次: 5 validation errors for GenerateContentConfigtools.0.Tool.function declarations.0,parameters.properties.info ist.items.properties.dynamic info.propertyNames Extra inputs arenot permitted [type=extra forbidden, input value={'enum':['系统/模拟..想法/目标快照”), input type=dict] For furtherinformation visit https://errors.pydantic.dev/2.11/v/extra forbidden tools.0.callable Input should be callable [type=callable typenput value=f'function declarations'..'oblect'}}l}, input type=dict] For further information visitnttps://errors.pydantic.dev/2.11/v/callableype tools.0.Tool.name Field required 「type=missing, input value="function declarations'.l, 'type': 'object'}}]}, input type=dict] For further information visithttps://errors.pydantic.dev/2.11/v/missing tools.0.Tool.inputSchema Field required [type=missing, input value"'function declarations".., "type': 'object"}}]}, input type=dict] For further information visithttps:/errors.pydantic.dev/2.11/v/missing tools.0.is-instance[ClientSession] input should be an instance of Clientsessiontype=is_ instance of, input value={'function declarations".., 'type': 'object'y}l, input type=dict] For further information visitttps://errors.pydantic.dev/2.11/v/is instance of

z19910928-afk avatar Oct 07 '25 11:10 z19910928-afk

看起来是结构化输出校验的报错,大概率是模型问题,建议更换能力更强的模型尝试。

RhythmicWave avatar Oct 07 '25 12:10 RhythmicWave

我试一下

z19910928-afk avatar Oct 07 '25 13:10 z19910928-afk

目前是gemini2.5pro 😭

z19910928-afk avatar Oct 07 '25 13:10 z19910928-afk

这个模型能力应该是足够的,能否提供下后台报错截图

RhythmicWave avatar Oct 07 '25 13:10 RhythmicWave

Image

z19910928-afk avatar Oct 08 '25 08:10 z19910928-afk

有尝试换成deepseek、kimi k2等模型吗

RhythmicWave avatar Oct 08 '25 08:10 RhythmicWave

我一直用这个我试一下别的模型

z19910928-afk avatar Oct 08 '25 08:10 z19910928-afk

试用了,deepseek,混元,只有K2可以,看来是模型的问题了

z19910928-afk avatar Oct 08 '25 09:10 z19910928-afk

好的

RhythmicWave avatar Oct 08 '25 09:10 RhythmicWave