Skip to Content
Menu
v 18.0 Third Party 4
Download for v 18.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies CRM (crm)
Discuss (mail)
Calendar (calendar)
Contacts (contacts)
Invoicing (account)
Community Apps Dependencies
Lines of code 2769
Technical Name llm_tool_demo
LicenseLGPL-3
Websitehttps://github.com/apexive/odoo-llm
You bought this module and need support? Click here!

LLM Tool Demo Module

This module demonstrates how to create LLM tools using the @llm_tool decorator.

Features:

  • 6 example tools showing different decorator patterns
  • Read-only, destructive, and idempotent tool examples
  • Type hints and manual schema examples
  • Business logic integration (CRM, Sales, Notifications)
  • Best practices for tool development

Examples Included:

  1. get_system_info - Simple read-only tool
  2. calculate_business_days - Utility tool with type hints
  3. create_lead_from_description - Business logic tool
  4. generate_sales_report - Complex reporting tool
  5. legacy_example - Manual schema for legacy code
  6. send_notification_to_user - User interaction tool

Use this module as a reference when creating your own LLM tools.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.