Skip to content

Commit 279c5c5

Browse files
committed
Revert unneeded changes to AGENTS and evals, and fix weird azd env var name
1 parent 0b18e4c commit 279c5c5

File tree

21 files changed

+21
-24
lines changed

21 files changed

+21
-24
lines changed

AGENTS.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ If necessary, edit this file to ensure it accurately reflects the current state
1717
* app/backend/approaches/prompts/chat_query_rewrite.prompty: Prompt used to rewrite the query based off search history into a better search query
1818
* app/backend/approaches/prompts/chat_query_rewrite_tools.json: Tools used by the query rewriting prompt
1919
* app/backend/approaches/prompts/chat_answer_question.prompty: Prompt used by the Chat approach to actually answer the question based off sources
20-
* Agentic retrieval responses populate `DataPoints.citation_activity_details` so the frontend can link citations to query plan activities and display the related step metadata provided by the backend.
2120
* app/backend/prepdocslib: Contains the document ingestion library used by both local and cloud ingestion
2221
* app/backend/prepdocslib/blobmanager.py: Manages uploads to Azure Blob Storage
2322
* app/backend/prepdocslib/cloudingestionstrategy.py: Builds the Azure AI Search indexer and skillset for the cloud ingestion pipeline
@@ -35,14 +34,12 @@ If necessary, edit this file to ensure it accurately reflects the current state
3534
* app/backend/prepdocslib/parser.py: Base parser interface
3635
* app/backend/prepdocslib/pdfparser.py: Parses PDFs using Azure Document Intelligence or local parser
3736
* app/backend/prepdocslib/searchmanager.py: Manages Azure AI Search index creation and updates
38-
* Agent knowledge bases are created per source combination: base agent uses only the index, with `-with-web`,
39-
`-with-sp`, and `-with-web-and-sp` variants provisioned when optional sources are enabled.
4037
* app/backend/prepdocslib/servicesetup.py: Shared service setup helpers for OpenAI, embeddings, blob storage, etc.
4138
* app/backend/prepdocslib/strategy.py: Base strategy interface for document ingestion
4239
* app/backend/prepdocslib/textparser.py: Parses plain text and markdown files
4340
* app/backend/prepdocslib/textprocessor.py: Processes text chunks for cloud ingestion (merges figures, generates embeddings)
4441
* app/backend/prepdocslib/textsplitter.py: Splits text into chunks using different strategies
45-
* app/backend/app.py: The main entry point for the backend application. Registers the default and optional (with-web, with-sp, with-web-and-sp) knowledge base clients in the app config for approaches that rely on agentic retrieval.
42+
* app/backend/app.py: The main entry point for the backend application.
4643
* app/functions: Azure Functions used for cloud ingestion custom skills (document extraction, figure processing, text processing). Each function bundles a synchronized copy of `prepdocslib`; run `python scripts/copy_prepdocslib.py` to refresh the local copies if you modify the library.
4744
* app/frontend: Contains the React frontend code, built with TypeScript, built with vite.
4845
* app/frontend/src/api: Contains the API client code for communicating with the backend.

docs/agentic_retrieval.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ This repository includes an optional feature that uses [agentic retrieval from A
3333
Override the default by setting the following environment variable:
3434

3535
```shell
36-
azd env set AZURE_SEARCH_KNOWLEDGEBASE_NAME_RETRIEVAL_REASONING_EFFORT low
36+
azd env set AZURE_SEARCH_KNOWLEDGEBASE_RETRIEVAL_REASONING_EFFORT low
3737
```
3838

3939
Use `minimal` for the lightest planning, `low` for additional query expansion, or `medium` for the most exhaustive (and most expensive) retrieval plans.

evals/evaluate_config_multimodal.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"send_text_sources": true,
2424
"send_image_sources": true,
2525
"language": "en",
26-
"use_agentic_knowledgebase": false,
26+
"use_agentic_retrieval": false,
2727
"seed": 1
2828
}
2929
},

evals/results/baseline-ask/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"send_text_sources": true,
2525
"send_image_sources": true,
2626
"language": "en",
27-
"use_agentic_knowledgebase": false,
27+
"use_agentic_retrieval": false,
2828
"seed": 1
2929
}
3030
},

evals/results/baseline-ask/evaluate_parameters.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"send_text_sources": true,
2525
"send_image_sources": true,
2626
"language": "en",
27-
"use_agentic_knowledgebase": false,
27+
"use_agentic_retrieval": false,
2828
"seed": 1
2929
}
3030
},

evals/results/gpt5-emb3l/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"use_gpt4v": false,
2424
"gpt4v_input": "textAndImages",
2525
"language": "en",
26-
"use_agentic_knowledgebase": false,
26+
"use_agentic_retrieval": false,
2727
"seed": 1
2828
}
2929
},

evals/results/gpt5-emb3l/evaluate_parameters.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"use_gpt4v": false,
2424
"gpt4v_input": "textAndImages",
2525
"language": "en",
26-
"use_agentic_knowledgebase": false,
26+
"use_agentic_retrieval": false,
2727
"seed": 1
2828
}
2929
},

evals/results/gpt5mini-emb3l-2/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"use_gpt4v": false,
2424
"gpt4v_input": "textAndImages",
2525
"language": "en",
26-
"use_agentic_knowledgebase": false,
26+
"use_agentic_retrieval": false,
2727
"seed": 1
2828
}
2929
},

evals/results/gpt5mini-emb3l-2/evaluate_parameters.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"use_gpt4v": false,
2424
"gpt4v_input": "textAndImages",
2525
"language": "en",
26-
"use_agentic_knowledgebase": false,
26+
"use_agentic_retrieval": false,
2727
"seed": 1
2828
}
2929
},

evals/results/gpt5mini-emb3l/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"use_gpt4v": false,
2424
"gpt4v_input": "textAndImages",
2525
"language": "en",
26-
"use_agentic_knowledgebase": false,
26+
"use_agentic_retrieval": false,
2727
"seed": 1
2828
}
2929
},

0 commit comments

Comments
 (0)