JTaggart on Nostr: I spent yesterday replacing all my regex output parsing with forced Json output ...
I spent yesterday replacing all my regex output parsing with forced Json output
Basically a probability mask to force tokens to json
Sometimes model would screw me by ignoring my <parsing>tags</parsing>
Published at
2024-10-21 21:27:23Event JSON
{
"id": "456dc658ef44b85383ae231cb519a8c94b083548cf92faf89dd8ac5961792f29",
"pubkey": "bcbf9644d3f475d00eb9c6e467385ce16d4546c1a24222ccfa542bf776eaba95",
"created_at": 1729546043,
"kind": 1,
"tags": [
[
"e",
"b3487a02de68856abbe478f0192fa97872d2e6ac89b8685b14ce424f18def1ee",
"",
"root"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
]
],
"content": "I spent yesterday replacing all my regex output parsing with forced Json output\n\nBasically a probability mask to force tokens to json\n\nSometimes model would screw me by ignoring my \u003cparsing\u003etags\u003c/parsing\u003e",
"sig": "4aa07adbe9458c8d02f6e86f527c9537e1cbe8d856bbe22b9745443105afac66f20641c47aee0333d17531a5b634fc45ac7eb6620cf7eb945acfa990c91e4e84"
}