34 lines
1.2 KiB
Python
34 lines
1.2 KiB
Python
# Part of the ai_deepseek module.
|
||
# -*- coding: utf-8 -*-
|
||
{
|
||
"name": "AI DeepSeek Bridge",
|
||
"version": "20.0.1.0.0",
|
||
"category": "Productivity/AI",
|
||
"summary": "让 Odoo 20 的 AI 模块改走 DeepSeek(或任意 OpenAI 兼容端点),无需 IAP credits",
|
||
"description": """
|
||
Odoo 20 Enterprise 的 `ai` 模块默认把所有请求发给官方 IAP 服务
|
||
(https://ai.api.odoo.com),需要购买 credits。
|
||
|
||
本模块在**进程内**接管 `ai/utils/ai_utils.py` 的传输层,把请求
|
||
转给 DeepSeek 的 OpenAI 兼容 API,于是:
|
||
|
||
* 不需要额外运行任何脚本或服务;
|
||
* 不需要购买 Odoo IAP credits;
|
||
* 支持 AI 工具调用(function calling)多轮循环;
|
||
* 支持 RAG / Embedding(用 OpenAI 兼容的 embeddings 端点);
|
||
* 可在设置界面配置,随时切回官方服务。
|
||
|
||
安装:`-i ai_deepseek`(需先安装 `ai` 模块)。
|
||
""",
|
||
"author": "Custom",
|
||
"license": "LGPL-3",
|
||
"depends": ["ai"],
|
||
"data": [
|
||
"views/res_config_settings_views.xml",
|
||
],
|
||
"post_load": "post_load_hook",
|
||
"installable": True,
|
||
"application": True,
|
||
"auto_install": False,
|
||
}
|