Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

apollo-ai-api-client

Package Overview
Dependencies
Maintainers
4
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-ai-api-client - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

25

lib/apollo.ai/ApolloAiClient.d.ts

@@ -14,2 +14,7 @@ export interface IAutoAbstractResponse {

}
export interface IContinuousClusteringResponse {
status: number;
message: string;
data: IClusteringArticle[][];
}
export interface IClusteringArticle {

@@ -35,3 +40,3 @@ identifier: string;

}
export interface IContinuesClusteringOptions {
export interface IContinuousClusteringOptions {
abstractMaxChars?: number;

@@ -42,8 +47,13 @@ keywords?: string[];

}
export interface IContinuesClusteringInput {
newArticles: IArticle[] | string[];
result?: IContinuesClusteringResultItem[];
options?: IContinuesClusteringOptions;
export interface IContinuousClustering {
newArticles?: IArticle[] | string[];
result?: IContinuousClusteringResultItem[];
}
export interface IContinuesClusteringResultItem {
export interface IContinuousClusteringInput extends IContinuousClustering {
options?: IContinuousClusteringOptions;
}
export interface IContinuousClusteringResponse extends IContinuousClustering {
invalidArticles: Array<string | IArticle>;
}
export interface IContinuousClusteringResultItem {
article: IArticle;

@@ -65,2 +75,3 @@ related: string[];

autoAbstractEndpoint: string;
debug: boolean;
combinedApiEndpoint: string;

@@ -72,3 +83,3 @@ constructor(apiKey: string);

clustering(articles: IClusteringArticle[], threshold?: number, language?: ClusteringLanguage): Promise<IClusteringResponse[]>;
continuedClustering(newArticles: IArticle[] | string[], presentArticles?: IContinuesClusteringResultItem[], options?: IContinuesClusteringOptions): Promise<IClusteringResponse[]>;
continuedClustering(newArticles: IArticle[] | string[], presentArticles?: IContinuousClusteringResultItem[], options?: IContinuousClusteringOptions): Promise<IContinuousClusteringResponse>;
}

@@ -16,2 +16,3 @@ "use strict";

this.autoAbstractEndpoint = 'autoabstract';
this.debug = false;
this.combinedApiEndpoint = 'combinedapi';

@@ -18,0 +19,0 @@ }

{
"name": "apollo-ai-api-client",
"version": "0.2.0",
"version": "0.2.1",
"description": "Client for the apollo.ai auto abstract api.",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc