Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ijk
9 months ago
|
parent
|
context
|
favorite
| on:
Sampling and structured outputs in LLMs
One pattern that I've seen develop (in PydanticAI and elsewhere) is to constrain the output but include an escape hatch. If an error happens, that lets it bail out and report the problem rather than be forced to proceed down a doomed path.
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: