From 5a20b979cfbfca2757f618fa4d9f79ac9824496a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Ayd=C4=B1n?= Date: Sat, 28 Sep 2024 11:58:52 +0300 Subject: [PATCH] feat: Add `QUESTION_ANSWERING` and `FACT_VERIFICATION` enums to `TaskType` enum --- src/Enums/TaskType.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Enums/TaskType.php b/src/Enums/TaskType.php index e3dacbd..a0237f5 100644 --- a/src/Enums/TaskType.php +++ b/src/Enums/TaskType.php @@ -40,4 +40,14 @@ enum TaskType: string * Specifies that the embeddings will be used for clustering. */ case CLUSTERING = 'CLUSTERING'; + + /** + * Specifies that the given text will be used for question answering. + */ + case QUESTION_ANSWERING = 'QUESTION_ANSWERING'; + + /** + * Specifies that the given text will be used for fact verification. + */ + case FACT_VERIFICATION = 'FACT_VERIFICATION'; }