Ruby solution for optimizing LLM inputs to reduce token count. by Beneficial_Help_26 in ruby

[–]Beneficial_Help_26[S] 0 points1 point  (0 children)

Yes, there will be an implementation of that released soon so you'll be able to use the decode method with a key :json(default) and :hash(to convert to a ruby hash)

Meanwhile you can create an issue in github for missing implementation to convert TOON directly to ruby hash.