openai
必要环境 nodejs 、redis 、chrome
该扩展推荐使用 alemongo🔗 作为生产环境。
如果你是一名非技术人员,可使用 alemondesk🔗 桌面版。
安装
地址
https://github.com/xiuxianjs/xiuxian-plugin.git
分支
release
yarn add alemonjs-open -W
使用
使用 /ai帮助 唤醒
Redis
将以默认配置连接本地redis,
如需调整,请阅读@alemonjs/db配置连接,
如需使用docker请参考docker-compose.yml
docker-compose up -d
docker-compose down
连接模型
支持连接符合openai接口的模型
https://platform.openai.com/docs/overview
apiKey: ''
model: 'gpt-4o'
https://api-docs.deepseek.com
baseURL: 'https://api.deepseek.com'
apiKey: ''
model: 'deepseek-chat'
可本地部署的开源模型
https://ollama.com/
baseURL: 'http://localhost:11434/v1/'
apiKey: ''
model: 'llama3.2'