You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
深度看了一下 A2UI 的源码(尤其是 restaurant_finder 那个案例),有个关于成本控制的疑惑想请教下官方和社区。
目前的实现方式非常“奢侈”:
我看 prompt_builder.py 里每次请求都会把那个 785 行的 JSON Schema 和好几个 UI Template 完整塞进 System Instruction。这导致用户哪怕只是回一句“你好”或者“二个人”,Input 成本可能瞬间就从几个 Token 飙升到了 5,000 甚至 10,000 个 Tokens。再加上 JSONL 的输出开销,如果是多轮对话,这个账单有点吓人。
Beta Was this translation helpful? Give feedback.
All reactions