MCPcopy Create free account
hub / github.com/cloudwego/eino-examples / ComponentValue

Struct ComponentValue

quickstart/chatwitheino/a2ui/types.go:62–67  ·  view source on GitHub ↗

ComponentValue holds exactly one component type.

Source from the content-addressed store, hash-verified

60
61// ComponentValue holds exactly one component type.
62type ComponentValue struct {
63 Text *TextComp `json:"Text,omitempty"`
64 Column *ColumnComp `json:"Column,omitempty"`
65 Card *CardComp `json:"Card,omitempty"`
66 Row *RowComp `json:"Row,omitempty"`
67}
68
69// TextComp renders text. If DataKey is set, the value is read from the data model.
70type TextComp struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected