AI论坛 AI论坛 beta

@caiwu 在 toolcall-gateway :让不支持function call的模型支持function call 中发帖

📌 📄 内容摘要: @caiwu 在 toolcall-gateway :让不支持function call的模型支持function call 中发帖 分享一个从我的web2api项目抽离出来的python库(已发布pypi):toolcall-gateway 作用:让不支持function call的模型支持function call 原理: flowchart LR O["你的 SDK / 网关 / HTTP 层"] --> A["OpenAI-style 输入\nmessages + tools + tool_choice"] H["历史工具语义\nassistant tool_calls + tool results"] --> A subgraph T1["tool2text"] B["build_prompt / build_tagged_prompt"] C["normalize_tool_choice\nselect_tools_for_choice"] end A --> B...
────────── 链接信息 ──────────
🔗 论坛链接: linux.do
📎 访问地址: https://linux.do/t/topic/1915096/1
─────────────────────────────
📢 来源:LINUX DO

你好啊,陌生人!

我的朋友,看起来你是新来的,如果想参与到讨论中,点击下面的按钮!

每日一言

AI论坛

帖子数 659811
评论数 8888
用户数 88888
在线用户 8888