File tree Expand file tree Collapse file tree
library/src/androidTest/java/com/owncloud/android/lib/resources/assistant/v2 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99package com.owncloud.android.lib.resources.assistant.v2
1010
1111import com.owncloud.android.AbstractIT
12+ import com.owncloud.android.lib.resources.assistant.v2.model.Shape
1213import com.owncloud.android.lib.resources.assistant.v2.model.TaskInputShape
1314import com.owncloud.android.lib.resources.assistant.v2.model.TaskOutputShape
1415import com.owncloud.android.lib.resources.assistant.v2.model.TaskTypeData
@@ -29,20 +30,24 @@ class AssistantV2Tests : AbstractIT() {
2930 " core:text2text" ,
3031 " Free text to text prompt" ,
3132 " Runs an arbitrary prompt through a language model that returns a reply" ,
32- listOf (
33+ inputShape =
3334 TaskInputShape (
34- " Prompt" ,
35- " Describe a task that you want the assistant to do or ask a question" ,
36- " Text"
37- )
38- ),
39- listOf (
35+ input =
36+ Shape (
37+ " Prompt" ,
38+ " Describe a task that you want the assistant to do or ask a question" ,
39+ " Text"
40+ )
41+ ),
42+ outputShape =
4043 TaskOutputShape (
41- " Generated reply" ,
42- " The generated text from the assistant" ,
43- " Text"
44+ output =
45+ Shape (
46+ " Generated reply" ,
47+ " The generated text from the assistant" ,
48+ " Text"
49+ )
4450 )
45- )
4651 )
4752
4853 private fun getSelectedTaskType (): String = " core:text2text"
You can’t perform that action at this time.
0 commit comments