Find answers from the community

Updated 11 hours ago

Add longllmlingua2 integration by titusl...

Hello! I took a stab at sprucing up LlamaIndex's integration with llmlingua (to include integration with llmlingua2) but the linting action failed at the MakeFile xD

Not sure how to clear it - anyone got an idea?

https://github.com/run-llama/llama_index/pull/17531
L
t
12 comments
do you have pre-commit installed? If you do, it runs all the linting for you on commit

alternatively, you can run make lint and it should modify the files (or print errors for files it couldn't modify)
Thanks for adding this!
If you cant quite get it to work, I can push to your PR branch in a bit too
Oops sorry! I went to bed right after 😅 I can take a look again later!
It’s funny because I didn’t edit the MakeFile at all but the linting failed on it haha
@Logan M I saw that you merged to main!! Does this mean I can stop working on it?
No, i was just fixing unrelated upstream things lol, merging main into your branch
Does running make lint not work for you?
Oh lol!! Sorry! Was in meetings all morning (in Singapore). Can only work on it later! Update you when I can
updated! Passed everything! Had to install pre-commit and then I ran make --debug lint. Thanks @Logan M!
sorry sorry I just realized that my current code loses all the metadata within the nodes so I refactored my code a little to preserve it! it's good to go now @Logan M!
nice! I'll take a look today and hopefully get it merged. Thanks for the effort 🙏
Add a reply
Sign up and join the conversation on Discord