TIP: You can type at any time to perform a new search.
AI OCA Bridge Extra Parameters
ai_oca_bridge_extra_parameters · OCA/ai
- Repository
- OCA/ai · module folder · Try on Runboat
- Module version
- Category
- AI
- Folder size
- 0.11 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/ai
- Last tracking update
- 2026-08-10 17:15:25
- Authors
- Odoo Community Association (OCA), Binhex
- Maintainers
- Odoo Community Association (OCA), Binhex
- Committers
- Weblate, OCA-git-bot, oca-ci, Ariel Barreiros, Adasat Torres de Leon
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This module is used for adding extra parameters to the AI OCA Bridge's payloads
Code Analysis ⓘ
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
ai_bridge_form_view_extra_parameters |
ai.bridge.form.extra.parameters | ai.bridge | form | Inherits ai_oca_bridge.ai_bridge_form_view |
view_ai_extra_parameter_form |
ai.extra.parameter.form | ai.extra.parameter | form | New |
view_ai_extra_parameter_tree |
ai.extra.parameter.tree | ai.extra.parameter | list | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (1)
-
extra_parameter_idsMany2many → ai.extra.parameterhelp='Additional parameters to be sent to the AI system. These can be used to customize the AI request using expressions or fixed input.'string='Extra Parameters' args: 'ai.extra.parameter'
No public methods.
New fields (5)
-
evaluate_typeSelectiondefault='expression'help="Defines how the parameter is evaluated. 'expression' means it will be evaluated as a Python expression, 'formula' means it will be evaluated as a formula expression."required=True args: [('expression', 'Expression'), ('formula', 'Formula')] -
expressionChar -
formulaTextdefault="if object:\n result = {'result_key': object.property}\n" -
nameCharrequired=True -
parameter_typeSelectiondefault='record'help="Defines the context in which this parameter is evaluated. 'record' means it will be evaluated in the context of the record being processed, 'self' means it will be evaluated in the context of the AI bridge itself."required=True args: [('record', 'Record'), ('self', 'Bridge Self')]
-
evaluate_parameter(self, obj=None) -
validate_parameter_expression(self) -
validate_parameter_formula(self)
Loading…
Loading…