Skip to content

Commit

Permalink
Bumps requirements to allow new deployments (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
Phuurl authored Mar 24, 2024
1 parent d977bff commit d1eefa7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion functions/PostHandler/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def main(msg: func.QueueMessage) -> None:
summarise_client = create_client()
poller = summarise_client.begin_analyze_actions(
documents=[article["text"]],
actions=[textanalytics.ExtractSummaryAction(max_sentance_count=3)])
actions=[textanalytics.ExtractiveSummaryAction(max_sentance_count=3)])

summarise_results = poller.result()
for result in summarise_results:
Expand Down
9 changes: 5 additions & 4 deletions functions/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
# Manually managing azure-functions-worker may cause unexpected issues

azure-functions
azure-core

azure-ai-textanalytics~=5.2.0b4
azure-data-tables~=12.3.0
azure-storage-queue~=12.2.0
azure-ai-textanalytics~=5.3.0
azure-data-tables~=12.5.0
azure-storage-queue~=12.9.0
beautifulsoup4~=4.11.1
feedparser~=6.0.8
requests~=2.27.1
requests~=2.27.1
2 changes: 1 addition & 1 deletion pulumi/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pulumi>=3.0.0,<4.0.0
pulumi-azure-native>=1.0.0,<2.0.0
pulumi-azure-native>=2.0.0,<3.0.0

0 comments on commit d1eefa7

Please sign in to comment.