# Functions : like in openai api

**URL:** <https://discuss.huggingface.co/t/functions-like-in-openai-api/52646>\
**Category:** Models\
**Created:** [August 29, 2023, 11:18am UTC](https://discuss.huggingface.co/t/functions-like-in-openai-api/52646 "2023-08-29T11:18:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![coach-avi-agile-prim](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/coach-avi-agile-prim/32/17865_2.png) [@coach-avi-agile-prim](https://discuss.huggingface.co/u/coach-avi-agile-prim)\
**Post date:** [August 29, 2023, 11:18am UTC](https://discuss.huggingface.co/t/functions-like-in-openai-api/52646/1 "2023-08-29T11:18:37Z")

</div>

Hi  
OpenAI api have a parameter called functions so the api can “translate” user prompt in English to function call definition (you can see it here [OpenAI Platform](https://platform.openai.com/docs/guides/gpt/function-calling))  
is there a similar functionality in inference api?
