You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems like one argument for keeping reading it as a text file is to enable the use of comments alongside the types for added context to guide the model.
looking at the examples:
https://github.com/microsoft/TypeChat/blob/main/examples/calendar/src/main.ts#L11C25-L11C25
https://github.com/microsoft/TypeChat/blob/main/examples/restaurant/src/main.ts#L15
I find it odd that we read in the typescript schema as a text file.
after the code is transpiled, those
.ts
files won't exist.I guess I could manually copy over to the /dist after building but that seems a hack
Is there a method to just import the schema or pass a typescript type?
The text was updated successfully, but these errors were encountered: