mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-11-29 00:38:33 +00:00
* refactor: generalize decision models and add opt-in context compaction * chore: remove compaction-specific license metadata * test: add live decision compaction scenarios and strategy guides * docs: describe current decision model configuration directly * refactor: preserve recoverable tool evidence and add compaction benchmarks * docs: visualize compaction benchmark results with English charts * docs: fix compaction benchmark links with verified permalinks * benchmark: evaluate fixed-summary evidence additions and summary-aware selection * docs: report summary-aware incremental evidence results * docs: unify compaction strategy comparison * refactor: replace compaction studies with one matched-input benchmark * docs: pin matched-input results links * bench: evaluate gold-labelled HotpotQA trajectories collected with Hermes * docs: pin gold-labelled benchmark results * bench: focus on frozen-summary Jev Top-N payment evaluation * docs: pin frozen-summary benchmark results * bench: evaluate fixed-summary fusion across Hermes fixture tasks * docs: pin compaction study references to reviewed results * bench: compare Jev fusion across frozen summary strategies * docs: pin dual-summary benchmark and figure references * docs: specify reproducible compaction settings and Hermes summary scope * docs: plot Jev token overhead by retained Top N * docs: pin reproducibility settings and revised cost figure * docs: price total compaction and answering cost across Top N * docs: pin final cost accounting and reproduction references * docs: explain compaction experiment background setup and conclusions inline * docs: compare compaction-only costs and omit Full from cost panel * docs: pin compaction-only cost references * docs: retain only quality and context-length experiment comparisons * docs: pin streamlined experiment references * docs: add Chinese counterparts for all compaction benchmark guides * docs: link benchmark guides in the matching language * docs: consolidate bilingual compaction benchmark guides * docs: point compaction references to consolidated benchmark * docs: reference Hermes Jev compaction evaluation results * fix(benchmark): validate cached native summary provenance
39 lines
1.2 KiB
YAML
39 lines
1.2 KiB
YAML
# Optional decision model demo. Install reme-ai[core,decision] and set DECISION_MODEL_API_KEY.
|
|
# Start the service: reme start config=decision_demo
|
|
# Call it from another terminal: reme decide state="I was charged twice."
|
|
extends: default
|
|
|
|
jobs:
|
|
decide:
|
|
backend: base
|
|
enable_serve: true
|
|
description: "Classify customer requests with a decision model; returns typed answers, probabilities, and usage."
|
|
parameters:
|
|
type: object
|
|
properties:
|
|
state:
|
|
type: [string, object]
|
|
minLength: 1
|
|
description: "Text or JSON object to classify"
|
|
questions:
|
|
type: object
|
|
minProperties: 1
|
|
additionalProperties:
|
|
type: object
|
|
description: "Named binary, choice, or score questions; omission uses three customer-support demo questions"
|
|
required: [state]
|
|
steps:
|
|
- backend: decision_demo_step
|
|
as_decision_model: default
|
|
|
|
components:
|
|
as_decision_model:
|
|
default:
|
|
backend: ${DECISION_MODEL_BACKEND:-agentscope}
|
|
model: ${DECISION_MODEL_NAME:-null}
|
|
credential:
|
|
api_key: ${DECISION_MODEL_API_KEY:-}
|
|
base_url: ${DECISION_MODEL_BASE_URL:-null}
|
|
timeout: 30
|
|
max_retries: 2
|
|
retry_delay: 0.5
|