You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @callback QuestionAnsweringPipelineCallback Answer the question(s) given as inputs by using the context(s).
443
443
* @param {string|string[]} question One or several question(s) (must be used in conjunction with the `context` argument).
444
444
* @param {string|string[]} context One or several context(s) associated with the question(s) (must be used in conjunction with the `question` argument).
445
-
* @param {TokenClassificationPipelineOptions} [options] The options to use for question answering.
445
+
* @param {QuestionAnsweringPipelineOptions} [options] The options to use for question answering.
446
446
* @returns {Promise<QuestionAnsweringOutput|QuestionAnsweringOutput[]>} An array or object containing the predicted answers and scores.
0 commit comments