Loading
Salesforce から送信されるメールは、承認済ドメインからのみとなります続きを読む

Custom Retriever Returning Inconsistent Results in Agentforce / Prompt Builder

公開日: Apr 16, 2026
説明

Customers may experience inconsistent or missing results from a Custom Retriever in Agentforce's Prompt Builder when using certain query phrasing. The retriever may return no documents for a valid question while returning correct results for a more specific or descriptive phrasing of the same question. This behavior can occur even when the Knowledge Article and retriever configuration appear identical across orgs.

This issue arises because archived or draft articles are included in the search results. Since these are filtered out during post-processing, the final response may be empty.

解決策

1. Add the filter criterion 'Knowledge Publication Status Id Equal To Online' to the retriever to ensure it retrieves only published articles.

2. Test the retriever after applying the filter and confirm that it consistently returns the expected results.

ナレッジ記事番号

005318637

 
読み込み中
Salesforce Help | Article