parallel-memory
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseParallel Memory
Parallel 内存
Action: $ARGUMENTS
Requires. If the installed version is older, orparallel-cli >=0.8.1fails withparallel-cli memory --helpor similar, tell the user to updateno such command, then retry.parallel-cli
操作:$ARGUMENTS
要求。如果已安装版本较旧,或者执行parallel-cli >=0.8.1时出现“no such command”或类似错误,请告知用户更新parallel-cli memory --help后重试。parallel-cli
When to use
使用场景
- Inspect memory only when prior Parallel work may help fulfill the request or the user asks to retrieve, evict, or clear it.
- Memory results are excerpts from past runs; fetch the source run for full records, and launch a fresh run when current information is required.
- 仅当过往的Parallel工作成果有助于完成当前请求,或者用户要求调取、移除或清除内存记录时,才查看内存。
- 内存结果是过往运行记录的片段;如需完整记录请调取源运行记录,若需要最新信息则启动新的运行任务。
Choose the operation
选择操作
| User intent | Operation |
|---|---|
| Recall prior work about a topic | Retrieve with a concise query |
| Show recent past runs | Retrieve without |
| Remove one saved Task, Monitor, or FindAll source | Evict by exact |
| Permanently remove all entries from your personal Memory | Clear memory |
| Turn memory off | Direct the user to account settings; do not clear as a substitute |
| 用户意图 | 操作 |
|---|---|
| 调取某主题的过往工作记录 | 使用简洁查询语句进行调取 |
| 展示近期的过往运行记录 | 不带 |
| 删除一条已保存的Task、Monitor或FindAll源记录 | 通过精确的 |
| 永久删除个人内存中的所有条目 | 清除内存 |
| 关闭内存功能 | 引导用户前往账户设置;请勿用清除内存替代关闭操作 |
Use the CLI
使用CLI
Use for retrieve, evict, and clear operations.
parallel-cli memory- If memory is not eligible, report the returned reason; it distinguishes rollout, organization settings, account opt-in, and key eligibility.
- On a key-eligibility error, tell the user to reauthenticate.
使用命令执行调取、移除和清除操作。
parallel-cli memory- 如果无法使用内存功能,请告知返回的原因;原因包括功能部署状态、组织设置、账户选择加入状态以及密钥有效性。
- 若出现密钥有效性错误,请告知用户重新认证。
Retrieve memory
调取内存
Form a short semantic query that describes the prior work to find. Apply filters when they help. Empty is a successful retrieval with no matches, not an error.
results- Set to
kind,task, ormonitorwhen it clearly narrows the retrieval.findall - Set for an explicit timestamp boundary (RFC 3339, e.g.
since).2026-08-01T00:00:00Z - Omit when retrieving recent memories rather than a topic.
query
Retrieve by query:
bash
parallel-cli memory retrieve \
--query "serverless inference vendors"For recent memories:
bash
parallel-cli memory retrieve \
--limit 5编写一段简短的语义查询语句来描述要查找的过往工作记录。如有需要可使用筛选条件。为空表示调取成功但无匹配记录,并非错误。
results- 当明确需要缩小调取范围时,将设置为
kind、task或monitor。findall - 设置参数指定时间戳边界(遵循RFC 3339标准,例如
since)。2026-08-01T00:00:00Z - 当调取近期内存记录而非特定主题时,省略参数。
query
按查询语句调取:
bash
parallel-cli memory retrieve \
--query "serverless inference vendors"调取近期记录:
bash
parallel-cli memory retrieve \
--limit 5Use results
使用结果
Available fields vary by :
kind-
: use
task,id,updated_at, andinput_excerpt.output_excerpt -
: use the monitor
monitor, status, query excerpt, and matching event IDs, timestamps, and excerpts.id -
: use
findall,id, objective excerpt, andupdated_at.matched_count -
Fetch the original Task result, Monitor events, or FindAll result when exact output, entities, citations, or provenance matter.
-
Summarize the useful findings and unresolved questions.
-
Lead with what the prior work established, then list the contributing saved runs with kind, ID, and timestamp.
-
Distinguish recalled information from any fresh verification.
-
Parallel runs do not consult Memory. If recalled information may be useful, include the relevant details in the new run's input.
Expect ingestion to be asynchronous. Do not promise that a newly completed run will be immediately retrievable.
可用字段因类型而异:
kind-
类型:使用
task、id、updated_at和input_excerpt字段。output_excerpt -
类型:使用监控
monitor、状态、查询片段、匹配的事件ID、时间戳和片段。id -
类型:使用
findall、id、目标片段和updated_at字段。matched_count -
当需要精确输出、实体、引用或来源信息时,调取原始的Task结果、Monitor事件或FindAll结果。
-
总结有用的发现和未解决的问题。
-
先说明过往工作已确认的内容,再列出相关的已保存运行记录,包括类型、ID和时间戳。
-
区分调取的信息与新验证的信息。
-
Parallel运行任务不会参考内存记录。如果调取的信息可能有用,请将相关细节纳入新运行任务的输入中。
请注意记录 ingestion 是异步的。不要承诺刚完成的运行记录可立即调取。
Evict or clear memory
移除或清除内存
Evict a single run from your personal Memory, or clear it entirely. These do not delete the underlying Parallel runs. Ask for confirmation before clearing unless the user already asked for it.
bash
parallel-cli memory evict \
--kind task \
--id "trun_example"bash
parallel-cli memory clear \
--confirm-clear从个人内存中移除单条运行记录,或清除所有内存记录。这些操作不会删除底层的Parallel运行任务。清除前需确认,除非用户已明确要求清除。
bash
parallel-cli memory evict \
--kind task \
--id "trun_example"bash
parallel-cli memory clear \
--confirm-clear