UNPKG

@emergentmethods/asknews-typescript-sdk

Version:
81 lines (80 loc) 2.32 kB
/** * AskNews API * AskNews API * * The version of the OpenAPI document: 0.21.1 * 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 {{ [key: string]: any; }} * @memberof BodyBuildGraph */ filterParams?: { [key: string]: any; } | null; /** * * @type {Array<{ [key: string]: any; } | null>} * @memberof BodyBuildGraph */ constrainedDisambiguations?: Array<{ [key: string]: any; } | null> | null; /** * * @type {Array<{ [key: string]: any; }>} * @memberof BodyBuildGraph */ docsUpload?: Array<{ [key: string]: any; }> | null; /** * * @type {string} * @memberof BodyBuildGraph */ visualizeWith?: string | null; } /** * Check if a given object implements the BodyBuildGraph interface. */ export declare function instanceOfBodyBuildGraph(value: object): value is BodyBuildGraph; export declare function BodyBuildGraphFromJSON(json: any): BodyBuildGraph; export declare function BodyBuildGraphFromJSONTyped(json: any, ignoreDiscriminator: boolean): BodyBuildGraph; export declare function BodyBuildGraphToJSON(json: any): BodyBuildGraph; export declare function BodyBuildGraphToJSONTyped(value?: BodyBuildGraph | null, ignoreDiscriminator?: boolean): any;