Documentation
¶
Overview ¶
Package dmr implements the Deep Memory Retrieval benchmark runner for Cortex.
DMR uses the MSC-Self-Instruct dataset (500 conversations). Each conversation has multiple dialog sessions and self-instruct Q&A pairs that test retrieval from earlier sessions.
Reference: arXiv:2310.08560 (MemGPT)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
DataPath string
Limit int
JudgeCfg *common.JudgeConfig
GraphBoost bool
}
Config controls the benchmark run.
type DialogTurn ¶
DialogTurn represents a single turn.
type MSCConversation ¶
type MSCConversation struct {
Personas [][]string `json:"personas"`
Dialog []DialogTurn `json:"dialog"`
PreviousDialogs []PreviousDialog `json:"previous_dialogs"`
SelfInstruct map[string]string `json:"self_instruct"` // {"B": question, "A": answer}
Summary1 json.RawMessage `json:"summary_speaker_1"`
Summary2 json.RawMessage `json:"summary_speaker_2"`
}
MSCConversation represents a single MSC-Self-Instruct conversation.
type PreviousDialog ¶
type PreviousDialog struct {
Personas [][]string `json:"personas"`
Dialog []DialogTurn `json:"dialog"`
}
PreviousDialog represents a previous conversation session.
Click to show internal directories.
Click to hide internal directories.