[Example] Use serde
and schemars
to write structure output
#302
Labels
documentation
Improvements or additions to documentation
Hi @64bit , your lib is awesome. I'm using it in my side project and it works perfectly.
I found that the structure output can be improved by use
serde
andschemars
to make code easy to maintain like my PR #301 . I hope the PR works for you and community.Btw, I think we can write the utility function like
client.complete_structure_output<T>(...)
and then user can just insert their rust struct and no need to worry about manual writing schema.Assumtption code:
Thanks
The text was updated successfully, but these errors were encountered: