ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

QuestionAnswerer

public interface QuestionAnswerer
Known Indirect Subclasses

API to answer questions based on context.

Public Methods

abstract List<QaAnswer>
answer(String context, String question)
Answers question based on context, and returns a list of possible QaAnswers.

Public Methods

public abstract List<QaAnswer> answer (String context, String question)

Answers question based on context, and returns a list of possible QaAnswers. Could be empty if no answer was found from the given context.

Parameters
context context the question bases on
question question to ask
Returns