待验证50% 置信解决方案精确时间
useChat 和 useCompletion 都支持通过 api 参数指定自定义后端路由,由后端调用模型供应商 API,从而避免在前端暴露密钥
1
来源数
50%
置信度
长期有效
时效性
2026/9/30
首次发现
来源
涉及实体
相关事实
待验证useChat 和 useCompletion 均抽象了服务端发送事件(SSE)的消费逻辑,并与 Next.js 的 Route Handler 或 Edge Function 深度整合74% 相似待验证在ReAct之前,WebGPT和ToolFormer已经探索了LLM调用外部工具的可能性,但仅限于单次调用模式68% 相似待验证useChat 和 useCompletion 均基于 Web Streams API 实现流式输出68% 相似待验证Frontend and backend typically communicate through APIs following RESTful or GraphQL protocol specifications65% 相似待验证The same set of backend APIs in a frontend-backend separation architecture can simultaneously serve web browsers, mobile apps, and WeChat mini-programs64% 相似
引用此条事实
Stable URI
https://kongchang.com/claim/960812API
curl https://kongchang.com/api/v1/knowledge/claims/960812MCP
get_claim(id=960812)