Issues

  • No Summary Generated

    Hello, I passed the following url "https://www.moneycontrol.com/news/market-edge/bank-npas-fall-by-rs-21548-crq1-provisions-drop-rs-63734-crmay-stay-elevated-for-few-more-quarters_11290761.html" to NLP summarize and no summary was generated PFB Response {"code":200,"url":"https:\/\/api.agolo.com\/nlp\/v0.2\/summarize","body":{"title":"Bank NPAs fall by Rs 21,548 cr in Q1; provisions drop Rs 63,734 cr but may stay elevated for few more quarters","title_candidates":[],"photos":["https:\/\/static-news.moneycontrol.com\/static-mcnews\/2018\/07\/accounting-balance-banking-770x433.jpg"],"summary":[]}}

    Status: Proposed | Reported by Hidden Mon, 13 Aug 2018 04:40:05 GMT
  • Document Summarizing Issue

    I am using Agolo API to summarize the web pages. The API is just pulling few sentences from the whole content and displaying as the results. The API is not actually summarizing the thing. I started using this API because I understood that Agolo API has importance in summarizing the content. Request for your help as soon as possible.

    Status: Proposed | Reported by Hidden Mon, 26 Mar 2018 13:44:24 GMT
  • Parse PDF Documents

    How should I parse the PDF documents. I am getting all null attributes when I give the URL of a pdf. Where else if I pass a HTML document, the api successfully retrieves the attributes. ####code import http.client import urllib.parse import urllib.request import urllib.parse import urllib.error import base64 import json headers = { # Request headers 'Content-Type': 'application/json', 'Ocp-Apim-Subscription-Key': '----KEY----', } # headers = json.dumps(headers) params = urllib.parse.urlencode({}) print("########",params) data = { "summary_length": 5, "articles": [ { "type": "article", "url": "https://www.craig.csufresno.edu/sif/Reports/Amazon-Thomas%20Eble.pdf" } ] } try: conn = http.client.HTTPSConnection("api.agolo.com") conn.request("POST", "/nlp/v0.2/summarize?%s" % params, body=json.dumps(data), headers=headers) response = conn.getresponse() data = response.read() print(data) conn.close() except Exception as e: print("[Errno {0}] {1}".format(e.errno, e.strerror))

    Status: Proposed | Reported by Hidden Sat, 10 Mar 2018 09:47:12 GMT
  • Access denied issue

    Hi there, I got my subscription key today, When I tried to use it in python. I got access denied message. Can you please help here? Here is the code ########### Python 3.2 ############# import http.client, urllib.request, urllib.parse, urllib.error, base64 headers = { # Request headers 'Content-Type': 'application/json', 'Ocp-Apim-Subscription-Key': '{"f614ddd2dcf54afdb1e1abeb9c27d335"}', } params = urllib.parse.urlencode({ }) try: conn = http.client.HTTPSConnection('api.agolo.com') conn.request("POST", "/nlp/v0.2/summarize?%s" % params, "{body}", headers) response = conn.getresponse() data = response.read() print(data) conn.close() except Exception as e: print("[Errno {0}] {1}".format(e.errno, e.strerror)) #################################### Output is - b'{ "statusCode": 401, "message": "Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription." }' If I use my subscription code without curly brackets 'Ocp-Apim-Subscription-Key': 'f614ddd2dcf54afdb1e1abeb9c27d335', Then I am getting error as b'{"statusCode":500,"message":"Unexpected character (\'b\' (code 98)): was expecting double-quote to start field name\\n at [Source: org.apache.catalina.connector.CoyoteInputStream@148b9a1a; line: 1, column: 3]"}'

    Status: Open | Reported by Hidden Thu, 11 Jan 2018 13:21:45 GMT
  • Response: Photos array/titles

    I did request with 5 articles i got the following response: { "summary": [ { "metadata": { "icon": "http://f.blick.ch/resources/BLICK_20160808/ver1-0/img/icon-128-precomposed.png", "source": "www.blick.ch", "url": "http://www.blick.ch/news/ausland/der-naechste-aussetzer-fuer-trump-ist-obama-der-gruender-des-is-id5367703.html" }, "sentences": [ "Kaum ein Tag ohne eine kontroverse Äusserung von Donald Trump: Nun hat der republikanische Präsidentschaftskandidat dem US-Präsidenten Barack Obama vorgeworfen, die Terrormiliz des so genannten Islamischen Staates (IS) gegründet zu haben.", "«Er ist der Gründer des IS», sagte Trump heute bei einem Wahlkampfauftritt in Florida und wiederholte den Vorwurf mehrmals." ], "ranks": [ 3, 2 ] }, { "metadata": { "icon": "http://www.welt.de/favicon.ico", "source": "www.welt.de", "url": "http://www.welt.de/finanzen/article157600119/Fuer-Nicht-Beamte-wird-die-PKV-zum-finanziellen-Risiko.html" }, "sentences": [ "Wenn es in den kommenden Jahren dann jedoch dazu kommt, werden diese besonders drastisch ausfallen." ], "ranks": [ 4 ] }, { "metadata": { "icon": "http://www.welt.de/favicon.ico", "source": "www.welt.de", "url": "http://www.welt.de/politik/ausland/article157611673/Poroschenko-versetzt-Truppen-in-Alarmbereitschaft.html" }, "sentences": [ "Der ukrainische Präsident Petro Poroschenko hat die Soldaten an der faktischen Grenze zu der von Russland annektierten Schwarzmeerhalbinsel Krim und zur Ostukraine in Kampfbereitschaft versetzt." ], "ranks": [ 1 ] }, { "metadata": { "icon": "http://www.welt.de/favicon.ico", "source": "www.welt.de", "url": "http://www.welt.de/wirtschaft/article157618298/Suedkorea-baut-Toetungs-Kette-mit-deutschen-Taurus-Bomben.html" }, "sentences": [ "Weil auch die an Deutschland ausgelieferten Taurus überholt und modernisiert werden, habe die Firma einen Auftragsbestand bis in das Jahr 2020." ], "ranks": [ 5 ] } ], "title": "Der nächste Aussetzer: Für Trump ist Obama der «Gründer des IS", "photos": [ "http://f1.blick.ch/img/incoming/crop5367699/0656021517-csquare-w300-h300/imago-st-0811-09070020-72818119.jpg", "http://f1.blick.ch/img/incoming/crop5368332/1006028789-csquare-w300-h300/20151130135811849.jpg", "http://img.welt.de/img/finanzen/crop157618025/6806933465-ci3x2l-w900/doctor-examing-woman-s-stomach-with-stethoscope.jpg", "http://img.welt.de/img/ausland/crop157614412/9696932760-ci3x2l-w900/urn-newsml-dpa-com-20090101-160407-99-493992-large-4-3.jpg", "http://img.welt.de/img/wirtschaft/crop157618296/9076933829-ci3x2l-w900/Cruise-Missile.jpg" ] } There is only one title. Is the order of the images guaranted ? photos[0] will always match the first summary? Thank you!

    Status: Proposed | Reported by Hidden Thu, 11 Aug 2016 15:41:57 GMT
  • Planned pricing

    Hello! I am here due to Fast-Forward Labs article. I know the developers portal is new but is there a planned price list yet?

    Status: Proposed | Reported by Hidden Wed, 27 Apr 2016 19:46:09 GMT

You're not signed in. Please sign-in to report an issue or post a comment.