Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TextAnalytics] Added sample for Extractive Text Summarization #23097

Merged

Conversation

kinelski
Copy link
Member

@kinelski kinelski commented Aug 4, 2021

Fixes #22941.

@kinelski kinelski added the Client This issue points to a problem in the data-plane of the library. label Aug 4, 2021
@kinelski kinelski self-assigned this Aug 4, 2021
Get a summary for the input documents by extracting their most relevant sentences. Note that this API can only be used as part of an [Analyze Operation](#run-multiple-actions-asynchronously).

```C# Snippet:TextAnalyticsExtractSummaryConvenienceAsyncAll
// Get input document.
Copy link
Member Author

@kinelski kinelski Aug 4, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding monster-size input I stole from JS. Running this API for long documents seems more appropriate.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Def a nit: I think we can achieve the same goal with a smaller doc. No? maybe remove some paragraphs? at least for the mean Readme. it just looks weird.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Created #23105 for tracking.

@kinelski kinelski marked this pull request as ready for review August 4, 2021 15:46
Get a summary for the input documents by extracting their most relevant sentences. Note that this API can only be used as part of an [Analyze Operation](#run-multiple-actions-asynchronously).

```C# Snippet:TextAnalyticsExtractSummaryConvenienceAsyncAll
// Get input document.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Def a nit: I think we can achieve the same goal with a smaller doc. No? maybe remove some paragraphs? at least for the mean Readme. it just looks weird.

sdk/textanalytics/Azure.AI.TextAnalytics/README.md Outdated Show resolved Hide resolved
sdk/textanalytics/Azure.AI.TextAnalytics/README.md Outdated Show resolved Hide resolved
@kinelski kinelski requested a review from maririos August 4, 2021 19:06
@kinelski kinelski merged commit 3f0c96b into Azure:feature/textanalytics/summarization Aug 4, 2021
@kinelski kinelski deleted the ta-sample branch August 4, 2021 19:56
kinelski added a commit that referenced this pull request Aug 4, 2021
…23109)

* [TextAnalytics] Generating code from 3.2-preview.1 swagger (#22774)

* [TextAnalytics] Implemented ExtractiveSummarization input (#22791)

Co-authored-by: Mariana Rios Flores <[email protected]>

* [TextAnalytics] Added DisableServiceLogs property to ExtractSummaryAction (#22803)

* [TextAnalytics] Remaining Extractive Text Summarization implementation work (#22841)

Co-authored-by: Deyaaeldeen Almahallawi <[email protected]>

* [TextAnalytics] Added model factory for extractive summarization models (#22873)

* [TextAnalytics] SummarySentece is now a struct (#22915)

* [TextAnalytics] Recording old tests with service version 3.2-preview.1 (#23078)

* [TextAnalytics] Added sample for Extractive Text Summarization (#23097)

Co-authored-by: Mariana Rios Flores <[email protected]>
Co-authored-by: Deyaaeldeen Almahallawi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client This issue points to a problem in the data-plane of the library. Cognitive - Text Analytics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants