Skip to content

Commit cf905ea

Browse files
committed
dev: prepare examples workspace
1 parent b7f2066 commit cf905ea

File tree

11 files changed

+34
-4
lines changed

11 files changed

+34
-4
lines changed

examples/.env.example

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# 目前 MOSShell Alpha 版本没有完成开箱即用 Agent 的开发.
2+
# 主要基于 SimpleAgent 做用例展示. 预计 Beta 版本会提交一个正式版集成了 Shell 的 Agent.
3+
#
4+
# Alpha 阶段想要测试体验的话, 需要至少配置:
5+
# 1. 兼容 OpenAI 接口的大模型, 最好是火山引擎
6+
# 2. 决定是否要使用音频输出
7+
# 3. 配置音频输出模型, 目前仅支持火山引擎的 大模型流式 TTS 语音合成.
8+
#
9+
# 这需要:
10+
# 1. 访问字节火山引擎, 创建个人帐号
11+
# 2. 创建豆包 seed 大模型服务, 复制个人的 LLM API KEY
12+
# 3. 创建豆包 大模型流式 tts 合成应用, 获得音频合成服务的 app id 与 access token
13+
# 4. 复制 .env.example 为 .env 文件
14+
# 5. 将上述 key 配置到以下键中.
15+
#
16+
# BETA 版本承诺完善 workspace 和开箱配置项.
17+
18+
# 测试用例中使用的模型服务地址. 默认是火山引擎
19+
MOSS_LLM_BASE_URL="https://ark.cn-beijing.volces.com/api/v3"
20+
21+
# 测试用例中使用的模型, 基于 litellm, 所以需要用 litellm 的模型路径定义.
22+
MOSS_LLM_MODEL="volcengine/doubao-seed-1-6-251015"
23+
24+
# 访问模型接口的 api key
25+
MOSS_LLM_API_KEY=your_api_key_here
26+
27+
# 是否开启语音回复.
28+
USE_VOCIE_SPEECH="yes" # yes or no
29+
30+
# 创建一个火山引擎的 "大模型流式 tts 合成应用"
31+
# 获得 app id 和 access token 放在此.
32+
VOLCENGINE_STREAM_TTS_APP=your_volcengine_stream_tts_app_id_here
33+
VOLCENGINE_STREAM_TTS_ACCESS_TOKEN=your_volcengine_stream_tts_access_token_here

examples/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.env
File renamed without changes.

examples/moss/moss_ws/configs/instructions/behaviors.md renamed to examples/.workspace/configs/instructions/behaviors.md

File renamed without changes.
File renamed without changes.

examples/moss/moss_ws/runtime/agent_history/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)