Ai Oca Bridge Document Page
This module is intended for allowing users to use OCA’s Knowledge app for as a source of knowledge for AI Agents, although this is not the only usage this module could have
Table of contents
Configuration
Configuration Guide
To use this module as intended, two components must be configured:
Bridge configuration on the Odoo side
An endpoint capable of handling bridge requests
For an agent to have updated RAG (Retrieval-Augmented Generation) capabilities, you must create at least three bridges for each active knowledge database:
- Bridge with ``Usage = “AI Thread Create”``Adds document pages to the external database used by agents.
- Bridge with ``Usage = “AI Thread Write”``Updates document pages already on the external database used by agents.
- Bridge with ``Usage = “AI Thread Unlink”``Removes document pages from the external database when those pages are deleted from Odoo.
For creating those bridges, apart from the usage of the bridge, the user must define:
Payload Type: it depends on the endpoint configuration, normally “Record” would work.
Result Type: for this case “No processing” is OK.
Model: select the “Document Page” model
Field: add at least the fields the endpoint is expecting on the other side.
Filter: add a domain for using the bridge only with the documents intended to trigger bridge
For context, you can download an example n8n workflow JSON file capable of handling the bridge with Usage = "AI Thread Create". This workflow includes a manual trigger for testing purposes. Remember to update the models and database knowledge as needed.
Usage
Depending on the bridges you have created, create, update or delete a Document Page mathing the bridge domain. You should see the execution on the AI Bridge Execution menu.
For testing the endpoint side, you can download this n8n workflow JSON, capable of inserting information on the database. Keep in mind that for this to work at least content, display_name and draft_name fields should be included on the list of fields
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
-
Ariel Barreiros
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
This module is part of the OCA/ai project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Metadata
Release files for odoo-addon-ai-oca-bridge-document-page 18.0.1.0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| odoo_addon_ai_oca_bridge_document_page-18.0.1.0.0.2-py3-none-any.whl | Python 3 | none | any | Details for odoo_addon_ai_oca_bridge_document_page-18.0.1.0.0.2-py3-none-any.whl |
Release files / odoo_addon_ai_oca_bridge_document_page-18.0.1.0.0.2-py3-none-any.whl
| Download URL | odoo_addon_ai_oca_bridge_document_page-18.0.1.0.0.2-py3-none-any.whl |
|---|---|
| Size | 33.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0f47b622a579e215594059e09af01a4ee0ae15955d19fc0eb19bf3df1594bf71
|
|
BLAKE2b-256 checksum How to use checksums |
ed7703fd606839fca9e5c4fe2e3f80984d93a2f12af5cb7d02575afdb40458b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Security for odoo-addon-ai-oca-bridge-document-page 18.0.1.0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.