when i try to access the default odoo ai agents. i get this error when
for e.g., promt: Top 5 sales reps by revenue
i have added chatgpt api key - so it worked for
prompt: how many sales orders do we have right now?
But asking for google api key for the previous prompt
please suggest what i can do on this
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- 项目
- MRP
此问题已终结
Hi,
The "No API Key set for provider 'google'" error in Odoo indicates that a Google API key is required for the specific AI agent you're using, even if you've already configured a ChatGPT API key. To resolve this, obtain a Google API key from the Google Cloud Console, enabling the necessary Google APIs (like Google Search API or Natural Language API) for the agent's functionality. Restrict the API key to only the enabled APIs and your Odoo instance's domain or IP address for security.
In Odoo, enable developer mode and navigate to System Parameters, where you should either create a new parameter (e.g., ai.google.api_key) or update an existing one with your Google API key. Finally, restart the Odoo service to apply the changes. If issues persist, check Odoo logs, verify API key restrictions, consult Odoo documentation, or contact Odoo support.
Hope it helps
I hope you are doing well,
The error occurs because different Odoo AI agents use different AI providers. Some use OpenAI (ChatGPT), while others use Google's Gemini.
hope this information helps you
Thanks & Regards,
Kunjan Patel
| 相关帖文 | 回复 | 查看 | 活动 | |
|---|---|---|---|---|
|
|
2
12月 24
|
3304 | ||
|
|
0
9月 22
|
2266 | ||
|
|
0
8月 22
|
3148 | ||
|
|
1
2月 22
|
4769 | ||
|
|
1
2月 22
|
7886 |