GitHub 项目简介: TypeChat is a library that makes it easy to build natural language interfaces using types.
README: 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 tak…
README: TypeChat replaces _prompt engineering_ with _schema engineering_. Simply define types that represent the intents supported in your natural language application.
README: 2. Validating the LLM response conforms to the schema. If the validation fails, repair the non-conforming output through further language model interaction. 3. Summarizing succinc…
README: Install TypeChat for TypeScript/JavaScript: ``` npm install typechat ```