$V2EX
Solana
Give SOL to Copy Address
使用 SOL 向 iyeatse 打赏,数额会 100% 进入 iyeatse 的钱包。
iyeatse

iyeatse

V2EX member #93772, joined on 2015-01-26 00:13:44 +08:00
Today's activity rank 13333
10 G 49 S 60 B
Per iyeatse's settings, the topics list is only visible after you sign in
Deals info, including closed deals, is not hidden
iyeatse's recent replies
3 days ago
Replied to a topic by LessWu 程序员 佬, Ponytail 真的能省 token 吗?
如果真的好用一定会内化到模型里
@galenzhao 自定义规则只能定义 OCR 识别账单的附加规则,比如“金拱门按麦当劳记录”这样的描述;完全自定义的话,模型的输出格式没办法约束,你那里如果有定制诉求的话可以提出来我看看能不能扩展。

目前的提示词你可以参考:
https://gist.github.com/yeatse/5ca3bd67463fa024db63653d93ef0d2d

https://gist.github.com/yeatse/3e03b3583e139ae5e9aa34040e20b5f6
Networth 是用 price 指令计算的,算法类似于 fava 中的"转换为 CNY"的算法。(试试 V2EX 能不能展示 LaTeX )

设本位币为 $c_0$,价格表为 $P$,当前日期 $t_0 = \text{now}$。

折算函数:

$$
\text{conv}(t, p) = p \text{ 在日期 } t \text{ 按 } P \text{ 折算到 } c_0 \text{ 的金额}
$$

资产合计与负债合计(遍历 `[开账, t_0]` 区间各账户库存):

$$
A = \sum_{\substack{a \,:\, \text{type}(a)=\text{Assets}}} \;\sum_{p \in \text{inv}(a)} \text{conv}(t_0,\, p)
$$

$$
L = \sum_{\substack{a \,:\, \text{type}(a)=\text{Liabilities}}} \;\sum_{p \in \text{inv}(a)} \text{conv}(t_0,\, p)
$$

> 负债账户余额本身为负,故 $L \le 0$。

**净资产:**

$$
\boxed{\,\text{NetWorth} = A + L\,}
$$
@galenzhao 感谢支持,fava dashboard 我研究下,现在首页自定义卡片那里可以用 BQL 定制显示内容,可以看看能不能替代。close account 展示的问题我下个版本修改下
天塌了,我攒着周限就等着周末用 fable 5 把我的疑难问题解决掉,结果 fable 用不了,credit 也重置了,错失一个亿
很好玩的应用,适配了一下 iOS 和 macOS ,提了个 PR:
https://github.com/idiotbaka/benkyo-ai/pull/2
- 各种中转站,站内广告一堆;担心掺水的话各种大厂比如 Cloudflare 、Vercel 这些也有中转业务
- 小黄鱼也有卖官方余额账户的,不知道哪的渠道
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1326 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 17ms · UTC 17:16 · PVG 01:16 · LAX 10:16 · JFK 13:16
♥ Do have faith in what you're doing.