Manas Mohanty
以下の指示は不安定な結果になります。成功することはありますが、100%ではありません。
“Before answering a user’s question, you must always perform a knowledge search.
You must not answer without performing a knowledge search.
For factual questions such as contract periods, dates, terms, amounts, or agreement details, you must base your answer solely on the results of the knowledge search.
If the relevant information is not found in the knowledge search, do not respond with speculation or general statements. Clearly state that ‘the relevant information was not found in the knowledge base,’ and request that the user provide or upload additional materials.”
試しに短くした指示を3パターン用意しましたが、いずれもナレッジを参照しませんでした。(Tool Callが発生しないことをthreadlogで確認済み)
Before answering a user’s question, you must always perform a knowledge search.
Before answering a user’s question, it’s advisable to perform a knowledge search first.
Please conduct a knowledge search and then generate your answer to the user’s question.
結果として以下の日本語の指示が最も希望する回答が生成されます。
はじめにナレッジを検索してその結果をもとに回答生成してほしい
ここまでくると、クラッシックモードのFoundryにてGPT-4.1モデルを設定したAIエージェントはRAGシステムとしては活用できない(推奨されない)と判断するしかないです。
アドバイスいただいたとおり、New Founry PortalでGPT-5.1モデルを設定して試すほうが解決策になるかもしれません。