Read Any Github Repo with LangChain + OpenAI

preview_player
Показать описание
If you any need help, join my Discord server SUNNYGANG:

In this video we check out LangChain and how we can use it to ask GPT questions about a Github Repo.

Github:

LangChain:

openAI:

webdock VPS affiliate link:
Рекомендации по теме
Комментарии
Автор

I have been updating the code, so there will be some improvements if you check the repo!

Stay tuned for updates!

cmoorelabs
Автор

have you thought of using a vector database to hold the contents of the repo? it is also specified in the documentation in the example section of langchain

tocutandrei
Автор

Pretty great idea. Will be very handy to run this in a pipeline with azure devops to automatically create documentation notes about the files in a repo for example

Alex-muue
Автор

this is freaking AWESOME BRO! keep it up ⭐⭐⭐⭐⭐

programador-visual
Автор

Broooo I’m so glad I found this. This was on my task list. Glad It’s done already 😭

Licardo
Автор

damn cool, thank you for making this easy for us

milesmules
Автор

That's great!
BTW I always get an error:
This model's maximum context length is 4097 tokens, however you requested 53370 tokens`

How can I reduce the prompt size?

EilonEilstein
Автор

Great tool thanks for releasing. Do you think using a vector database would improve relevance of docs returned to answer questions?

TomanswerAi
Автор

Bro that's awesome!
But how do you include the "glob_pattern" in the Notebook loader? seems like it's always gonna stuck because you only pass it the repo path

EilonEilstein
Автор

Hey man great stuff. I've just forked this code and for some reason the NLTK download function would not work! So I make it a requests call and unzip. Also Langchain are developing fast so I changed the OpenAI to the ChatOpenAI and specified the model in it because for some reason without that it was defaulting to the first LLM haha.
Hoping to add a wrapper like LiteLLM or Hugginface for model selection.

StuartAtkinson
Автор

Hey will you continue working on this?

siba
Автор

Can we use some open source LLM, instead of OpenAI?

smalirizvi
Автор

If you were to ask it to generate unit tests for a class will it be able to?

TheLordOfWolves
Автор

How to read files without an extension like Dockerfile

shivamkumar-qpjm
Автор

Your videos will better if you increase the vscode font size, so watchers can see your code and follow along

smtp_yurzx