Skip to main content

SWAIG Includes

Remote function signatures to include in SWAIG functions. Will allow you to include functions that are defined in a remote location that can be executed during the interaction with the AI.

NameTypeDefaultDescription
includesOptionalobject[]-An array of objects that contain the includes Parameters.

includes Parameters

NameTypeDefaultDescription
urlRequiredstring-URL where the remote functions are defined. Authentication can also be set in the url in the format of username:password@url.
functionRequiredstring[]-An array of the function names to be included.
meta_dataOptionalobject-Metadata to be passed to the remote function. These are key-value pairs defined by the user.

Examples

  1. Including functions from a remote location