Skip to content

Conversation

@lgabs
Copy link
Collaborator

@lgabs lgabs commented Jun 3, 2024

Solves #199

Copy link
Member

@vmesel vmesel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some minor changes, looks good to me on code, but need to test locally before we merge it



def get_document_pk(doc: Document) -> str:
return (
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My only concern here is that a string with special characters could break this logic on some level on the database side, I would just do a hash on top of this concatenation that would prevent anything of this to happen.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh yes, I forgot to aplpy hash again, at some point I've missed it

@lgabs lgabs changed the title [WIP] Update load_csv to use Langchain CSVLoader Jun 3, 2024
@lgabs lgabs closed this Jun 3, 2024
@lgabs lgabs deleted the update-load-csv-for-langchain-csv-loader branch June 3, 2024 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants