DEV Community

Cover image for Weekly AI News and Discussion Thread
Peter Kim Frank for AI Pulse

Posted on

Weekly AI News and Discussion Thread

Hey everyone, the past few months have been pretty electric in terms of advancements in AI and actual/imagined changes to our workflow and industry.

This is a regular open thread where everyone is encouraged to share...

  • Notable news in the field of AI
  • Personal experiences and insights
  • Concerns and fears
  • Success stories and demos
  • And any other related discussions you'd like to bring to the table

This thread will go out every week.

Top comments (1)

Collapse
 
nickytonline profile image
Nick Taylor

TypeChat looks really interesting.

replaces prompt engineering with schema engineering.

From what I heard on the Hanselminutes podcast, it can eliminate hallucinations.

GitHub logo microsoft / TypeChat

TypeChat is a library that makes it easy to build natural language interfaces using types.

TypeChat

TypeChat is a library that makes it easy to build natural language interfaces using types.

Building natural language interfaces has traditionally been difficult. These apps often relied on complex decision trees to determine intent and collect the required inputs to take action. Large language models (LLMs) have made this easier by enabling us to take natural language input from a user and match to intent. This has introduced its own challenges including the need to constrain the model's reply for safety, structure responses from the model for further processing, and ensuring that the reply from the model is valid. Prompt engineering aims to solve these problems, but comes with a steep learning curve and increased fragility as the prompt increases in size.

TypeChat replaces prompt engineering with schema engineering.

Simply define types that represent the intents supported in your natural language application. That could be as simple as…