Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX Error running pipeline! #1465

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pakdamanAli
Copy link

@pakdamanAli pakdamanAli commented Dec 4, 2024

Description

Length of values (X) does not match length of index (Y)

fix an issue in the _text_embed_with_vector_store function where missing values (NaN or None) in the embed_column caused a mismatch in lengths between the processed embeddings and the original dataframe during the return operation.

Related Issues

None

Proposed Changes

Added handling for missing values in the embed_column by replacing them with empty strings using

input[embed_column] = input[embed_column].fillna(" ")

Ensured that all input rows are properly accounted for, preventing length mismatches.

Checklist

  • I have tested these changes locally.
  • I have reviewed the code changes.

Additional Notes

None

@pakdamanAli pakdamanAli requested review from a team as code owners December 4, 2024 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant