New RunLLM response generated: >>>*# Question* Hi...
# runllm-flyte-trial
a
New RunLLM response generated: >>>*# Question* Hi all! Is there a way to force an input string to be json structured on the UI, same as when the input is a dataclass ? # Answer Flyte currently does not support forcing an input string to be JSON structured on the UI in the same way it does for dataclasses. The UI automatically provides a structured input form for dataclasses when they are properly annotated with
@dataclass_json
and
@dataclass
decorators, but this functionality does not extend to arbitrary strings. For more details, you can refer to the discussion on GitHub Issue #3110 and Flyte's Discuss Forum. Would you like more detail on how to work with dataclasses in Flyte or any alternative approaches? Sources: - GitHub Issue #3110 - Flyte's Discuss Forum Slack Link https://flyte-org.slack.com/archives/CP2HDHKE1/p1724939465.809739 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.