Show HN: GPTDuck – Ask questions about any GitHub repo
51–58 of 58 posts
Re: Show HN: GPTDuck – Ask questions about any GitHub repo
#52Re: Show HN: GPTDuck – Ask questions about any GitHub repo
#53I thought I'd throw it a curveball: https://github.com/chbarts/particle-abcs And my question: > What language is this written in? The answer: > This appears to be a poem written in English. It is written in a form that is often used for teaching purposes, in which each letter of the alphabet is associated with a concept related to a particular field of study. In this case, the poem is about quantum field theory and p…
[flagged]
Re: Show HN: GPTDuck – Ask questions about any GitHub repo
#54Hey guys - creator here. Have hit the Github rate limit and currently not working! Am trying to fix! Thanks for all the support!
Might be worth asking users to "login with GitHub" to get past the rate limits (the anonymous rate limits are lowwww like 10 per hour). Logging with GitHub is still lowish but like 1k per hour or so. (IIRC)
Not worth the risk just to play around with a site.
Re: Show HN: GPTDuck – Ask questions about any GitHub repo
#55This appears to be quite nice assuming it works, but I wonder: how does this work? I thought ChatGPT could only process a very limited context (a few thousand words or so) and this claims to work for repositories The site says: "we will download [the repo] to the server and create embeddings against the code". What kind of embeddings are these?
It uses the OpenAI embedding models to get around the context window problem. You can compress large amounts of text/code into just a few tokens.
Re: Show HN: GPTDuck – Ask questions about any GitHub repo
#56I thought I'd throw it a curveball: https://github.com/chbarts/particle-abcs And my question: > What language is this written in? The answer: > This appears to be a poem written in English. It is written in a form that is often used for teaching purposes, in which each letter of the alphabet is associated with a concept related to a particular field of study. In this case, the poem is about quantum field theory and p…
Re: Show HN: GPTDuck – Ask questions about any GitHub repo
#57"'NoneType' object has no attribute 'similarity_search'. Try logging in and entering your own Github access token."
Re: Show HN: GPTDuck – Ask questions about any GitHub repo
#58I was building something on similar lines. It is a semantic search engine for codebases using Openai's embedding and FAISS https://github.com/rahuldan/codesearch
It fetches the functions in the code for a query