Recently, I have been using Azure AI cognitive services to summarize text using document summarization and conversation summarization of it. But the summary length using both document summarization and conversation summarization is very less.
Increase summary length using MS Azure-AI services
118 Views Asked by JaS At
1
There are 1 best solutions below
Related Questions in AZURE-LANGUAGE-UNDERSTANDING
- How to enable cross-language query search in Azure Cognitive Search with Ada Embeddings?
- Azure Bot using Language Service what's the preferred method
- Increase summary length using MS Azure-AI services
- How can we enable private endpoint for Pay as you go Model Endpoints in Azure AI
- Trouble Building a PromptFlow Custom AI Connection to Azure Language AI Service
- Keyword generation from product names
- The resource type 'locations/operationResults' could not be found in the namespace 'Microsoft.CognitiveServices' for api version '2023-08-01-preview'
- Resource not found(error 404) in Azure AI Language Understanding app
- How to implement CLU (conversational language understanding) in Bot Framework Composer?
- How to get the intent using the CLU instead of using LUIS
- Microsoft.CluRecognizer not registered in factory
- Maintain previous context Azure Custom Question and Answering C# for BOT
- Creating QnA Chatbot on Azure
- What's the best way to set up the AAD directory as a data source for Language Studio?
- Azure custom question and answering service "create bot" button doesn't work
Related Questions in SUMMARIZATION
- Getting an error while using the open ai api to summarize news atricles
- Runtime error: mat1 and mat2 shapes cannot be multiplied (400x201 and 400x 200)
- Error processing row 1: TypeError: openai.createCompletion is not a function
- How do non-LLM models compare to LLMs for Abstractive Summaries of HTML content?
- Increase summary length using MS Azure-AI services
- NLP - make summarization from each subtitle
- How to Find Positional embeddings from BARTTokenizer?
- Error summarizing batch x: 'numpy.int32' object is not callable
- Summarization and Topic Extraction with LLMs (private) and LangChain or LlamaIndex using flan-t5-small
- creating an encoder-decoder LSTM model for text samarization in tensorflow
- Separate data and text from one cell to provide a duration with a summary
- Max Length error while using Huggingface Transformer model for SHAP Explanation
- How can I use Refine and MapReduce summarisation with multiple variables?
- speed up PyTextRank for summarizing a document
- Stack size errors on fine tunning t5 with xsum using pytorch
Related Questions in AZURE-AI
- Azure AI Speech Service - No punctuation on Recognized return
- Can't embed with model in Azure AI Studio
- Azure AI Search sample index for .msg email files
- Azure Speech Services start_continuous_recognition() is not letting streamlit st.write() the recognized text
- Incorrect index value and original index value for content moderator API?
- Uploading documents to Azure AI search
- How to use Managed Identity for a Python application which uses an Azure AI service?
- Does it take time between when a service principal is created and when it can be used?
- Can't configure a regional API endpoint for AzureOpenAIEmbeddingSkill
- How to Enrich a Custom Extraction Model with Multiple Datasets
- Correct documentation of language detection in Azure AI
- Invalid Authentication Token Once Creating a Content Filter on Microsoft Azure AI Studio
- is Azure SDK for Document Intelligence .NET support analyzing multiple pages with my custom models?
- Increase summary length using MS Azure-AI services
- Azure Machine Learning SDK V2 changer version of python in Compute Cluster
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
According to the documentation, you can give a maximum sentence length of 20 for a summary.
If you want to get a summary with more than 20 sentences, you can split your document and summarize it.
Example: If your document length is long, split it based on the topic or according to your requirements, then summarize it.
Below is the document I have with a length of
4779.Next, split it and summarize it.
Here, I am using the Python SDK to perform an extractive summary.
Code:
Output before chunking the document.
You can see a maximum of 20 sentences.
Output After chunking.
Code for chunking.
Here, I am chunking with a length of 1000.
Now, if you add those lengths, you will get
25sentences.With the help of chunking, you can increase the summary length.
Note: I just used indexing for chunking, but in your case, you should do chunking that makes sense for your document, like topic-wise splitting the document.