Skip to content

bug fix: embeddings -> embedding #134

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

Merged
merged 6 commits into from
Sep 19, 2023
Merged

Conversation

starrywheat
Copy link
Contributor

wrong spelling in embedding

@jjmachan
Copy link
Member

Hey @starrywheat there seems to be a conflict here. Could you address that?

also are you there on Discord? would love to chat more there 🙂

@jjmachan
Copy link
Member

Hey @starrywheat after thinking a bit more about it I think it's better with embeddings because the langchain base class is named embeddings. It's a minor detail but I feel it would avoid a small confusion down the line.

I'm closing this now but feel free to reopen with your reasons if you still feel that change is needed.

@jjmachan jjmachan closed this Sep 15, 2023
@starrywheat
Copy link
Contributor Author

starrywheat commented Sep 15, 2023

@jjmachan there is still bug unfixed.
The class variable self.embedding is not consistent in the script.
E.g. some of them are self.embeddings and some are self.embedding
Let's make them all to self.embeddings

@jjmachan
Copy link
Member

ahh I see, my appologies then. I'm reopening this and we can work off this PR itself.

@jjmachan jjmachan reopened this Sep 16, 2023
@starrywheat
Copy link
Contributor Author

starrywheat commented Sep 16, 2023

@jjmachan Thanks for reopening the PR.
I created the misspelling in the first place, so I feel like I have to fix it :)

And according to your suggestion, I have now use self.embeddings for all the variable name.
Latest updates: all checks passed !

@jjmachan
Copy link
Member

Thank you @starrywheat for going through the trouble :)

@jjmachan jjmachan merged commit eb9da37 into explodinggradients:main Sep 19, 2023
@jjmachan
Copy link
Member

Hey @starrywheat
Thank you so much for helping us improve ragas with your PR ❤️
Now since it's Christmas and all we wanted to send you a postcard and a couple of stickers as our way of saying thank you for your contribution. If you are interested could you shoot an email at jamesjithin97@gmail.com and I'll tell you more?

Cheers 🙂
Jithin

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.

2 participants