-
Couldn't load subscription status.
- Fork 24
Update client version, update tests for new retriever format and update auth flow #80
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
base: main
Are you sure you want to change the base?
Update client version, update tests for new retriever format and update auth flow #80
Conversation
|
We also need to figure out what type of release to do for this. The suggestion from Enrico was to do a 0.4.0 release although this would be a major version change we are still in 0.X |
|
@miguelgrinberg a point that came out of talking with @ezimuel about this PR was if we really need a commit the poetry lock file to this repo since this is more of a library than a deployable application. I think the repo was using client version 8.15.1 even though we defined it as ^8.15.1 because the lock file used an old version of poetry that is incompatible with newer versions of the client. What do you think? |
|
@ssh-esh The lockfile does not need to be in the repo, I agree. But removing the lockfile does not address the problem. Correct me if I'm wrong, but if you say |
|
monas
Yes absolutely the lock file was a separate problem and will not address the main issue here Based on yours and @ezimuel comments here is my understanding of next steps:
Please let me know if I have missed anything and my understanding is clear 👍 |
|
@ssh-esh I apologise if you mentioned this before and I forgot, but what is the versioning problem you are trying to address? As I mentioned before, the logic in the Python client is able to identify when the old or new RRF style has to be used on the fly. We've looked at this long ago. The only real problem I see is that we are not allowing people to use the v9 client, and that has no easy solution except waiting until everyone migrates to the v9 server and we can change the dependency to Update: after reading the poetry docs on caret version dependencies, the |
6348aac to
37d8b73
Compare
|
Summary of changes since the last comment made by @miguelgrinberg :
|
Adding more flexibility for the versions here instead of carats, i am using >= on the same version numbers and allow poetry to resolve the highest possible versions. It will not install v1 langchain as that requires a minimum python version of 3.10,right now we support 3.9. It should be enough for a 0.4.0 release and then we will support v1 langchain when we release v1 langchain-elastic 👍 |
|
After some feedback the last few commits will
|
Issues
Closes #79
Closes #81
Description
Note: Apologies to the reviewers, in hindsight this should have been probably two separate PRs. If it becomes difficult to review then I will split it and close this PR. I will try to split the concerns by commits for easy review
The lock file changes seem quite extensive but I think it is due to poetry being upgraded from 1.84 -> 2.1.4. The old lock file is incompatible with the new client it seems so i had to do a
poetry lockcommand to generate this lock file 🤔