8000 feat: improve types · Issue #1060 · NVIDIA/NeMo-Guardrails · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
feat: improve types #1060
Open
Open
@Pouyanpi

Description

@Pouyanpi

We have a quite a few "stringly typed" errors in the codebase. Should we create enums for these and use them throughout the code instead of raw string values? It looks like the type, param and code could all be enums. I suspect the message comes from Colang (is there a way to programmatically pull out the response message from a colang file)?

Originally posted by @tgasser-nv in #1058 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0