Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 874915d8 authored by alperozturk's avatar alperozturk Committed by Alper Öztürk
Browse files

array to object

parent b90a0656
Loading
Loading
Loading
Loading
+16 −11
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
package com.owncloud.android.lib.resources.assistant.v2

import com.owncloud.android.AbstractIT
import com.owncloud.android.lib.resources.assistant.v2.model.Shape
import com.owncloud.android.lib.resources.assistant.v2.model.TaskInputShape
import com.owncloud.android.lib.resources.assistant.v2.model.TaskOutputShape
import com.owncloud.android.lib.resources.assistant.v2.model.TaskTypeData
@@ -29,15 +30,19 @@ class AssistantV2Tests : AbstractIT() {
            "core:text2text",
            "Free text to text prompt",
            "Runs an arbitrary prompt through a language model that returns a reply",
            listOf(
            inputShape =
                TaskInputShape(
                    input =
                        Shape(
                            "Prompt",
                            "Describe a task that you want the assistant to do or ask a question",
                            "Text"
                        )
                ),
            listOf(
            outputShape =
                TaskOutputShape(
                    output =
                        Shape(
                            "Generated reply",
                            "The generated text from the assistant",
                            "Text"