Update VectorClientInterface to allow for varying parameters

Created on 10 November 2023, 8 months ago
Updated 26 November 2023, 7 months ago

Problem/Motivation

Follow-up to https://www.drupal.org/project/openai/issues/3400627 ✨ Finish VectorClient plugin code. Active
The parameters from Pinecone seem quite specific to Pinecone and may not match others.

Steps to reproduce

Now that we have another vector client, I can see this is a problem. Eg ::query() for Milvus & ::query() for Pinecone are very different.

Proposed resolution

Pass a single array $parameters = []; and throw exceptions if any required parameters are missing.

Remaining tasks

Decide approach and implement

User interface changes

TBD

API changes

TBD

Data model changes

TBD

πŸ“Œ Task
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

Merge Requests

Comments & Activities

Production build 0.69.0 2024