quivr
quivr copied to clipboard
Can you support uploading GitHub repolinks?
Can you support uploading GitHub warehouse links? such as: https://github.com/panjh/dxflib.git
Yea ! That would require a new kind of loader. Interesting in doing it ? ;)
Yea ! That would require a new kind of loader. Interesting in doing it ? ;)
For programmers, I think this will be a very useful feature Imagine your boss quickly familiarizing you with a niche source code library, but there are few online reference materials Therefore, it's great to have GPT help us read the source code
Agreed 👍
Would this only load the README in the root of the project and save it, or more than that?
There is a git loader in langchain that could be used.
@StanGirard I'd be up to help with this.
I want to think a bit about what this implementation might look like (which file extensions / folders we might want to exclude by default in the import, etc.), but I can post a plan of attack here this weekend and get feedback before starting on it.
The implementation would be:
Feed the url In the crawl endpoint if the url has GitHub in it and then finishes with .git then we load the GitHub repo :)
Ah, you're 100% right - we can just trust that the user has made decisions via their .gitignore
and take all files.
Any objections to also looking for gitlab.com
URLs in addition to github.com
?
I am starting on this
Exactly ! There is even a git loader if interested.
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/git.html#clone-repository-from-url
Please let me know if I should create a separate issue for this:
Uploading Github repos is not working for me, assuming I am doing it correctly.
If I drag and drop the repo as a file or enter it as a url to be crawled, I see an error in the backend saying '402 Payment Required.'
I am running quivr locally.
Ah, you're 100% right - we can just trust that the user has made decisions via their
.gitignore
and take all files.Any objections to also looking for
gitlab.com
URLs in addition togithub.com
?I am starting on this
An update on my end - while I still plan to finish this, I have not gotten the gitloader functionality built yet. This request to add the functionality remains open for now.
I'm look forward to this feature and dropping the quivr repo into it. I'll be a lot better at helping out and providing feedback afterwards. :)
I tried this feature again seeing as their was a recent update. I tried crawling the quivr repo so I can hopefully not have to bug others with dilettante questions and maybe be able to contribute here and there.
It looked like it worked in the end but their was a message in the browser that said it failed.
Just an update - I am no longer actively working on this in case someone else would like to grab it.
Thanks for your contributions, we'll be closing this issue as it has gone stale. Feel free to reopen if you'd like to continue the discussion.
Thanks for your contributions, we'll be closing this issue as it has gone stale. Feel free to reopen if you'd like to continue the discussion.