You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+1-4Lines changed: 1 addition & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,6 @@ If necessary, edit this file to ensure it accurately reflects the current state
17
17
* app/backend/approaches/prompts/chat_query_rewrite.prompty: Prompt used to rewrite the query based off search history into a better search query
18
18
* app/backend/approaches/prompts/chat_query_rewrite_tools.json: Tools used by the query rewriting prompt
19
19
* 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.
21
20
* app/backend/prepdocslib: Contains the document ingestion library used by both local and cloud ingestion
22
21
* app/backend/prepdocslib/blobmanager.py: Manages uploads to Azure Blob Storage
23
22
* 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
35
34
* app/backend/prepdocslib/parser.py: Base parser interface
36
35
* app/backend/prepdocslib/pdfparser.py: Parses PDFs using Azure Document Intelligence or local parser
37
36
* 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.
40
37
* app/backend/prepdocslib/servicesetup.py: Shared service setup helpers for OpenAI, embeddings, blob storage, etc.
41
38
* app/backend/prepdocslib/strategy.py: Base strategy interface for document ingestion
42
39
* app/backend/prepdocslib/textparser.py: Parses plain text and markdown files
43
40
* app/backend/prepdocslib/textprocessor.py: Processes text chunks for cloud ingestion (merges figures, generates embeddings)
44
41
* 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.
46
43
* 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.
47
44
* app/frontend: Contains the React frontend code, built with TypeScript, built with vite.
48
45
* app/frontend/src/api: Contains the API client code for communicating with the backend.
Use `minimal` for the lightest planning, `low` for additional query expansion, or `medium` for the most exhaustive (and most expensive) retrieval plans.
0 commit comments