prompting.validators.tasks
#
Module Contents#
Classes#
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
Functions#
|
|
|
|
|
- class prompting.validators.tasks.Task#
Bases:
abc.ABC
Helper class that provides a standard way to create an ABC using inheritance.
- criteria: List[prompting.validators.criteria.TaskCriterion]#
- class prompting.validators.tasks.SummaryTask#
Bases:
Task
Helper class that provides a standard way to create an ABC using inheritance.
- class prompting.validators.tasks.QuestionGenerationTask#
Bases:
Task
Helper class that provides a standard way to create an ABC using inheritance.
- class prompting.validators.tasks.QuestionAnswerTask#
Bases:
Task
Helper class that provides a standard way to create an ABC using inheritance.
- prompting.validators.tasks.create_summarization_task(base_text)#
- Parameters:
base_text (str) –
- Return type:
- prompting.validators.tasks.create_qg_task(base_text, index)#
- Parameters:
- Return type:
- prompting.validators.tasks.create_qa_task(base_text, index)#
- Parameters:
- Return type: