Prepare openai_embeddings module for multiple plugins beyond pinecone

Created on 8 November 2023, about 1 year ago
Updated 9 November 2023, about 1 year ago

Problem/Motivation

Currently Pinecone is set up as a plugin, but its hard-coded in in the queue worker.
A follow-up could be to define the config within the plugin instead of in the settings form, but trying to keep the scope of this small enough for easy review & merge.

Steps to reproduce

Attempt to create another plugin like Weviate or eventually MySQL/Postgres

Proposed resolution

Untie it a bit so other plugins can be used

Remaining tasks

MR coming shortly

User interface changes

User must choose the plugin. Update hook maintains the status quo by selecting pinecone for existing sites.

API changes

None

Data model changes

Adds plugin selection for vector client choice

πŸ› Bug report
Status

Fixed

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