Skip to content

JSON schema enforcement for LLM response. #14

Description

@estebanpuyanas

backend/main.py relies on the LLM returning valid JSON every time. A small retry loop (1–2 retries) with a stricter prompt on failure, or switching to a JSON schema–enforced generation call, would eliminate a potential failure point. (This seems like a lower priority item given LLMs use JSON as their native language).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions