Working logic of functions

Suppose i have 10 functions in my request body. Which field determines which function will be called?
Do names of functions affect it?

GPT decides which function to call based on your name/description and what it thinks is relevant. See docs.


Also, if you want to force the model to use a specific function, you can pass a function_call param when you call the completion api. Ref: OpenAI Platform