Skip to content

Epic 1: Structured LLM Output (M27) #474

@bug-ops

Description

@bug-ops

Problem

All LLM responses are raw String. Parsing structured data is ad-hoc (serde_json::from_str on fenced blocks). No way to force JSON schema compliance.

Solution

Add chat_typed<T>() to LlmProvider trait + provider-level response_format support.

Issues

Verification

Write a test that calls provider.chat_typed::<MyStruct>(messages) and gets a typed result.

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    M27Milestone 27: Structured Output + Typed ToolsepicMilestone-level tracking issuellmLLM provider related

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions