[IMP] ai: add documentation about pgvector#17852
Conversation
9c29426 to
f757ce3
Compare
The PostgreSQL extention `pgvector` is required in order for users to use the AI features when they are self hosting Odoo. The documentation did not mention `pgvector` at all though, In this commit we add some installation instructions for pgvector. Issue-17800
f757ce3 to
d09b40a
Compare
AntoineVDV
left a comment
There was a problem hiding this comment.
Hey @pkyriakou, thanks for updating this for everyone 🙂
| If you want to use **Odoo's AI features**, the `pg-vector` PostgreSQL extension is required. | ||
| Note that `pg-vector` is available only for postgres version 15 and up. |
There was a problem hiding this comment.
Single line returns don't do anything in RST. Make it a separate paragraph:
| If you want to use **Odoo's AI features**, the `pg-vector` PostgreSQL extension is required. | |
| Note that `pg-vector` is available only for postgres version 15 and up. | |
| If you want to use **Odoo's AI features**, the `pg-vector` PostgreSQL extension is required. | |
| Note that `pg-vector` is available only for postgres version 15 and up. |
| If you want to use **Odoo's AI features**, the `pg-vector` PostgreSQL extension is required. | ||
| Note that `pg-vector` is available only for postgres version 15 and up. |
There was a problem hiding this comment.
| If you want to use **Odoo's AI features**, the `pg-vector` PostgreSQL extension is required. | |
| Note that `pg-vector` is available only for postgres version 15 and up. | |
| If you want to use **Odoo's AI features**, the `pg-vector` PostgreSQL extension is required. | |
| Note that `pg-vector` is available only for PostgreSQL version 15 and up. |
|
|
||
| $ sudo npm install -g rtlcss | ||
|
|
||
| .. note:: |
There was a problem hiding this comment.
Move this note in the PostgreSQL section.
|
|
||
| .. tabs:: | ||
|
|
||
| .. group-tab:: Linux and macOS |
There was a problem hiding this comment.
Although this works, it would be better to keep separate Linux and macOS tabs in the context of this page, because tabs are synchronized by title, and users won't have to click tab headers in every section they read.
|
|
||
| #. Navigate to your temporary folder | ||
|
|
||
| .. tabs:: |
There was a problem hiding this comment.
Rather than split the instructions at the steps level, which is a bit messy, move your tabs above the numbered list for a cleaner structure.
| .. tabs:: | ||
|
|
||
| .. group-tab:: Linux and macOS | ||
| If you run into any issues during installation, make sure to check the official `installation notes <https://github.com/pgvector/pgvector#installation-notes---linux-and-mac>`_ |
There was a problem hiding this comment.
This should rather be moved to the end of the Linux and macOS tabs' content.
| $ sudo make install | ||
|
|
||
| .. group-tab:: Windows | ||
| Ensure C++ support in Visual Studio is installed and `run x64 Native Tools Command Prompt for VS [version]` as administrator |
There was a problem hiding this comment.
This sounds like a numbered step on its own.

The PostgreSQL extention
pgvectoris required in order for users to use the AI features when they are self hosting Odoo. The documentation did not mentionpgvectorat all though,In this commit we add some installation instructions for pgvector.
Issue-17800