Update return values of vector client plugins to return consistent results

Created on 26 November 2023, about 1 year ago

Problem/Motivation

We currently pass back results as is from the API response. However, this then means that for example:

  1. Pinecone returns and array of 'matches'
  2. Milvus returns an array of 'data'

Steps to reproduce

Proposed resolution

Normalise the results to have a consistent format across these and future plugins.

Remaining tasks

Update interface and plugins

User interface changes

None

API changes

Updated plugins & interface for vector database clients.

Data model changes

Returning a normalised response from the API.

📌 Task
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