Export or import the catalogue
transferExport or import learned experiences as JSONL to move them between models or tools. Import merges idempotently with newer records winning; embeddings are recomputed by the destination model.
Instructions
Portability. mode='export' writes every record as JSONL (to path if given, else returned inline). mode='import' reads JSONL from path or jsonl and merges it idempotently: newer wins on id clash, duplicates are merged. Paths are .jsonl files inside the transfer directory (relative names are resolved there). Embeddings are not transferred; they are recomputed by whichever model the destination uses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| path | No | File name or path (.jsonl) inside the transfer directory | |
| jsonl | No | Inline JSONL for import |