待验证50% 置信事实精确时间
通过init_chat_model方法可快速构建大语言模型对象,model.invoke()返回AIMessage对象,其response_metadata包含prompt_tokens、completion_tokens、total_tokens等token统计
1
来源数
50%
置信度
中期 (~90 天)
时效性
2026/7/23
首次发现
有效期至:2026/10/21
来源
相关事实
待验证Chat Model的输入是一个消息列表,输出是结构化消息对象AIMessage,对应ChatOpenAI、ChatAnthropic等类77% 相似待验证init_chat_model implements the Facade Pattern by maintaining an internal mapping table from providers to a standard interface72% 相似待验证一次invoke代表与大模型的一次完整交互,一次交互可传递多条消息,包括当前问题和历史聊天记录70% 相似待验证工具调用对话的数据结构包含函数调用请求、参数JSON、执行结果等嵌套信息,序列化复杂度高于普通文本对话67% 相似待验证ChatGPT 插件生态以大语言模型作为统一的编排层,根据用户意图动态调度插件能力66% 相似
引用此条事实
Stable URI
https://kongchang.com/claim/598544API
curl https://kongchang.com/api/v1/knowledge/claims/598544MCP
get_claim(id=598544)