Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ ai_agents/crash_context_v1
ai_agents/.deps/
ai_agents/.DS_Store
ai_agents/.env
ai_agents/**/*.pem
ai_agents/.gn
ai_agents/.gnfiles
ai_agents/include/
Expand Down
18 changes: 17 additions & 1 deletion ai_agents/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ AGORA_APP_CERTIFICATE=
# OpenAI API key
OPENAI_API_BASE=https://api.openai.com/v1
OPENAI_API_KEY=
OPENAI_MODEL=gpt-4o
OPENAI_MODEL=gpt-5.1-chat-latest
OPENAI_PROXY_URL=

# Extension: grok_python
Expand Down Expand Up @@ -104,6 +104,22 @@ DEEPGRAM_API_KEY=
AZURE_ASR_API_KEY=
AZURE_ASR_REGION=

# Extension: oracle_asr_python, oracle_tts_python
# Oracle Cloud Infrastructure Speech credentials (shared by ASR and TTS)
# Note: Oracle TTS may only be available in certain regions (e.g. us-phoenix-1)
OCI_TENANCY=
OCI_USER=
OCI_FINGERPRINT=
OCI_KEY_FILE=
OCI_COMPARTMENT_ID=
OCI_REGION=us-ashburn-1

# Oracle Cloud Generative AI (LLM)
# Uses the OCI Generative AI OpenAI-compatible inference endpoint
ORACLE_LLM_API_KEY=
ORACLE_LLM_BASE_URL=https://inference.generativeai.us-chicago-1.oci.oraclecloud.com/20231130/actions/v1
ORACLE_LLM_MODEL=meta.llama-3.3-70b-instruct

# ------------------------------
# TTS
# ------------------------------
Expand Down
8 changes: 8 additions & 0 deletions ai_agents/agents/examples/voice-assistant/Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ tasks:
dir: ./tenapp
cmds:
- tman install
- mkdir -p ../../../ten_packages/system
# Symlink system packages to the shared ten_packages dir so extensions
# installed by different examples can resolve the same system deps.
# ln -snf replaces any existing symlink atomically.
- |
for pkg in ten_packages/system/*/; do
[ -d "$pkg" ] && ln -snf "$(pwd)/$pkg" "../../../ten_packages/system/$(basename $pkg)"
done

install-tenapp-python-deps:
desc: install tenapp python dependencies
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@
{
"type": "extension",
"name": "openai_asr_python",
"version": "0.2.2",
"hash": "dc0d2ecf5c104c396b0539e7f915041453d007aedebd121740c5bb965fd513dc",
"version": "0.3.0",
"hash": "56374e250f4ab3d43a9a52ad22bc21317b1183c54467e4625653753ac8615b79",
"dependencies": [
{
"type": "system",
Expand All @@ -253,6 +253,23 @@
],
"path": "../../../ten_packages/extension/openai_asr_python"
},
{
"type": "extension",
"name": "sarvam_asr_python",
"version": "0.1.2",
"hash": "e821256e20456fa01534b140ce3c5176bcdc83abd00c22eef1e5d191bae160d2",
"dependencies": [
{
"type": "system",
"name": "ten_runtime_python"
},
{
"type": "system",
"name": "ten_ai_base"
}
],
"path": "../../../ten_packages/extension/sarvam_asr_python"
},
{
"type": "extension",
"name": "soniox_asr_python",
Expand Down Expand Up @@ -355,6 +372,23 @@
],
"path": "../../../ten_packages/extension/xfyun_asr_python"
},
{
"type": "extension",
"name": "oracle_asr_python",
"version": "0.1.0",
"hash": "399f986295bf4c7cfceef4c251b589d75efd72d6129c268ed18297871656e071",
"dependencies": [
{
"type": "system",
"name": "ten_runtime_python"
},
{
"type": "system",
"name": "ten_ai_base"
}
],
"path": "../../../ten_packages/extension/oracle_asr_python"
},
{
"type": "extension",
"name": "coze_llm2_python",
Expand Down Expand Up @@ -443,8 +477,8 @@
{
"type": "extension",
"name": "cartesia_tts",
"version": "0.6.2",
"hash": "17d121b4cec20fe6333ea337a59536bbf5a577fe32275345a5f50ed2ff7c8f92",
"version": "0.6.3",
"hash": "f8c8a1dd7225976b728a323f54b2b8d3246ee9fe964d3ddf206d630e316ffc78",
"dependencies": [
{
"type": "system",
Expand Down Expand Up @@ -605,8 +639,8 @@
{
"type": "extension",
"name": "openai_tts2_python",
"version": "0.6.0",
"hash": "62e552ae155c42f707a92309be5e4ed5eb0434536c566d1700a4c563b794d508",
"version": "0.6.1",
"hash": "7c51a7d8562285cf6b3a62c6edb7ec06caf64d9ccadf483eb57a4e675e079f81",
"dependencies": [
{
"type": "system",
Expand Down Expand Up @@ -656,8 +690,8 @@
{
"type": "extension",
"name": "rime_tts",
"version": "0.4.1",
"hash": "e4506ae14920fdddd72962f2d525bd37bbd02feb73a6d462902fbf32ca6d5a38",
"version": "0.4.2",
"hash": "7cae56839812cbe7701c9809b8c55e1645d0c393df91ef4d2e43fe07b51b0564",
"dependencies": [
{
"type": "system",
Expand Down Expand Up @@ -721,6 +755,23 @@
],
"path": "../../../ten_packages/extension/tencent_tts_python"
},
{
"type": "extension",
"name": "oracle_tts_python",
"version": "0.1.0",
"hash": "803baaaefbff33f7649fe0ee6f5d73272c87bdead7c42d9495b903f581341d92",
"dependencies": [
{
"type": "system",
"name": "ten_runtime_python"
},
{
"type": "system",
"name": "ten_ai_base"
}
],
"path": "../../../ten_packages/extension/oracle_tts_python"
},
{
"type": "extension",
"name": "message_collector2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@
{
"path": "../../../ten_packages/extension/xfyun_asr_python"
},
{
"path": "../../../ten_packages/extension/oracle_asr_python"
},
{
"path": "../../../ten_packages/extension/coze_llm2_python"
},
Expand Down Expand Up @@ -141,6 +144,9 @@
{
"path": "../../../ten_packages/extension/tencent_tts_python"
},
{
"path": "../../../ten_packages/extension/oracle_tts_python"
},
{
"path": "../../../ten_packages/extension/message_collector2"
},
Expand Down
Loading
Loading