Find answers from the community

Updated last year

Function

At a glance
How can I utilize a function calling api with any huggingface model? https://platform.openai.com/docs/guides/gpt/function-calling
L
g
3 comments
Huggingface models do not have a function calling api

Instead, we have to rely on the LLM to write structured JSON.

We support both openais function calling api, and normal json outputs that we parse, for all major features
Are there some strategies for non openai models to ensure consistent output when using the LLM for data cleaning?
Mostly prompt engineering. Overall open source model are not very reliable in my experience for this haha

We do our best to parse the output, even when it's a little messy.

Usually you'll get best results with larger models (30B+)
Add a reply
Sign up and join the conversation on Discord