Comment

Comment by pcwelder

Could be json or non json. Instead of using tools in API, you ask model to share structured output in text. You parse the string to get the JSON. Gives much more control over things you can do.

For example model shares

<tool_call name="getWeather"> <param name="city">London</param> </tool_call>

parent pcwelder 4 months ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton