This is the official client for the apollo.ai API. Currently, only the autoabstract endpoint is supported. Support for the clustering and the pdf segmentation endpoints are planned.
To use this api, an API key is mandatory and can be requested via our contact form.
npm i apollo-ai-api-client
import { ApolloAiClient, IAutoAbstractResponse } from 'apollo-ai-api-client';
const apolloClient = new ApolloAiClient('your apollo API key');
const result: IAutoAbstractResponse = await apolloClient.autoabstract(headline, text, maxCharacters, keywords);