12 lines
338 B
Go
12 lines
338 B
Go
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
|
||
|
|
}
|