Standarlize content block for PlanReActPlanner and BuiltInPlanner
Đang mở
core
help wanted
needs review
- Ngôn ngữ chính
- Python
- Star
- 21.5k
- Fork
- 4k
- Merge trung bình
- 1 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 37
Mô tả
LangChain 1.0 provides a standard representation for message content that works across providers.
ADK has PlanReActPlanner and BuiltInPlanner, their output is raw text , need further parsing, can we also provide a standard way to do this?
```
[{'type': 'reasoning', 'id': 'rs_abc123', 'reasoning': 'summary 1'},
{'type': 'reasoning', 'id': 'rs_abc123', 'reasoning': 'summary 2'},
{'type': 'text', 'text': '...', 'id': 'msg_abc123'}]
```
https://docs.langchain.com/oss/python/releases/langchain-v1#standard-content-blocks
https://docs.langchain.com/oss/python/langchain/messages#standard-content-blocks
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.