lancedb/lancedb

Feature: openai embedding function returns None if the result is not valid

Open

Aperta il 20 set 2024

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)HTML (10.303 star) (876 fork)batch import
enhancementgood first issuehelp wanted

Descrizione

SDK

Python

Description

Be able to handle error easier, we can

  1. Set the return embedding as None
  2. logging the line where it is error.
  3. Allow user either drop the row or store the row with None embedding, so users can later to rerun the ingestion with filter vector_column == null

Guida contributor