4 ms·
Yes, similar ideas. Marvin [asks the LLM to mimic the python function](https://github.com/PrefectHQ/marvin/blob/f37ad5b15e2e77dd998d2d1c871ca5cd111475b1/src/mar
by jackmpcollins 3y ago
Yes, similar ideas. Marvin [asks the LLM to mimic the python function](https://github.com/PrefectHQ/marvin/blob/f37ad5b15e2e77dd998d2d1c871ca5cd111475b1/src/marvin/components/ai_function.py#L34-L56 https://github.com/PrefectHQ/marvin/blob/f37ad5b15e2e77dd998...), whereas in magentic the function signature just represents the inputs/outputs to the prompt-template/LLM, so the LLM “doesn’t know” that it is pretending to be a python function - you specify all the prompts.
- fredoliveira 3y ago(Completely off-topic, but oh how I wish HN supported markdown)