For the complete documentation index, see llms.txt. This page is also available as Markdown.

resourcesPath

Custom path for loading SDK resources.

Details

Attribute: resources-path

Type: string

Default value: undefined

Morphology

provider.resourcesPath = '/assets/sdk';

Description

Base path from which facephi-sdk-provider and child wrappers (facephi-selphi-widget, facephi-selphid-widget, etc.) resolve static resources and engines when engineLocation in each Widget.

Considerations

The path must be absolute or relative to the origin of the application (e.g. /assets/sdk). Relative paths with notation are not allowed ./ or ../.


Example

<facephi-sdk-provider
    apikey={process.env.FACEPHI_SDK_APIKEY}
    resourcesPath={'/assets/sdk'}
/>

Last updated