Azure / Azure/azure-sdk-for-python

AzureAISearchTool: Filter should not be defined at the agent level

オープン
#45,583 コメント 4 件 リアクション 0 件 担当者 1 名 @lindazqli が担当を希望しています GitHub で見る
AI Projects customer-reported needs-team-attention question Service Attention
主要言語
Python
スター
5.6k
フォーク
3.4k
平均マージ
2日 2時間
マージ済み PR(30日)
213

説明

For [Azure AI Search Tool](https://learn.microsoft.com/en-us/azure/ai-foundry/agents/how-to/tools/ai-search?view=foundry&tabs=keys%2Cazurecli&pivots=python), `filter` is defined at the agent level. As per the documentation, filter applies to all queries the agent makes to the index. As a result, if an application has multiple filters, it needs to maintain multiple agents. New filters would require newer agent instances (This could be a maintenance nightmare since each agent can have multiple version).

Azure AI Search tool is being considered as one of the alternatives to On-Your-Data. But, there, filter string can be generated dynamically and can be passed as a string while making chat.completions.create calls.

Considering

cc: @xiangyan99, @guygregory

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。