非常典范的做事方式,townie的优化过程:
> townie 是 val.town 推出的代码生成工具
1. 先用最简单粗暴的方案验证可行性:所有代码案例放到context直接测试生成是否有效
2. 然后开始分输入输出做优化
优化输入:
- 引入评估体系 建立简单的指标模型 开始跑测试
- 根据测试结果剪枝输入
优化输出:
- 引入diff方案省token提速
- 修改代码以适配模型的“个性”,解决麻烦小问题
https://blog.val.town/blog/codegen/
> townie 是 val.town 推出的代码生成工具
1. 先用最简单粗暴的方案验证可行性:所有代码案例放到context直接测试生成是否有效
2. 然后开始分输入输出做优化
优化输入:
- 引入评估体系 建立简单的指标模型 开始跑测试
- 根据测试结果剪枝输入
优化输出:
- 引入diff方案省token提速
- 修改代码以适配模型的“个性”,解决麻烦小问题
https://blog.val.town/blog/codegen/
blog.val.town
How we built Townie – an app that generates fullstack apps
Like Claude Artifacts, but with a backend and database
Forwarded from Telegram News
These features are part of the largest update in the history of mini apps. To see everything else we included, like support for motion controls, customizable loading screens, automatic graphics optimization and more – check out our blog:
https://telegram.org/blog/fullscreen-miniapps-and-more
November Features
1 • 2 • 3 • 4 • More
https://telegram.org/blog/fullscreen-miniapps-and-more
November Features
1 • 2 • 3 • 4 • More
Telegram
Mini Apps 2.0: Full-Screen Mode, Home Screen Icons, Geolocation and 10 more features
Today we launch the largest update in the history of mini apps. They get a full-screen mode, subscription plans, home screen shortcuts, sending gifts, sharing media, creating documents, access to geolocation, motion tracker, setting emoji statuses -- and…
也许是半年内llm领域最有价值的事https://x.com/alexalbert__/status/1861079762506252723?s=46
盲猜会出现一个受欢迎的基于zed的ide https://zed.dev/blog/mcp
盲猜会出现一个受欢迎的基于zed的ide https://zed.dev/blog/mcp
X (formerly Twitter)
Alex Albert (@alexalbert__) on X
Introducing the Model Context Protocol (MCP)
An open standard we've been working on at Anthropic that solves a core challenge with LLM apps - connecting them to your data.
No more building custom integrations for every data source. MCP provides one protocol…
An open standard we've been working on at Anthropic that solves a core challenge with LLM apps - connecting them to your data.
No more building custom integrations for every data source. MCP provides one protocol…