@emergentmethods/asknews-typescript-sdk
Version:
Typescript SDK for AskNews API
74 lines (73 loc) • 2.02 kB
TypeScript
/**
* AskNews API
* AskNews API
*
* The version of the OpenAPI document: 0.18.6
* Contact: contact@emergentmethods.ai
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface BodyBuildGraph
*/
export interface BodyBuildGraph {
/**
* Query string that can be any phrase, keyword, question, or paragraph. If method='nl', then this will be used as a natural language query. If method='kw', then this will be used as a direct keyword query.
* @type {string}
* @memberof BodyBuildGraph
*/
query?: string;
/**
* Whether to return articles or not.
* @type {boolean}
* @memberof BodyBuildGraph
*/
returnArticles?: boolean;
/**
* Minimum cluster probability to use for disambiguation
* @type {number}
* @memberof BodyBuildGraph
*/
minClusterProbability?: number;
/**
* Whether to use geo disambiguation or not.
* @type {boolean}
* @memberof BodyBuildGraph
*/
geoDisambiguation?: boolean;
/**
*
* @type {object}
* @memberof BodyBuildGraph
*/
filterParams?: object;
/**
*
* @type {Array<object>}
* @memberof BodyBuildGraph
*/
constrainedDisambiguations?: Array<object>;
/**
*
* @type {Array<object>}
* @memberof BodyBuildGraph
*/
docsUpload?: Array<object>;
/**
*
* @type {string}
* @memberof BodyBuildGraph
*/
visualizeWith?: string;
}
/**
* Check if a given object implements the BodyBuildGraph interface.
*/
export declare function instanceOfBodyBuildGraph(value: object): boolean;
export declare function BodyBuildGraphFromJSON(json: any): BodyBuildGraph;
export declare function BodyBuildGraphFromJSONTyped(json: any, ignoreDiscriminator: boolean): BodyBuildGraph;
export declare function BodyBuildGraphToJSON(value?: BodyBuildGraph | null): any;