apollo-ai-api-client
v0.2.6
Published
Client for the apollo.ai auto abstract api.
Downloads
17
Readme
apollo-ai-api-client
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.
Installation
npm i apollo-ai-api-client
Importing with typescript
import { ApolloAiClient, IAutoAbstractResponse } from 'apollo-ai-api-client';
Usage of the apollo.ai autoabstract api
const apolloClient = new ApolloAiClient('your apollo API key');
const result: IAutoAbstractResponse = await apolloClient.autoabstract(headline, text, maxCharacters, keywords);