Thursday, August 24, 2023

TypeChat = TypeScript + ChatGPT

Introducing TypeChat - TypeChat

npm install typechat

The current wave of LLMs default to conversational natural language — languages that humans communicate in like English. Parsing natural language is an extremely difficult task, no matter how much you pamper a prompt with rules like "respond in the form a bulleted list". Natural language might have structure, but it's hard for typical software to reconstruct it from raw text.

Surprisingly, we can ask LLMs to respond in the form of JSON, and they generally respond with something sensible!

ranslate the following request into JSON.

Could I get a blueberry muffin and a grande latte?

Respond only in JSON that satisfies the Response type:

type Response = {
    items: Item[];
};

type Item = {
    name: string;
    quantity: number;
    size?: string;
    notes?: string;
}

ChatBot:

{
  "items": [
    {
      "name": "blueberry muffin",
      "quantity": 1
    },
    {
      "name": "latte",
      "quantity": 1,
      "size": "grande"
    }
  ]
}

AI Code Modular Mojo += $100 M

Modular: We’ve raised $100M to fix AI infrastructure for the world's developers

 raised $100 million in new funding, led by General Catalyst and filled by existing investors GV (Google Ventures), SV Angel, Greylock, and Factory. This second round of funding follows our first $30 million round from last year and will enable us to supercharge our vision for the future of AI infrastructure for the world's developers


Unicorn valuation already?



IoT podcast: the end, and the new beginning?

Episode 437: Goodbye and good luck - IoT Podcast - Internet of Things


Stacey on IoT | My final newsletter

IoT Podcast - Internet of Things - with Stacey Higginbotham since 2016


Innovation at CR - Innovation at Consumer Reports


Lurlene McDaniel Quote: “From every ending comes a new beginning.”