# ai.SWAIG An array of JSON objects to create user-defined functions/endpoints that can be executed during the dialogue. ## Parameters | Name | Type | Description | |:-|:--|:| | [defaults](./defaults/index.mdx)Optional | object | Default settings for all SWAIG functions. If defaults is not set, settings may be set in each function object. Default is not set. | | [native_functions](./native_functions/index.mdx)Optional | string[] | Prebuilt functions the AI agent is able to call (from [this list of available native functions](./native_functions/index.mdx#available-functions)) | | [includes](./includes/index.mdx)Optional | object[] | An array of objects to include remote function signatures. This allows you to include functions that are defined in a remeote location. | | [functions](./functions/index.mdx)Optional | object[] | An array of JSON objects to define functions that can be executed during the interaction with the AI. Default is not set. The fields of this object are the six following. |