修改模型配置
This commit is contained in:
@@ -17,7 +17,7 @@ def _build_chain(prompt: str):
|
||||
"""构建单个提取链:prompt → LLM → JSON解析"""
|
||||
return (
|
||||
ChatPromptTemplate.from_messages([("system", prompt), ("human", "{text}")])
|
||||
| LLM.CLAUDE_SONNET_4.create(temperature=0)
|
||||
| LLM.JIAYU_CLAUDE_SONNET_4_5.create(temperature=0)
|
||||
| JsonOutputParser()
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user