Steve Lucco

Results 7 comments of Steve Lucco

Great question. We are experimenting with adding an conversation history section to the beginning of the prompt that would provide an array of user and assistant entries. A complication is...

Here are the specific levels of structure and type checking currently done by the TypeChat library. First, function `translate` in file `typechat.ts` verifies that the model output has correct JSON...

The reason that TypeChat does all of this checking is related to Till Simon's original question that started this thread about reliability and which methods are most reliable. To make...

We do plan to add function as an option for cases (like coffeeshop, calendar) in which a JSON object is output as the final intent summary. In those cases, we...

And we agree that in the case of Program we could also do it by having a JSON schema for a single Program function with a single argument steps. That's...

This is mechanically possible now. In these lines from calendar\src\main.ts: ``` typescript const schema = fs.readFileSync(path.join(__dirname, "calendarActionsSchema.ts"), "utf8"); const translator = createJsonTranslator(model, schema, "CalendarActions"); ``` The schema text comes from...

Yes, that's one way to do it. Load a string template from a file, then apply the template to the dynamic data on update.