Functions in Node
# support
j
trying to work out where the function invocation JSON goes if you're using a predefined character on the web interface and if you've got a function defined in /functions
u
Hey @J. , When using a predefined character on the web interface and having a function defined in /functions, the function invocation JSON would be part of the assistant configuration. The assistant would automatically determine which functions to call based on the instructions provided in the system message within your assistant's configuration.To configure a function for invocation, you would define it in the functions array within your assistant's model configuration.
j
@0xpranjal.eth By assistant configuration, does that mean the prompt?
n
i think it might be quickest for you to start from our example repo: https://github.com/VapiAI/server-side-example-serverless-vercel