Large language models (LLMs) excel at creative text generation, but we often face a case where we need LLM outputs to be more structured. This is where our exciting new “structured output” feature comes in.

Structured Outputs is also available in Friendli Dedicated Endpoints and Friendli Container.

For more advanced use cases of our Structured Outputs feature, check out our detailed blog post on Structured Output for LLM Agents.

Enforcing Format (JSON)

Enforcing Patterns (Regex)