How to provide correct document link to AUTORAG ai search?
The aisearch() response takes the document.name as the link of actual document caused broken/invalid link reference in the response markdown, while I have provided the valid link in the content as well in the
customMetadata mentioned in the docs
But it doesn't seems that the context is provided to the AI as per the AI gateway logs.
Example logs ids -
How to remove document name provided in the context, or add the correct context given in customMetadata?
https://developers.cloudflare.com/autorag/configuration/metadata/#add-context-field-to-guide-ai-searchCloudflare Docs
Metadata
Use metadata to filter documents before retrieval and provide context to guide AI responses. This page covers how to apply filters and attach optional context metadata to your files.

0 Replies