@huggingface/inference
Version:
Typescript client for the Hugging Face Inference Providers and Inference Endpoints
8 lines • 521 B
TypeScript
import type { QuestionAnsweringInput, QuestionAnsweringOutput } from "@huggingface/tasks";
import type { BaseArgs, Options } from "../../types";
export type QuestionAnsweringArgs = BaseArgs & QuestionAnsweringInput;
/**
* Want to have a nice know-it-all bot that can answer any question?. Recommended model: deepset/roberta-base-squad2
*/
export declare function questionAnswering(args: QuestionAnsweringArgs, options?: Options): Promise<QuestionAnsweringOutput[number]>;
//# sourceMappingURL=questionAnswering.d.ts.map