部署Oliva需要完成四步核心配置::
1. Preparation of the base environment
- 安装Python 3.12+和Git工具
- Cloning GitHub repositories:
git clone https://github.com/Deluxer/oliva.git
- 使用uv工具同步依赖:
uv sync
(自动安装LangChain等组件)
2. 数据库配置
- 通过Docker启动Qdrant实例:
docker run -p 6333:6333 qdrant/qdrant
- 加载预置数据集(解压snapshot.zip或按教程导入)
3. 语音服务配置
- 注册Livekit Cloud获取API三要素:URL/KEY/SECRET
- 在Deepgram官网申请语音转文本服务的API密钥
- 将凭证写入
.env
configuration file
4. 启动验证
- (of a computer) run
make oliva-start
Starting services - 通过Agent Playground测试语音交互功能
注意:所有依赖服务(Docker/Livekit/Deepgram)需保持网络连通。
This answer comes from the articleOliva: a voice-controlled multi-intelligence product search assistantThe