(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[382],{4150:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/developers",function(){return t(9484)}])},8438:function(e,n,t){"use strict";t.d(n,{v:function(){return s}});var r=t(5893),i=t(8527),o=t(5193),s=function(){return(0,r.jsx)(i.W2,{maxW:"5xl",children:(0,r.jsxs)(i.Kq,{textAlign:"center",align:"center",spacing:{base:8,md:10},py:{base:20,md:28},children:[(0,r.jsxs)(i.X6,{fontWeight:"black",fontSize:{base:"3xl",sm:"4xl",md:"6xl"},children:["Translate."," ",(0,r.jsxs)(i.xv,{as:"span",color:"#69cfbc",children:["Summarize."," "]}),"Learn."]}),(0,r.jsx)(i.xv,{color:"#545454",maxW:"3xl",children:"RiemannAI is a SaaS designed for text summarization through by using Machine Learning. We provide both users, developers, and students with all of their text summarization tools needed to succeed."}),(0,r.jsx)(i.Kq,{spacing:6,direction:"row",children:(0,r.jsx)(o.zx,{as:"a",href:"/riemann-speech-summarization",rounded:"full",px:6,colorScheme:"orange",bg:"#69cfbc",_hover:{bg:"#39bfa6"},children:"Get started"})})]})})}},404:function(e,n,t){"use strict";t.d(n,{l:function(){return k}});var r=t(5893),i=t(8527),o=t(4651),s=(t(7294),t(7375)),a=t(3854),l=t(2846);function c(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function d(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){c(e,n,t[n])}))}return e}var x=function(e){return(0,r.jsx)(l.m$.a,d({display:"block",textAlign:"center",fontWeight:"bold",py:"5",fontSize:"lg",w:"full",_hover:{bg:"blackAlpha.200"}},e))},h=function(e){return(0,r.jsx)(l.m$.a,d({display:"flex",alignItems:"center",justifyContent:"center",borderBottom:"2px",borderColor:"transparent",transition:"all 0.2s",fontSize:"lg",color:"dark"===e.mode?"gray.100":"gray.700",fontWeight:"semibold"},e))},u=t(8970);function f(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var m=(0,u.E)(l.m$.ul),g=function(e){return(0,r.jsx)(m,function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){f(e,n,t[n])}))}return e}({opacity:"0",initial:"init",variants:p},e))},p={init:{opacity:0,y:-4,display:"none",transition:{duration:0}},enter:{opacity:1,y:0,display:"block",transition:{duration:.15,staggerChildren:.1}},exit:{opacity:0,y:-4,transition:{duration:.1},transitionEnd:{display:"none"}}};function j(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var b=(0,u.E)(l.m$.li),y=function(e){return(0,r.jsx)(b,function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){j(e,n,t[n])}))}return e}({variants:v},e))},v={exit:{opacity:0,y:4},enter:{opacity:1,y:0,transition:{duration:.3}}};function S(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function O(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){S(e,n,t[n])}))}return e}var w=[{label:"Speech",href:"/riemann-speech-summarization"},{label:"Extractive",href:"/extractive-summarization"},{label:"Abstractive",href:"/abstractive-summarization"},{label:"Developers",href:"/developers"}],z=function(e){var n=(0,s.qY)(),t=n.isOpen,o=n.onToggle;return(0,r.jsxs)(i.xu,O({},e,{children:[(0,r.jsx)(i.M5,{as:"button",p:"2",fontSize:"2xl",onClick:o,color:"dark"===e.mode?"gray.100":"gray.700",children:t?(0,r.jsx)(a.apv,{}):(0,r.jsx)(a.otZ,{})}),(0,r.jsx)(g,{pos:"absolute",insetX:"0",bg:"white",top:"64px",animate:t?"enter":"exit",children:(0,r.jsxs)(i.Kq,{spacing:"0",children:[w.map((function(e,n){return(0,r.jsx)(y,{children:(0,r.jsx)(x,{href:e.href,children:e.label})},n)})),(0,r.jsx)(y,{style:{flex:"1"}})]})})]}))},E=function(e){return(0,r.jsx)(i.Ug,O({spacing:"8",align:"stretch"},e,{children:w.map((function(n,t){return(0,r.jsx)(h,{href:n.href,_hover:{color:"#69cfbc"},mode:e.mode,children:n.label},t)}))}))},k=function(e){var n=e.bg,t=e.active,s=e.mode;return(0,r.jsx)(i.xu,{bg:n||"white",pt:"1",position:"sticky",top:"0",zIndex:"100",children:(0,r.jsx)(i.xu,{as:"header",height:"16",position:"relative",color:"black.light",children:(0,r.jsx)(i.xu,{height:"100%",px:{base:"8",md:"8"},pe:{base:"8",md:"8"},children:(0,r.jsxs)(i.kC,{as:"nav","aria-label":"Site navigation",align:"center",justify:"space-between",height:"100%",alignItems:"center",children:[(0,r.jsx)(u.E.a,{href:"/",whileHover:{scale:1.1},children:(0,r.jsxs)(i.kC,{align:"center",children:[(0,r.jsx)(o.Ei,{src:"/logo.png",h:"12",display:"inline",mr:"3"}),(0,r.jsxs)(i.xv,{fontSize:"2xl",fontWeight:"black",color:"dark"===s?"white":"gray.700",children:["Riemann",(0,r.jsx)(i.xv,{as:"span",color:"#98DFD2",children:"AI"})]})]})}),(0,r.jsx)(E,{display:{base:"none",md:"flex"},active:t,mode:s}),(0,r.jsx)(z,{display:{base:"flex",md:"none"},mode:s})]})})})})}},9484:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return c}});var r=t(5893),i=t(9008),o=t.n(i),s=(t(8438),t(8527)),a=t(4651),l=t(404);function c(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(o(),{children:[(0,r.jsx)("title",{children:"RiemannAI"}),(0,r.jsx)("meta",{name:"description",content:"Translate, Summarize, and Learn with RiemannAI"}),(0,r.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,r.jsxs)(s.xu,{bg:"black",minH:"100vh",children:[(0,r.jsx)(l.l,{mode:"dark",bg:"black"}),(0,r.jsxs)(s.W2,{maxW:"container.xl",p:4,mt:20,children:[(0,r.jsx)(a.Ei,{src:"/logo.png",h:"24",mx:"auto"}),(0,r.jsx)(s.xu,{children:(0,r.jsxs)(s.X6,{fontWeight:"black",textAlign:"center",color:"#98DFD2",fontSize:{base:"3xl",sm:"4xl",md:"6xl"},children:["RiemannAI"," ",(0,r.jsxs)(s.xv,{as:"span",bgGradient:"linear(to-l, #7928CA, #FF0080)",bgClip:"text",children:["Developers."," "]})]})}),(0,r.jsxs)(s.xu,{mt:24,textAlign:"center",maxW:"700px",mx:"auto",children:[(0,r.jsx)(s.X6,{fontSize:{base:"xl",md:"2xl"},color:"#98DFD2",fontWeight:"black",children:"Our does our API work?"}),(0,r.jsx)(s.xv,{color:"gray.400",fontWeight:400,children:"Whether you are just learning to code, an experienced developer, or a student wanting to create simplified versions of text to read, the RiemannAI API is for you! All endpoints are completely free for any use case. In order for us to continue providing this service, please do not make spam or unnecessarily large numbers of requests to any API endpoint."})]}),(0,r.jsx)(s.xu,{mt:24,children:(0,r.jsxs)(s.MI,{columns:{base:1,lg:2},spacing:8,children:[(0,r.jsxs)(s.xu,{children:[(0,r.jsx)(s.X6,{fontSize:{base:"xl",md:"2xl"},color:"#98DFD2",fontWeight:"black",children:"Extractive Summarization"}),(0,r.jsx)(s.xv,{color:"gray.400",fontWeight:400,children:"We provide an endpoint that allows for extractive summarization. Extractive summarization keeps important sentences and cuts out other ones from the original piece of text."}),(0,r.jsxs)(s.xv,{color:"gray.400",fontWeight:400,children:[(0,r.jsx)("b",{children:"Note:"})," Please use ",(0,r.jsx)(s.EK,{children:"JSON.stringify()"})," before sending data over to this API endpoint. Only english is supported for extractive summarization."]}),(0,r.jsx)(s.EK,{colorScheme:"blue",fontSize:"2xl",mt:4,children:"POST"}),(0,r.jsx)(s.EK,{colorScheme:"blue",fontSize:"2xl",mt:4,ml:4,children:"/api/extractive-summarization"}),(0,r.jsx)(s.xv,{color:"gray.400",fontWeight:400,mt:4,children:(0,r.jsx)("b",{children:"Headers:"})}),(0,r.jsx)(s.QI,{color:"gray.400",children:(0,r.jsxs)(s.HC,{children:[(0,r.jsx)(s.EK,{children:"pKeep"}),": The proportion of sentences to take from the original text for the summary, out of 1."]})}),(0,r.jsx)(s.xv,{color:"gray.400",fontWeight:400,mt:4,children:(0,r.jsx)("b",{children:"Body:"})}),(0,r.jsx)(s.QI,{color:"gray.400",children:(0,r.jsxs)(s.HC,{children:[(0,r.jsx)(s.EK,{children:"origText"}),": The original piece of text."]})})]}),(0,r.jsxs)(s.xu,{children:[(0,r.jsx)(s.xv,{color:"gray.400",fontWeight:400,mt:4,children:(0,r.jsx)("b",{children:"Example:"})}),(0,r.jsx)(s.EK,{whiteSpace:"pre",d:"block",overflowX:"scroll",children:'\nconst options = {\n  method: "POST",\n  headers: {\n    pkeep: pKeep,\n  },\n  body: JSON.stringify({ origText: origText }),\n};\n\nconst resp = await fetch("/api/extractive-summarization", options);\nconst data = await resp.json();\n                      '})]})]})}),(0,r.jsx)(s.xu,{mt:24,children:(0,r.jsxs)(s.MI,{columns:{base:1,lg:2},spacing:8,children:[(0,r.jsxs)(s.xu,{children:[(0,r.jsx)(s.X6,{fontSize:{base:"xl",md:"2xl"},color:"#98DFD2",fontWeight:"black",children:"Abstractive Summarization"}),(0,r.jsx)(s.xv,{color:"gray.400",fontWeight:400,children:"We provide an endpoint that allows for abstractive summarization. Abstractive summarization uses deep learning to understand a piece of text, and returns the desired portions."}),(0,r.jsxs)(s.xv,{color:"gray.400",fontWeight:400,children:[(0,r.jsx)("b",{children:"Note:"})," Please use ",(0,r.jsx)(s.EK,{children:"JSON.stringify()"})," before sending data over to this API endpoint. Only english is supported for abstractive summarization."]}),(0,r.jsx)(s.EK,{colorScheme:"blue",fontSize:"2xl",mt:4,children:"POST"}),(0,r.jsx)(s.EK,{colorScheme:"blue",fontSize:"2xl",mt:4,ml:4,children:"/api/abstractive-summarization"}),(0,r.jsx)(s.xv,{color:"gray.400",fontWeight:400,mt:4,children:(0,r.jsx)("b",{children:"Body:"})}),(0,r.jsxs)(s.QI,{color:"gray.400",children:[(0,r.jsxs)(s.HC,{children:[(0,r.jsx)(s.EK,{children:"origText"}),": The original piece of text."]}),(0,r.jsxs)(s.HC,{children:[(0,r.jsx)(s.EK,{children:"numBullets"}),": The number of bullet points to return in the summary."]}),(0,r.jsxs)(s.HC,{children:[(0,r.jsx)(s.EK,{children:"question"}),': The question you want to ask the API. Use "N/A" if not desired.']})]})]}),(0,r.jsxs)(s.xu,{children:[(0,r.jsx)(s.xv,{color:"gray.400",fontWeight:400,mt:4,children:(0,r.jsx)("b",{children:"Example:"})}),(0,r.jsx)(s.EK,{whiteSpace:"pre",d:"block",overflowX:"scroll",children:'\nconst options = {\n  method: "POST",\n  body: JSON.stringify({\n    origText,\n    question: useQ,\n    numBullets,\n  }),\n};\n\nconst resp = await fetch("/api/abstractive-summarization", options);\nconst data = await resp.json();\n                      '})]})]})}),(0,r.jsx)(s.xu,{mt:24,children:(0,r.jsxs)(s.MI,{columns:{base:1,lg:2},spacing:8,children:[(0,r.jsxs)(s.xu,{children:[(0,r.jsx)(s.X6,{fontSize:{base:"xl",md:"2xl"},color:"#98DFD2",fontWeight:"black",children:"Multiple Language Summarization"}),(0,r.jsxs)(s.xv,{color:"gray.400",fontWeight:400,children:["We provide an endpoint that allows for extractive summarization in different languages. For a list of supported languages, please visit"," ",(0,r.jsx)(s.rU,{href:"https://docs.microsoft.com/en-us/azure/cognitive-services/language-service/summarization/language-support?tabs=document-summarization",color:"blue.300",isExternal:!0,children:"Azure's documenation"}),"."]}),(0,r.jsxs)(s.xv,{color:"gray.400",fontWeight:400,children:[(0,r.jsx)("b",{children:"Note:"})," Please use ",(0,r.jsx)(s.EK,{children:"JSON.stringify()"})," before sending data over to this API endpoint."]}),(0,r.jsx)(s.EK,{colorScheme:"blue",fontSize:"2xl",mt:4,children:"POST"}),(0,r.jsx)(s.EK,{colorScheme:"blue",fontSize:"2xl",mt:4,ml:4,children:"/api/lang-summarization"}),(0,r.jsx)(s.xv,{color:"gray.400",fontWeight:400,mt:4,children:(0,r.jsx)("b",{children:"Headers:"})}),(0,r.jsx)(s.QI,{color:"gray.400",children:(0,r.jsxs)(s.HC,{children:[(0,r.jsx)(s.EK,{children:"lang"}),": The language code of the input text. For a list of available languages, please visit the above link to Azure's documenation."]})}),(0,r.jsx)(s.xv,{color:"gray.400",fontWeight:400,mt:4,children:(0,r.jsx)("b",{children:"Body:"})}),(0,r.jsx)(s.QI,{color:"gray.400",children:(0,r.jsxs)(s.HC,{children:[(0,r.jsx)(s.EK,{children:"origText"}),": The original piece of text in any supported language."]})})]}),(0,r.jsxs)(s.xu,{children:[(0,r.jsx)(s.xv,{color:"gray.400",fontWeight:400,mt:4,children:(0,r.jsx)("b",{children:"Example:"})}),(0,r.jsx)(s.EK,{whiteSpace:"pre",d:"block",overflowX:"scroll",children:'\nconst options = {\n  method: "POST",\n  headers: {\n    lang: "en",\n  },\n  body: JSON.stringify({ origText: origText }),\n};\n\nconst resp = await fetch("/api/lang-summarization", options);\nconst data = await resp.json();\n                      '})]})]})})]})]})]})}}},function(e){e.O(0,[556,74,774,888,179],(function(){return n=4150,e(e.s=n);var n}));var n=e.O();_N_E=n}]);