Optional EvalPort adapter for AgentMessage trajectories (portable eval-result interchange)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 30/100
Hướng nghiên cứu
Start by reading lagent/schema.py, lagent/agents/agent.py, and the react.py and fc_agent.py agents to understand the trajectory and action objects they produce. Review EvalPort's SPEC.md, then clarify whether the adapter belongs under lagent/eval/ or in EvalPort's adapters; done would mean an agreed optional conversion and import scope without required core dependencies.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I've been reading lagent/schema.py — AgentMessage (content, sender, receiver, tool_calls, tool_calls_ids, formatted, extra_info, stream_state, finish_reason) and ActionReturn (args, result, state: ActionStatusCode, valid: ActionValidCode) — plus lagent/agents/agent.py and the react.py/fc_agent.py agents that produce sequences of these as a run unfolds.
I maintain EvalPort, a JSON-Schema-based interchange spec (TestCase/Suite/Grader/Result/ResultSet) for moving eval data between frameworks instead of it being locked to one tool's format. It's early-stage (~35 shipped adapters, no notable star count — being upfront about that).
The AgentMessage trajectory a lagent agent run produces — the sequence of sender/receiver/content/tool_calls, terminating in a message with finish_reason — maps reasonably well onto an EvalPort Result's transcript, and ActionReturn.state/valid give a natural signal for a GraderResult. What lagent doesn't have today is any way to get that trajectory into a form another framework's eval/scoring tooling (or a benchmark harness someone's already built for a different agent framework) can consume, or to run a suite of tasks defined in a portable format against a lagent agent.
I'd propose a standalone, optional adapter — converting a run's list of AgentMessages (plus ActionReturns for any tool calls) to an EvalPort Result/ResultSet, with an importer so an EvalPort Suite of tasks can drive lagent.agents agents. No required dependency, no change to lagent's core message/action classes.
Happy to build this either as a PR into lagent (e.g. under a new lagent/eval/ or as an example), or as a standalone package in EvalPort's own adapters/ directory with zero footprint on this repo — whichever fits better. Let me know if there's interest. Spec: https://github.com/adhabnr-ux/evalport/blob/main/SPEC.md
— Sahi, independent contributor (not affiliated with lagent/InternLM)
- Ngôn ngữ chính
- Python
- Star
- 2.3k
- Fork
- 249
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của InternLM/lagent
-
OpenAI shuts down gpt-3.5-turbo and gpt-4o-2024-05-13 on 2026-10-23: default model_type values need updatingCó thể đã có người làm @qiyuhuating đã nhận 53 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
`trust_remote_code=True` is hard-coded in the Hugging Face and vLLM wrappers and cannot be turned offCó thể đã có người làm @ningyixi đã nhận 4 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 50/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Tất cả issue của InternLM/lagent
Issue tương tự
-
accepted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
future-agi/future-agi#5908 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Placeholder export disables HTML image input for picture descriptionCó thể đã có người làm @cloudiful đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
docling-project/docling-serve#817 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
Techiebutler/freeframe#687 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Parse truncated verbose GC logs up to the first XML errorCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởbug verbose GC
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
IBM/javacore-analyser#677 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
Maintainer thường phản hồi trong vòng 2 ngày