blog
This commit is contained in:
@@ -132,14 +132,22 @@
|
|||||||
<li>Add the connection to Hermes' <code>config.yaml</code></li>
|
<li>Add the connection to Hermes' <code>config.yaml</code></li>
|
||||||
<li>Start Hermes — Odoo tools are available automatically</li>
|
<li>Start Hermes — Odoo tools are available automatically</li>
|
||||||
</ol>
|
</ol>
|
||||||
<pre><code># Hermes config.yaml snippet
|
<pre><code># Hermes /.hermes/.env snippet
|
||||||
odoo:
|
ODOO_URL=https://005-003-1bf12542-4710-45c2-9f8b-3a27d25031b7.odoo4projects.com/
|
||||||
url: "https://your-instance.odoo4projects.com"
|
ODOO_USER=changeme@odoo4projects.com
|
||||||
db: "your-database"
|
ODOO_APIKEY=198db28b752ccb4a66c646503902169e8b3a5b42
|
||||||
user: "agent@company.com"
|
</code></pre>
|
||||||
api_key: "your-api-key"
|
|
||||||
readonly: true</code></pre>
|
|
||||||
|
|
||||||
|
Prompt:
|
||||||
|
|
||||||
|
<pre><code>
|
||||||
|
Connect to the odoo 19 database with the credentials given in $ODOO_URL $ODOO_USER $ODOO_APIKEY<br>
|
||||||
|
open <url>/doc and read the available models and methods. Use the JSON api to connect and do not login to the web UI.<br>
|
||||||
|
create a skill to access ODOO<br>
|
||||||
|
return all data found in the crm database<br>
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
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.
|
||||||
<p><strong>When to use:</strong> 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.</p>
|
<p><strong>When to use:</strong> 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.</p>
|
||||||
<p><strong>Deep dive:</strong> <a href="https://derez.ai/blog/posts/speed-run-odoo-community-agent.html">Speed Run: Create an Odoo Community Agent from Zero</a></p>
|
<p><strong>Deep dive:</strong> <a href="https://derez.ai/blog/posts/speed-run-odoo-community-agent.html">Speed Run: Create an Odoo Community Agent from Zero</a></p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user