Skip to content
This repository has been archived by the owner on Apr 30, 2023. It is now read-only.

Latest commit

 

History

History
24 lines (16 loc) · 763 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 763 Bytes

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);