Login
You're viewing the code4lib.social public feed.
  • Aug 1, 2026, 11:36 PM

    @mithriltabby i like that you share an informed technical and skeptical perspective. however:

    > Constrain the outputs to a schema so you can rerun the prompt if it fails to match the schema? More tokens.

    this is technically incorrect as probabilities are normally pulled to zero masking output incompatible with the constraining grammar

    💬 1🔄 0⭐ 0

Replies

  • Aug 1, 2026, 11:42 PM

    @feliks Are you sure that applies to all models? My team was running into problems with Gemini timeouts a few weeks ago that they dealt with by relaxing output schema constraints and having the parser handle more edge cases in the JSON generation.

    💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Aug 2, 2026, 12:06 AM

    @feliks If supplying the detailed schema to the API doesn’t qualify as actually using structured outputs, that is one hell of a bug.

    💬 1🔄 0⭐ 0
  • Aug 2, 2026, 12:12 AM

    @mithriltabby could very well be. not that familiar with vertex as european clients mostly prefer locally hosted models over industrial espionage

    💬 1🔄 0⭐ 0
  • Aug 2, 2026, 12:15 AM

    @feliks I think there are some structural differences with the models. For instance, github.com/JuliusBrussee/cavem is supposed to cut Claude token usage by 65%; when I use a similar skill with Gemini I notice that it’s performing all its internal chatter in verbose English and then reducing it to caveman before emitting it for human consumption. Which is still great for cutting out verbosity and sycophancy, but I doubt it’s reducing token usage by much.

    💬 1🔄 0⭐ 0