Add the following to the beginning of the file where you want to use the fetchDepictRecommendations function:

import { fetchDepictRecommendations } from "@depict-ai/js-ui";