Skip to content

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

Closed

Description

@eddyxu

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

Activity

  1. added
    enhancement
    good first issue
    help wanted
    on Sep 20, 2024
  2. added this to the LanceDB Papercuts milestone on Sep 20, 2024
  3. SiluPanda commented on Apr 26, 2026

    @SiluPanda

    Hi maintainers — I’d like to work on this if it’s still available. I’ll keep the first PR focused and add/update tests or docs where appropriate. Please let me know if there’s any preferred implementation direction before I start.

  4. VathareVinayak commented on Aug 22, 2026

    @VathareVinayak
    Contributor

    Hi @eddyxu , I have proposed a solution for the issue you created. Please review it and feel free to share your feedback or inputs.

  5. eskayML commented on Sep 14, 2026

    @eskayML

    i think storing None and logging the bad line is the right default here. dropping rows by default will hide bad inputs and make reruns harder to reason about.

    if you want, i can take this on and keep the first pass tight with tests around vector_column == null. should i proceed?

  6. added a commit that references this issue on Oct 22, 2026
    ae97d43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgood first issuehelp wanted

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions