diff --git a/blog/posts/three-ways-integrate-odoo-hermes.html b/blog/posts/three-ways-integrate-odoo-hermes.html index 62848ad..2647f35 100644 --- a/blog/posts/three-ways-integrate-odoo-hermes.html +++ b/blog/posts/three-ways-integrate-odoo-hermes.html @@ -132,14 +132,22 @@
config.yaml# Hermes config.yaml snippet
-odoo:
- url: "https://your-instance.odoo4projects.com"
- db: "your-database"
- user: "agent@company.com"
- api_key: "your-api-key"
- readonly: true
+ # Hermes /.hermes/.env snippet
+ODOO_URL=https://005-003-1bf12542-4710-45c2-9f8b-3a27d25031b7.odoo4projects.com/
+ODOO_USER=changeme@odoo4projects.com
+ODOO_APIKEY=198db28b752ccb4a66c646503902169e8b3a5b42
+
+Prompt:
+
+
+Connect to the odoo 19 database with the credentials given in $ODOO_URL $ODOO_USER $ODOO_APIKEY
+open /doc and read the available models and methods. Use the JSON api to connect and do not login to the web UI.
+create a skill to access ODOO
+return all data found in the crm database
+
+
+This aproach is awesome since we give hermes the whole JSON 2 API to study. In the video you see, that the skill learned every modell with every method.
When to use: Quick queries, one-off lookups, demos, and prototyping. The LLM decides which API calls to make, so it's fast but the agent may chain calls in unexpected ways.
Deep dive: Speed Run: Create an Odoo Community Agent from Zero
@@ -308,4 +316,4 @@ Step 9: Return invoice number and status to Hermes