Package io.agentscope.core.studio
Class StudioWebSocketClient.UserInputData
java.lang.Object
io.agentscope.core.studio.StudioWebSocketClient.UserInputData
- Enclosing class:
- StudioWebSocketClient
Data structure representing user input from Studio.
This contains both content blocks (text, images, etc.) and optional structured data validated against a schema.
-
Constructor Summary
ConstructorsConstructorDescriptionUserInputData(List<io.agentscope.core.message.ContentBlock> blocksInput, Map<String, Object> structuredInput) Creates user input data. -
Method Summary
Modifier and TypeMethodDescriptionList<io.agentscope.core.message.ContentBlock>Gets the content blocks provided by the user.Gets the structured input data.
-
Constructor Details
-
Method Details
-
getBlocksInput
Gets the content blocks provided by the user.- Returns:
- List of content blocks
-
getStructuredInput
Gets the structured input data.- Returns:
- Map of structured data, or null if not provided
-