domain

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2026 License: MIT Imports: 1 Imported by: 0

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

type Turn

type Turn struct {
	UserQuery string `json:"user_query"`
	Answer    string `json:"answer"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL