Skip to content

Conversation

@pamelafox
Copy link
Collaborator

Purpose

The azure-functions package was accidentally removed from requirements.in in PR #2835. This package is required because the Azure Function apps (document_extractor, figure_processor, text_processor) reuse the backend's requirements.txt via the copy_prepdocslib.py script, and they need the azure-functions package for the Azure Functions runtime (import azure.functions as func).

Does this introduce a breaking change?

[ ] Yes
[x] No

Does this require changes to learn.microsoft.com docs?

[ ] Yes
[x] No

Type of change

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

Code quality checklist

See CONTRIBUTING.md for more details.

  • The current tests all pass (python -m pytest).
  • I added tests that prove my fix is effective or that my feature works
  • I ran python -m pytest --cov to verify 100% coverage of added lines
  • I ran python -m mypy to check for type errors
  • I either used the pre-commit hooks or ran ruff and black manually on my code.

pamelafox and others added 4 commits December 5, 2025 21:31
Remove the Ask/Q&A tab from the application as it was not widely used
and duplicated functionality available in the Chat tab.

Changes:
- Remove Ask page frontend components (Ask.tsx, Ask.module.css)
- Remove RetrieveThenReadApproach backend class
- Remove /ask API endpoint
- Remove Ask-related tests and snapshots
- Update documentation to reflect removal
- Update all translation files
- Update evaluation configs

Fixes Azure-Samples#2834
The azure-functions package was accidentally removed from requirements.in
in PR Azure-Samples#2835. This package is needed because the function apps (document_extractor,
figure_processor, text_processor) use the same requirements.txt via the
copy_prepdocslib.py script, and they require azure-functions for the
Azure Functions runtime.
@pamelafox pamelafox closed this Jan 9, 2026
@pamelafox pamelafox deleted the fix/restore-azure-functions-dependency branch January 9, 2026 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant