We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 852d794 commit 315d7deCopy full SHA for 315d7de
app/backend/approaches/approach.py
@@ -298,7 +298,8 @@ async def run_agentic_retrieval(
298
299
results = []
300
if response and response.references:
301
- for reference in response.references:
+ references = sorted(response.references, key=lambda reference: int(reference.id))
302
+ for reference in references:
303
if isinstance(reference, KnowledgeAgentAzureSearchDocReference) and reference.source_data:
304
results.append(
305
Document(
0 commit comments