Viindoo AI - Brain Bridge (viin_ai_brain)
Layer-3 connector that wires the viin_brain knowledge engine into the
AI runtime (viin_ai / viin_ai_rag / viin_ai_agent). Ships:
- Two new viin.ai.source types - brain_page and brain_vault -
with block-aware chunking (one chunk per block, preserving block_type,
page_name and AI attribution metadata).
- A write hook on viin.brain.page that re-flags attached sources for
re-embedding whenever page content changes.
- A Knowledge Base Assistant topic and 11 tools mapping the 5
philosophies - semantic search, graph traversal, temporal query (3 tools),
getter, three writers and two link creators.
- A /viin_ai_brain/wysiwyg/prompt + /viin_ai_brain/wysiwyg/alternatives
controller pair so the editor's AI writing dialog routes prompts through a
Viindoo agent instead of calling a vendor API directly.
- A /viin_ai_brain/ai_block/fill controller that resolves inline
ai_block prompts through the same agent loop.
- Service overrides for viin_brain.ai_bridge and
viin_web_editor.chatgpt_backend_provider, plus three Powerbox commands
(/ai_write, /ai_chat, /ai_block) registered via Powerbox registry
(WI-B3: the legacy viin_web_editor.commands BrainSlashMenu path is removed).
Every write performed by a tool carries the T5 attribution payload
(agent_id, trace_id, confidence) and is stamped
ai_review_status='pending_review' unless the target vault opts in
to auto_approve_ai_content.
Editions Supported
- Viindoo 17 Community Edition
- Viindoo 17 Enterprise Edition (requires viin_brain)
- Viindoo 17 SaaS (PostgreSQL with pgvector; see viin_ai_rag)
This software and associated files (the "Software") may only be
used
(executed, modified, executed after modifications) if you have
purchased a
valid license from the authors, typically via Odoo Apps,
or if you
have
received a written agreement from the authors of the
Software (see the
COPYRIGHT file).
You may develop Odoo modules that use the Software as a library
(typically
by depending on it, importing it and using its
resources), but
without
copying any source code or material from the
Software. You may distribute
those modules under the license of your
choice, provided that this
license
is compatible with the terms of
the Odoo Proprietary License (For
example:
LGPL, MIT, or proprietary
licenses similar to this one).
It is forbidden to publish, distribute, sublicense, or sell
copies of the
Software or modified copies of the Software.
The above copyright notice and this permission notice must be
included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT
SHALL THE
AUTHORS OR COPYRIGHT HOLDERS
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING
FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE
SOFTWARE.