Skip to content

Better model debugging input and output #3157

@AstroAir

Description

@AstroAir

Description

In recent testing, I tried using the examples in the official documentation and everything worked fine, but the output always couldn't be presented well. Therefore, I wrote a component to beautify the output, which can better display the input and output information of the model. If rich is installed, it can also support rendering markdown in the terminal

Image

I'm not sure if pydantic has implemented the relevant components, but I couldn't find them in the documentation. If possible, I would like to create a PR

References

No response

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