From 5da0297642e37a2a9e7bf1bda35c6e89c1374974 Mon Sep 17 00:00:00 2001 From: Joshua Lochner Date: Wed, 3 Jan 2024 20:37:08 +0200 Subject: [PATCH] Fix typo (#498) --- src/pipelines.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pipelines.js b/src/pipelines.js index 8b5e2d0f5..398e1f096 100644 --- a/src/pipelines.js +++ b/src/pipelines.js @@ -442,7 +442,7 @@ export class TokenClassificationPipeline extends (/** @type {new (options: TextP * @callback QuestionAnsweringPipelineCallback Answer the question(s) given as inputs by using the context(s). * @param {string|string[]} question One or several question(s) (must be used in conjunction with the `context` argument). * @param {string|string[]} context One or several context(s) associated with the question(s) (must be used in conjunction with the `question` argument). - * @param {TokenClassificationPipelineOptions} [options] The options to use for question answering. + * @param {QuestionAnsweringPipelineOptions} [options] The options to use for question answering. * @returns {Promise} An array or object containing the predicted answers and scores. */