Python package for easily interfacing with chat apps, with robust features and minimal code complexity.
3.43k
stars
224
forks
source link
`examples/schema_ttrpg.ipynb`: Is `typing.Optional` supposed to be used? #24
Closed
keyboardAnt closed 1 year ago
It was used when I was writing the notebook to handle optional fields, but then I discovered the
Union
trick which made it redundant.In testing idk if
Optional
works well for schema generation since it seems ChatGPT will try to ignore it above all else.