
AI Text Summarize Assistant
Pricing
Pay per event

AI Text Summarize Assistant
Your personnal AI text assistant. Help you with Text analysis, Sentiment analysis, Answer a Question based on text, and summarize text and/or conversation. Scale your news article analysis and improve your customer relationship management
0.0 (0)
Pricing
Pay per event
1
Total users
2
Monthly users
2
Runs succeeded
>99%
Last modified
20 hours ago
You can access the AI Text Summarize Assistant programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
1import { ApifyClient } from 'apify-client';2
3// Initialize the ApifyClient with your Apify API token4// Replace the '<YOUR_API_TOKEN>' with your token5const client = new ApifyClient({6 token: '<YOUR_API_TOKEN>',7});8
9// Prepare Actor input10const input = {11 "document_phrases": "I heard really bad reviews about this product. But i am not sure that they are objectives reviews. So we are testing it right now because i think it is great even if the price is too high because the team is great.",12 "document_pii": "My name is Mateo Gomez and I visited Contoso Restaurant with my spouse for our anniversary on Thursday of last week. Prior to my visit, I had heard great things about your food and service from my neighbors, as I actually live right down the street from you at 1234 Hollywood Boulevard. After a lovely stroll along the Santa Monica Pier, we decided to go for dinner at a place we heard so many good things about. When we got to the restaurant last Thursday, we had to wait for 15 minutes just to get on the waiting list. After an hour of waiting to be seated, we ordered two Surf and turf platters. To our absolute surprise, the food was very cold and dry. The whole experience was just quite awful, and I feel like we are owed a refund and an apology for that day. I would appreciate it if you could call me on my number 949-555-0110",13 "document_named": "My name is Mateo Gomez and I visited Contoso Restaurant with my spouse for our anniversary on Thursday of last week. Prior to my visit, I had heard great things about your food and service from my neighbors, as I actually live right down the street from you at 1234 Hollywood Boulevard. After a lovely stroll along the Santa Monica Pier, we decided to go for dinner at a place we heard so many good things about. When we got to the restaurant last Thursday, we had to wait for 15 minutes just to get on the waiting list. After an hour of waiting to be seated, we ordered two Surf and turf platters. To our absolute surprise, the food was very cold and dry. The whole experience was just quite awful, and I feel like we are owed a refund and an apology for that day. I would appreciate it if you could call me on my number 949-555-0110.",14 "document_sentiment": "I heard really bad reviews about this product. But i am not sure that they are objectives reviews. So we are testing it right now because i think it is great even if the price is too high because the team is great.",15 "question_qa": "Who founded Microsoft ?",16 "document_qa": "Microsoft was founded by Bill Gates and Paul Allen in 1975.",17 "document_text_summarize": "Microsoft Corporation is an American multinational technology corporation headquartered in Redmond, Washington. Microsoft was founded by Bill Gates and Paul Allen on April 4, 1975, to develop and sell BASIC interpreters for the Altair 8800. It rose to dominate the personal computer operating system market with MS-DOS in the mid-1980s, followed by Microsoft Windows. The company's 1986 initial public offering (IPO), and subsequent rise in its share price, created three billionaires and an estimated 12,000 millionaires among Microsoft employees.",18 "list_conv": [19 {20 "speaker": "Customer",21 "text": "Hi, I need help with my order."22 },23 {24 "speaker": "Agent",25 "text": "Sure, can you provide your order ID?"26 },27 {28 "speaker": "Customer",29 "text": "It's 12345."30 },31 {32 "speaker": "Agent",33 "text": "Thank you. I see that your order is delayed. I will expedite it for you."34 },35 {36 "speaker": "Customer",37 "text": "Thanks a lot!"38 }39 ]40};41
42// Run the Actor and wait for it to finish43const run = await client.actor("saswave/ai-text-summarize-assistant").call(input);44
45// Fetch and print Actor results from the run's dataset (if any)46console.log('Results from dataset');47console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);48const { items } = await client.dataset(run.defaultDatasetId).listItems();49items.forEach((item) => {50 console.dir(item);51});52
53// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
AI Text Summarize Assistant API in JavaScript
The Apify API client for JavaScript is the official library that allows you to use AI Text Summarize Assistant API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.
Install the apify-client
$npm install apify-client
Other API clients include: