Skip to content
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.

fix: use id variable in data dict #50

Merged
merged 1 commit into from
Aug 30, 2023
Merged

fix: use id variable in data dict #50

merged 1 commit into from
Aug 30, 2023

Conversation

Jaikant
Copy link
Contributor

@Jaikant Jaikant commented Aug 30, 2023

In the line dataDict.id = { doc: documents[i], meta: metadatas[i] };, we are not using the variable id. It should be dataDict[id] = { doc: documents[i], meta: metadatas[i] };.

In the line dataDict.id = { doc: documents[i], meta: metadatas[i] };, we are not using the variable id. It should be dataDict[id] = { doc: documents[i], meta: metadatas[i] };.
@cachho
Copy link
Contributor

cachho commented Aug 30, 2023

You're right, merging this.

@cachho cachho changed the title Update embedchain.ts fix: use id variable in data dict Aug 30, 2023
@cachho cachho merged commit 4b2c513 into mem0ai:main Aug 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants