> For the complete documentation index, see [llms.txt](https://help.flochat.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.flochat.ai/artificial-intelligence/openai-or-chatgpt/what-are-functions/generate-function-with-ai.md).

# Generate function with AI

Not sure what type of function to create or you have a function idea, but need help with the parameters? Great you're in the right place... Use the simple Generate functions with AI tab.

### Select the generate by ai button

<div align="left"><figure><img src="https://2836971782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRaLazqQDW4JMiGe2iyKg%2Fuploads%2FehYR4tIV67rHQ11X1T9y%2Fai%20functions.PNG?alt=media&amp;token=3c9abb74-830d-4204-b376-b8cd15939746" alt=""><figcaption></figcaption></figure></div>

Next type in your idea for what you need the function to do. Once happy click get suggestion

<figure><img src="https://2836971782-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRaLazqQDW4JMiGe2iyKg%2Fuploads%2FONCl2DFJkzXtoDCMqG3C%2Fgenerate%20by%20ai%20functions.PNG?alt=media&amp;token=58943ea9-d2f1-4f6c-98d9-3f7071e69510" alt=""><figcaption></figcaption></figure>

Now you are ready to use your newly created functions in your flows.[ Learn more about functions here](/artificial-intelligence/openai-or-chatgpt/what-are-functions.md)
