Adds Documents synchronization using AI Bridges
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odoo_addon_ai_oca_bridge_document_page-16.0.1.0.0.3-py3-none-any.whl.
File metadata
- Download URL: odoo_addon_ai_oca_bridge_document_page-16.0.1.0.0.3-py3-none-any.whl
- Upload date:
- Size: 30.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01b24678525cd4ce12b73283d30fda80826def2f62c641511c67cc29a81a7c04
|
|
| MD5 |
ff17db55584705c6a5e2cfe3f76ab1b0
|
|
| BLAKE2b-256 |
01cb68b5faebe210ce72733d7d1e78768e6e170efd4b75e243a9dce889ffd0b8
|