Notes

Bridging Natural and Structured languages

There are a couple of efforts towards bridging with different goals.

lmql.ai and github.com/microsoft/guidance - allows placeholders inside prompts, symbolic constraints on placeholders. easier to parse parts of generated outputs and constrain outputs to follow specific patterns.

github.com/ezelikman/parsel - a mixed natural-structured programming format. Search over potential structured implementations of a naturally specified function.

In comparison, OpenAI’s functions parameter asks the LLM to find/synthesize only the inputs that match the input spec of a function (besides picking the right function from a list of function specifications). The function implementation already exists - so the LLM helps in tying together these implementations.

—-

0
Likes
0
Restacks