microsoft / TypeChat

TypeChat is a library that makes it easy to build natural language interfaces using types.
https://microsoft.github.io/TypeChat/
MIT License
8.06k stars 379 forks source link

Remove indent/dedent, fix up some type-checking errors. #175

Closed DanielRosenwasser closed 5 months ago

DanielRosenwasser commented 5 months ago

The indent/dedent logic was fragile to refactoring, so I've just moved the string contents over to the gutter.

Additionally, there were a few type-checking issues that were introduced in the samples that I've cleaned up.