Hello everyone,
I’m working on a project using Caffeine.ai and am running into some specific issues with asset management and AI responses.
I’m trying to get the AI to handle a few tasks, but it seems to be “hallucinating” and providing generic web dev advice that isn’t applicable to the ICP ecosystem.
Specifically, I’m facing problems with:
-
Image and Video Loading: The generated code fails to display assets. My hypothesis is that the AI is not properly referencing the asset canister paths.
-
Prompting and Hallucination: When I ask for help with file uploads, the AI gives responses about “paperclip icons” or “asset folders” that don’t exist on the platform. It doesn’t seem to recognize that assets need to be managed through the canister.
-
File Uploads: I’m unable to get the AI to properly handle the upload of local assets to the canister, even with clear commands.
I’m trying to figure out the correct way to structure prompts to avoid these issues. Can anyone provide examples of effective prompts for:
- Uploading images or videos to an asset canister.
Any insight into the best practices for prompting Caffeine.ai would be greatly appreciated.
Thank you!