Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conversation ¶
type Conversation struct {
ConversationID string `json:"conversation_id"`
Turns []Turn `json:"turns"`
Annotation string `json:"human_annotation,omitempty"`
Reason string `json:"human_reason,omitempty"`
Extra map[string]json.RawMessage `json:"-"`
}
func (*Conversation) MarshalJSON ¶
func (c *Conversation) MarshalJSON() ([]byte, error)
func (*Conversation) UnmarshalJSON ¶
func (c *Conversation) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.