July 21, 2023, 4:02 a.m. | /u/sarmad-q

Machine Learning www.reddit.com

MSFT just open-sourced a library called TypeChat today, which allows you to use LLMs with TypeScript types to structure LLM responses into your TypeScript data structures -- essentially allowing you to have the LLM generate responses into the data types that your app understands.

Example from their docs:

https://preview.redd.it/108650s4s8db1.png?width=1682&format=png&auto=webp&s=0429eeb16bc5c28651ea908aee5824c3c9f395b4

Details: [https://microsoft.github.io/TypeChat/docs/introduction/](https://microsoft.github.io/TypeChat/docs/introduction/)

I can see a lot of powerful examples for this kind of pattern, including eventing and notifications based on generated data types.

Has anyone tried this library yet or …

app data example examples library llm llms machinelearning microsoft msft releases responses types typescript

Senior Machine Learning Engineer

@ GPTZero | Toronto, Canada

ML/AI Engineer / NLP Expert - Custom LLM Development (x/f/m)

@ HelloBetter | Remote

Doctoral Researcher (m/f/div) in Automated Processing of Bioimages

@ Leibniz Institute for Natural Product Research and Infection Biology (Leibniz-HKI) | Jena

Seeking Developers and Engineers for AI T-Shirt Generator Project

@ Chevon Hicks | Remote

Senior Applied Data Scientist

@ dunnhumby | London

Principal Data Architect - Azure & Big Data

@ MGM Resorts International | Home Office - US, NV