You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 771993e
Browse filesBrowse the repository at this point in the historyBrowse files
zhansheng.lzs
committed
docs(examples): move agentstudio to the 2.0 tiers, add agentic RL quickref
AgentStudio and agentic RL are shared by the 1.x/2.0 generations, so
they do not belong under legacy_1x. agentstudio examples now use the
client.agentstudio entry; reinforcement_learning.py covers client.rl.
Copy file name to clipboardExpand all lines: examples/README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,6 +104,7 @@ Uniform style: `client = dashscope.Client()` (reads the key from the `DASHSCOPE_
104
104
|`files/files.py`| File management: upload / list / get / delete |
105
105
|`applications/apps.py`| Model Studio application invocation (non-streaming + streaming) |
106
106
|`fine_tuning/fine_tunes.py`| Fine-tune jobs: list / get, create / wait / delete (uncomment to run) |
107
+
|`fine_tuning/reinforcement_learning.py`| Agentic RL: list / get jobs; register functions -> upload data -> create / wait / delete (uncomment to run) |
107
108
|`models/models.py`| Model list and get |
108
109
109
110
## 02_advanced_engineering — Advanced engineering
@@ -121,6 +122,8 @@ Uniform style: `client = dashscope.Client()` (reads the key from the `DASHSCOPE_
121
122
|`tool_call_loop.py`| Managed multi-turn tool-call state machine: declare `tools` schemas, execute locally when the model requests a call, feed the `role="tool"` result back, and loop until a final answer (with a `MAX_TURNS` backstop) | Yes |
122
123
|`rag_expert_system.py`| Standard RAG: corpus embedding -> cosine top-k recall -> `client.rerank` refinement -> an "answer only from the sources" chat prompt -> an answer with citations | Yes |
123
124
|`mcp_server_demo/`| Dependency-free MCP (Model Context Protocol) stdio server + client demo: `server.py` speaks JSON-RPC 2.0; `client_demo.py` spawns the subprocess and runs initialize -> tools/list -> tools/call. See its `README.md`| No |
125
+
|`agentstudio.py`| AgentStudio end-to-end quickstart via `client.agentstudio`: environment -> agent -> session -> streamed reply (plus an opt-in memory-store demo); AgentStudio is shared by the 1.x/2.0 generations and mounts on the 2.0 client | Yes |
126
+
|`agentstudio_deployments.py`| Managed Agent deployments: create a cron-scheduled deployment, trigger a run, list runs | Yes |
124
127
125
128
## 04_real_world_scenarios — Real-world scenarios
126
129
@@ -146,7 +149,6 @@ The following use the old 1.x style (`dashscope.Generation`, `dashscope.MultiMod
0 commit comments