Pass Search API Server object to AiVdbProvider plugins for more context

Created on 28 April 2025, about 22 hours ago

Problem/Motivation

Some Vector Database providers like Postgres require more context to perform requests to the server, for example metric type should be taken from Search Api Server backend configuration. So it should be a good idea to pass the server object to plugin, so that it can be used to get more information during query and index time.

Steps to reproduce

Check https://www.drupal.org/project/ai_vdb_provider_postgres β†’

Proposed resolution

Create a trait and set server to vector db provider plugin when initializing it with Search API backend.

✨ Feature request
Status

Active

Version

1.1

Component

AI Search

Created by

πŸ‡©πŸ‡ͺGermany a.dmitriiev

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024