Installing the TEN Framework consists mainly of the following steps:
- environmental preparation: Install the necessary development tools (e.g. GCC compiler or Python 3.8+) and Git
- Cloning Codebase: Use the command
git clone https://github.com/TEN-framework/ten-framework.git
- Installation of dependencies: Run
pip install -r requirements.txt
Installing Python dependencies - C/C++ component building: Configuring and compiling core components using the GN build system
- External service configuration: Create config.json file to configure API keys for Deepgram, Elevenlabs, OpenAI and other services
After the installation is complete, you can run the python playground.py
Launch the Playground sample to experience the framework functionality.
This answer comes from the articleTEN: An open source tool for building real-time multimodal speech AI intelligencesThe