Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #129

Merged
merged 146 commits into from
Jul 19, 2024
Merged

Dev #129

Changes from 1 commit
Commits
Show all changes
146 commits
Select commit Hold shift + click to select a range
50659d8
feat: add data agent in the agentUniverse.
EdwinInAu Jun 14, 2024
5a78a21
Merge pull request #88 from alipay/dev
LandJerry Jun 14, 2024
b14417e
docs: update readme
LandJerry Jun 14, 2024
2fab455
add tool doc
weizjajj Jun 17, 2024
f450c79
add en doc
weizjajj Jun 17, 2024
81c3a75
暂存
weizjajj Jun 17, 2024
c1f8bfb
add knowlege
weizjajj Jun 17, 2024
76f2621
fix output
weizjajj Jun 17, 2024
521295a
remove unused import
weizjajj Jun 17, 2024
b7dbe10
feat: add data agent in the agentUniverse.
EdwinInAu Jun 17, 2024
fb2b487
docs: update README for new version
LandJerry Jun 17, 2024
b95060b
docs: update readme for new version.
LandJerry Jun 17, 2024
c979640
docs: update Discord code
LandJerry Jun 17, 2024
7e8bf4c
Merge pull request #93 from alipay/dev_fanen
LandJerry Jun 18, 2024
b39cf9c
docs: update README
LandJerry Jun 18, 2024
886e5b7
Merge remote-tracking branch 'origin/master' into dev
LandJerry Jun 18, 2024
c6ade54
Merge pull request #94 from alipay/dev
LandJerry Jun 18, 2024
9012d18
feat: add data agent in the agentUniverse.
EdwinInAu Jun 18, 2024
36ba3e8
feat: add data agent in the agentUniverse.
EdwinInAu Jun 18, 2024
60b5adf
docs: update README
LandJerry Jun 18, 2024
1b19975
feat: add data agent in the agentUniverse.
EdwinInAu Jun 18, 2024
73f6685
feat: add data agent in the agentUniverse.
EdwinInAu Jun 19, 2024
0a97104
docs: update readme docs
LandJerry Jun 19, 2024
4ff6559
add deepseek support
weizjajj Jun 19, 2024
3d37dfd
feat: add data agent in the agentUniverse.
EdwinInAu Jun 19, 2024
9de61f9
Merge pull request #96 from alipay/dev_tool_doc
LandJerry Jun 20, 2024
ec55462
feat: add data agent in the agentUniverse.
EdwinInAu Jun 20, 2024
bc32ef6
Merge pull request #98 from alipay/dev_fanen
LandJerry Jun 21, 2024
5e1488b
add deepseek doc
weizjajj Jun 21, 2024
7ae0bd8
docs: update readme & guidebook
LandJerry Jun 14, 2024
da761da
feat: Release version 0.0.9
LandJerry Jun 14, 2024
53fee05
feat: Release version 0.0.9
LandJerry Jun 14, 2024
188695a
Add: peer case docs
AniviaTn Jun 18, 2024
bab76de
Add: peer case docs
AniviaTn Jun 18, 2024
b604777
docs: update README
LandJerry Jun 18, 2024
751c85e
docs: update readme
LandJerry Jun 14, 2024
c1e0ff7
docs: update README for new version
LandJerry Jun 17, 2024
57dd5f0
docs: update readme for new version.
LandJerry Jun 17, 2024
ede51e2
docs: update Discord code
LandJerry Jun 17, 2024
8c4fd61
add tool doc
weizjajj Jun 17, 2024
cebfbf0
add en doc
weizjajj Jun 17, 2024
ba905ac
暂存
weizjajj Jun 17, 2024
0fecf96
add knowlege
weizjajj Jun 17, 2024
6707da4
fix output
weizjajj Jun 17, 2024
3105870
remove unused import
weizjajj Jun 17, 2024
83ba37d
add deepseek support
weizjajj Jun 19, 2024
377f19c
Fix: Pydantic warning in chroma store
AniviaTn Jun 20, 2024
0af9a6f
Merge remote-tracking branch 'origin/dev' into dev_chongshi_data_agent
LandJerry Jun 21, 2024
61b39da
Merge pull request #95 from alipay/dev_chongshi_data_agent
LandJerry Jun 21, 2024
d2ef307
Merge pull request #99 from alipay/dev_deepseek
LandJerry Jun 21, 2024
4272500
feat: add data agent in the agentUniverse.
EdwinInAu Jun 21, 2024
8d2d590
feat: add data agent in the agentUniverse.
EdwinInAu Jun 21, 2024
8bc82b9
Merge pull request #100 from alipay/dev_chongshi_data_agent_0621
LandJerry Jun 21, 2024
85d01c6
Removed: move dataflow to sepc branch
LandJerry Jun 22, 2024
c21ef59
docs: add monitor module docs in the agentUniverse.
EdwinInAu Jun 24, 2024
17f41cb
docs: add monitor module docs in the agentUniverse.
EdwinInAu Jun 24, 2024
6fadcad
add requesttool
weizjajj Jun 24, 2024
62d4bfc
Merge pull request #101 from alipay/dev_monitor_0610
LandJerry Jun 25, 2024
8213428
add langchain_tool
weizjajj Jun 25, 2024
474d459
fix: add process_input_object in the executing agent
EdwinInAu Jun 25, 2024
f6b166a
fix: add process_input_object in the executing agent
EdwinInAu Jun 25, 2024
171da32
Merge pull request #102 from alipay/dev_0625_chongshi
LandJerry Jun 25, 2024
2e85e98
fix: add process_input_object in the executing agent
EdwinInAu Jun 25, 2024
0daff05
add translation_agent.py
weizjajj Jun 26, 2024
cba1e9d
add doc
weizjajj Jun 26, 2024
3d90f52
delete file
weizjajj Jun 26, 2024
1efab54
撤销修改
weizjajj Jun 26, 2024
4389882
Merge pull request #105 from alipay/dev_fanen
LandJerry Jun 26, 2024
9cb4753
feat: add trace_agent annotation to trace the agent invocation record.
EdwinInAu Jun 27, 2024
7f38c8f
feat: add trace_agent annotation to trace the agent invocation record.
EdwinInAu Jun 27, 2024
b5957cd
add langchain tool
weizjajj Jun 27, 2024
59d5d51
fix
weizjajj Jun 27, 2024
ff87413
fix
weizjajj Jun 27, 2024
ef22197
add texg
weizjajj Jun 28, 2024
7dfc82f
remove
weizjajj Jun 28, 2024
c4ec0b6
Merge pull request #104 from alipay/dev_request_tool
LandJerry Jun 28, 2024
0907224
add doc
weizjajj Jun 28, 2024
13fda68
fix
weizjajj Jun 28, 2024
ccb06fa
fix
weizjajj Jun 28, 2024
1dc250a
add en result
weizjajj Jun 28, 2024
76fc46a
rollback code
weizjajj Jun 28, 2024
23a2d65
change to qwen
weizjajj Jun 28, 2024
53de484
feat: add trace_agent annotation to trace the agent invocation record.
EdwinInAu Jun 28, 2024
c9bb0ea
fix name
weizjajj Jun 28, 2024
ddd8f3d
fix name
weizjajj Jun 28, 2024
b623e0f
fix
weizjajj Jun 28, 2024
1d1df36
fix
weizjajj Jun 28, 2024
9fe1c9b
Merge pull request #106 from alipay/dev_0625_chongshi
LandJerry Jun 28, 2024
79df86f
add keys information
weizjajj Jun 28, 2024
ad7c2f3
Merge pull request #108 from alipay/dev_keys
LandJerry Jun 28, 2024
a8efe6e
Merge remote-tracking branch 'origin/master' into dev
LandJerry Jun 28, 2024
870b192
feat: Version 0.0.10 Release
LandJerry Jun 28, 2024
a665f8d
docs: update index of guidebook
LandJerry Jun 28, 2024
77cb557
fix
weizjajj Jul 1, 2024
9ed5ce0
fix text
weizjajj Jul 1, 2024
205e8e4
add country prompt
weizjajj Jul 1, 2024
f82135e
add output
weizjajj Jul 1, 2024
b263454
fix problem
weizjajj Jul 1, 2024
a8b0df0
add service
weizjajj Jul 1, 2024
66c82c5
Merge branch 'dev' into dev_translation
weizjajj Jul 1, 2024
4d7dbb0
tracing false
weizjajj Jul 2, 2024
bf6887b
Merge pull request #103 from alipay/dev_translation
LandJerry Jul 2, 2024
fdb94a7
improvement: add serialize method in monitor module and tweak executi…
EdwinInAu Jul 2, 2024
2b6af77
improvement: add exception handling and retry mechanism in peer agents.
EdwinInAu Jul 3, 2024
33d2082
add stream output
weizjajj Jul 3, 2024
f03c756
fix proxy
weizjajj Jul 3, 2024
7b9b6f2
feat: add the data agent to build datasets and evaluate the quality o…
EdwinInAu Jul 3, 2024
adf428e
init: peer dataset
hxbszyy Jul 4, 2024
1b75a12
PEER 开源agent训练数据
Jul 4, 2024
ed359d0
improvement: tweak set_by_agent_model method and remove deep copy logic.
EdwinInAu Jul 4, 2024
5069a94
Merge pull request #115 from alipay/peer_paper
LandJerry Jul 4, 2024
e679ac5
add: methods to obtain more training dataset
Jul 4, 2024
3618aa0
fix
weizjajj Jul 4, 2024
484290b
add: methods to obtain more training dataset and fix expressing agent…
Jul 4, 2024
de40acd
add: methods to obtain more training dataset and fix expressing agent…
Jul 4, 2024
b335716
improvement: add serialize method in monitor module and tweak executi…
EdwinInAu Jul 4, 2024
d7ba69c
Merge pull request #117 from alipay/peer_paper
LandJerry Jul 4, 2024
1edb7a5
Merge pull request #113 from alipay/dev_weizj
LandJerry Jul 4, 2024
f10764e
fix
weizjajj Jul 5, 2024
ae62e1e
fix: remove exception handling and retry mechanism in peer agents
EdwinInAu Jul 8, 2024
1648552
fix end error
weizjajj Jul 9, 2024
85652c9
feat: add the data agent to build datasets and evaluate the quality o…
EdwinInAu Jul 8, 2024
c9612a8
Merge pull request #119 from alipay/dev_weizj
LandJerry Jul 9, 2024
d3e6b96
feat: add the data agent to build datasets and evaluate the quality o…
EdwinInAu Jul 9, 2024
34581d3
feat: add the data agent to build datasets and evaluate the quality o…
EdwinInAu Jul 9, 2024
122fa27
feat: add the data agent to build datasets and evaluate the quality o…
EdwinInAu Jul 10, 2024
9587962
add sql tool
weizjajj Jul 10, 2024
4b23919
fix yaml
weizjajj Jul 10, 2024
0839106
Merge pull request #112 from alipay/dev_chongshi
LandJerry Jul 10, 2024
15b8351
feat: add the data agent to build datasets and evaluate the quality o…
EdwinInAu Jul 10, 2024
ba6ed25
feat: add the data agent English doc.
EdwinInAu Jul 10, 2024
eab2fea
feat: add the data agent English doc.
EdwinInAu Jul 10, 2024
1ec1eca
tool support agent
weizjajj Jul 11, 2024
7861c42
tool support agent
weizjajj Jul 11, 2024
cb2d1a2
Merge branch 'dev' into dev_weizj
weizjajj Jul 11, 2024
51be5ed
tool support agent
weizjajj Jul 11, 2024
ab249f8
fix stream
weizjajj Jul 11, 2024
d71c57e
add review,planning stream
weizjajj Jul 11, 2024
8bcf3b1
remove
weizjajj Jul 11, 2024
3ec6e25
fix type
weizjajj Jul 11, 2024
d19723e
Merge pull request #114 from alipay/dev_chongshi_data
LandJerry Jul 11, 2024
772909a
Merge pull request #121 from alipay/dev_weizj
LandJerry Jul 11, 2024
5a05949
docs: update README & modify index of guidebook
LandJerry Jul 11, 2024
0b99384
feat: Version 0.0.11 Release
LandJerry Jul 11, 2024
7563f3b
improvement: tweak jsonl and excel name format in dataAgent.
EdwinInAu Jul 12, 2024
fc1ddb7
Merge pull request #124 from alipay/dev_chongshi_data_0712
LandJerry Jul 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove
weizjajj committed Jul 11, 2024
commit 8bcf3b1dd67ad1423d0b4f4b13d1786c47db93d2
Original file line number Diff line number Diff line change
@@ -52,11 +52,8 @@ def invoke(self, agent_model: AgentModel, planner_input: dict,
history_messages_key="chat_history",
input_messages_key=self.input_key,
) | StrOutputParser()
# res = asyncio.run(
# chain_with_history.ainvoke(input=planner_input, config={"configurable": {"session_id": "unused"}}))
res = self.invoke_chain(agent_model, chain_with_history, planner_input, chat_history, input_object)
return {**planner_input, self.output_key: res, 'chat_history': generate_memories(chat_history)}
# return {**planner_input, self.output_key: res, 'chat_history': generate_memories(chat_history)}

def handle_prompt(self, agent_model: AgentModel, planner_input: dict) -> Prompt:
"""Prompt module processing.