Leverage Key module for storage of Vector Storage API details

Created on 23 November 2023, about 1 year ago

Problem/Motivation

As spotted in https://www.drupal.org/project/search_api_milvus/issues/3403280 🐛 Clean up API client and Milvus Backend, getting them closer to working state Needs review module by @eleonel the Key module is leveraged there. It makes sense to use the same approach here for Key storage to give developers more flexibility around this.

Steps to reproduce

Attempt to use any Vector Storage client - Keys are stored in config.

Proposed resolution

Add dependency to Key within OpenAI Embeddings sub-module

Remaining tasks

Update code

User interface changes

User must configure Key via Key module, then select it here

API changes

None

Data model changes

Key no longer stored in config here, only machine name of key from Key module.

Feature request
Status

Active

Version

1.0

Component

OpenAI Embeddings

Created by

🇬🇧United Kingdom scott_euser

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

Comments & Activities

Production build 0.71.5 2024