2024-09-10 17:58
Lfgggg dude I finally managed to make semantic chunking work well. The problem I’ve been facing when chunking up a codebase is, when presented with extremely large functions, which may contain sub-functions, you can’t just go a node deeper and chunk all the child functions while ignoring the parent because you lose semantic structure. My solution is including the parent function declaration header on top of the actual child function as follows: (check comments)
回覆
轉發

回覆

轉發

24小時粉絲增長

無資料

互動率

(讚 + 回覆 + 轉發) / 粉絲數
0.00%

© 2025 Threadser.net. 版權所有。

Threadser.net 與 Meta Platforms, Inc. 無關,未經其認可、贊助或特別批准。

Threadser.net 也不與 Meta 的"Threads" 產品存在任何關聯。