├── .gitignore ├── README.md ├── README_ZH.md ├── docs └── method_outline.md ├── pyproject.toml ├── questions.json ├── reports └── questions_report.md ├── scripts ├── run_local_adapter.py ├── run_questions.py └── run_questions_direct.py ├── src └── opence │ ├── __init__.py │ ├── adapters │ ├── __init__.py │ └── langchain.py │ ├── components │ ├── __init__.py │ ├── acquirers │ │ ├── __init__.py │ │ └── file_reader.py │ ├── constructors │ │ ├── __init__.py │ │ └── few_shot_selector.py │ ├── evaluators │ │ ├── __init__.py │ │ └── ace_reflector.py │ ├── evolvers │ │ ├── __init__.py │ │ └── ace_curator.py │ └── processors │ │ ├── __init__.py │ │ ├── compressors.py │ │ └── rerankers.py │ ├── core │ ├── __init__.py │ └── orchestrator.py │ ├── interfaces │ ├── __init__.py │ ├── acquisition.py │ ├── construction.py │ ├── data_models.py │ ├── evaluation.py │ ├── evolution.py │ └── processing.py │ ├── methods │ ├── __init__.py │ ├── ace │ │ ├── __init__.py │ │ ├── adaptation.py │ │ ├── deduplication.py │ │ ├── delta.py │ │ ├── playbook.py │ │ ├── prompts.py │ │ └── roles.py │ ├── ace_closed_loop.py │ └── base.py │ └── models │ ├── __init__.py │ ├── clients.py │ ├── providers.py │ └── rwkv_client.py ├── tests ├── __pycache__ │ ├── test_adaptation.cpython-312-pytest-8.4.2.pyc │ └── test_adaptation.cpython-312.pyc ├── conftest.py ├── test_ace_components.py ├── test_adaptation.py ├── test_deduplication.py ├── test_methods.py └── test_orchestrator.py └── uv.lock /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/README.md -------------------------------------------------------------------------------- /README_ZH.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/README_ZH.md -------------------------------------------------------------------------------- /docs/method_outline.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/docs/method_outline.md -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/pyproject.toml -------------------------------------------------------------------------------- /questions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/questions.json -------------------------------------------------------------------------------- /reports/questions_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/reports/questions_report.md -------------------------------------------------------------------------------- /scripts/run_local_adapter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/scripts/run_local_adapter.py -------------------------------------------------------------------------------- /scripts/run_questions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/scripts/run_questions.py -------------------------------------------------------------------------------- /scripts/run_questions_direct.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/scripts/run_questions_direct.py -------------------------------------------------------------------------------- /src/opence/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/__init__.py -------------------------------------------------------------------------------- /src/opence/adapters/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/adapters/__init__.py -------------------------------------------------------------------------------- /src/opence/adapters/langchain.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/adapters/langchain.py -------------------------------------------------------------------------------- /src/opence/components/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/components/__init__.py -------------------------------------------------------------------------------- /src/opence/components/acquirers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/opence/components/acquirers/file_reader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/components/acquirers/file_reader.py -------------------------------------------------------------------------------- /src/opence/components/constructors/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/opence/components/constructors/few_shot_selector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/components/constructors/few_shot_selector.py -------------------------------------------------------------------------------- /src/opence/components/evaluators/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/opence/components/evaluators/ace_reflector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/components/evaluators/ace_reflector.py -------------------------------------------------------------------------------- /src/opence/components/evolvers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/opence/components/evolvers/ace_curator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/components/evolvers/ace_curator.py -------------------------------------------------------------------------------- /src/opence/components/processors/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/opence/components/processors/compressors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/components/processors/compressors.py -------------------------------------------------------------------------------- /src/opence/components/processors/rerankers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/components/processors/rerankers.py -------------------------------------------------------------------------------- /src/opence/core/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/core/__init__.py -------------------------------------------------------------------------------- /src/opence/core/orchestrator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/core/orchestrator.py -------------------------------------------------------------------------------- /src/opence/interfaces/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/interfaces/__init__.py -------------------------------------------------------------------------------- /src/opence/interfaces/acquisition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/interfaces/acquisition.py -------------------------------------------------------------------------------- /src/opence/interfaces/construction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/interfaces/construction.py -------------------------------------------------------------------------------- /src/opence/interfaces/data_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/interfaces/data_models.py -------------------------------------------------------------------------------- /src/opence/interfaces/evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/interfaces/evaluation.py -------------------------------------------------------------------------------- /src/opence/interfaces/evolution.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/interfaces/evolution.py -------------------------------------------------------------------------------- /src/opence/interfaces/processing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/interfaces/processing.py -------------------------------------------------------------------------------- /src/opence/methods/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/methods/__init__.py -------------------------------------------------------------------------------- /src/opence/methods/ace/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/methods/ace/__init__.py -------------------------------------------------------------------------------- /src/opence/methods/ace/adaptation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/methods/ace/adaptation.py -------------------------------------------------------------------------------- /src/opence/methods/ace/deduplication.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/methods/ace/deduplication.py -------------------------------------------------------------------------------- /src/opence/methods/ace/delta.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/methods/ace/delta.py -------------------------------------------------------------------------------- /src/opence/methods/ace/playbook.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/methods/ace/playbook.py -------------------------------------------------------------------------------- /src/opence/methods/ace/prompts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/methods/ace/prompts.py -------------------------------------------------------------------------------- /src/opence/methods/ace/roles.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/methods/ace/roles.py -------------------------------------------------------------------------------- /src/opence/methods/ace_closed_loop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/methods/ace_closed_loop.py -------------------------------------------------------------------------------- /src/opence/methods/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/methods/base.py -------------------------------------------------------------------------------- /src/opence/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/models/__init__.py -------------------------------------------------------------------------------- /src/opence/models/clients.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/models/clients.py -------------------------------------------------------------------------------- /src/opence/models/providers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/models/providers.py -------------------------------------------------------------------------------- /src/opence/models/rwkv_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/src/opence/models/rwkv_client.py -------------------------------------------------------------------------------- /tests/__pycache__/test_adaptation.cpython-312-pytest-8.4.2.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/tests/__pycache__/test_adaptation.cpython-312-pytest-8.4.2.pyc -------------------------------------------------------------------------------- /tests/__pycache__/test_adaptation.cpython-312.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/tests/__pycache__/test_adaptation.cpython-312.pyc -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/test_ace_components.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/tests/test_ace_components.py -------------------------------------------------------------------------------- /tests/test_adaptation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/tests/test_adaptation.py -------------------------------------------------------------------------------- /tests/test_deduplication.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/tests/test_deduplication.py -------------------------------------------------------------------------------- /tests/test_methods.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/tests/test_methods.py -------------------------------------------------------------------------------- /tests/test_orchestrator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/tests/test_orchestrator.py -------------------------------------------------------------------------------- /uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sci-m-wang/OpenCE/HEAD/uv.lock --------------------------------------------------------------------------------