8 ms·
Looks usefull. Could you explain how it works? you have to chain it after the call from other LLM ?
by alboaie 2y ago
Looks usefull. Could you explain how it works? you have to chain it after the call from other LLM ?
- lunarcave 2y agoThanks. We use a minimal schema[1] to prompt the LLM under the hood. We were inspired by BAML [2]. Then the output is wrangled with a converter and ajv [3]. [1] https://github.com/inferablehq/l1m/blob/main/api/src/schema.ts#L31 https://github.com/inferablehq/l1m/blob/main/api/src/schema.... [2] https://github.com/boundaryml/baml https://github.com/boundaryml/baml [3] https://ajv.js.org https://ajv.js.org