Files
xinmi/internal/types/dataset.go
T

12 lines
338 B
Go
Raw Normal View History

package types
// QAPair represents a complete QA example with question, related passages and answer
type QAPair struct {
QID int // Question ID
Question string // Question text
PIDs []int // Related passage IDs
Passages []string // Passage texts
AID int // Answer ID
Answer string // Answer text
}