Earlier quoted context omitted.
I'm curious why you're using your key? I want to try this out on my work codebase, but for security reasons it would be better to use my own key, since I don't know if OpenAI might decide to share API search history with whoever owns the key.
It wouldn’t be a free version if you have to bring your own key. I agree an option would be a good idea.
Launch HN: Bloop (YC S21) – Code Search with GPT-4
41–50 of 131 posts
Re: Launch HN: Bloop (YC S21) – Code Search with GPT-4
#42I have to ask the obvious question, with GPT4 able to write code to solve the problem itself, why would I bother searching for existing code?
Re: Launch HN: Bloop (YC S21) – Code Search with GPT-4
#43"Precise code navigation in 10+ languages helps you move quickly through refs and defs" I can't find any mention of which languages are supported - can anyone point me in the right direction?
We currently support Go, JS/TS, JSX/TSX, Python, Rust, C#, Java, C/C++
Re: Launch HN: Bloop (YC S21) – Code Search with GPT-4
#44From the Codeium ( https://www.codeium.com ) team here! Exciting to see more teams take on the code search problem - modern pure regex definitely is a suboptimal solution. Just to objectively highlight some of the similarities and differences between Bloop and Codeium Search (Codeium also provides Autocomplete) to a user: - Both are free for individuals - Both use a mix of AI and regex - Bloop has both free local and…
Re: Launch HN: Bloop (YC S21) – Code Search with GPT-4
#45"Precise code navigation in 10+ languages helps you move quickly through refs and defs" I can't find any mention of which languages are supported - can anyone point me in the right direction?
We currently support Go, JS/TS, JSX/TSX, Python, Rust, C#, Java, C/C++
If I see "10+ languages" but it's actually 10, no wait, actually 8, then I'm just getting progressively let down.
Re: Launch HN: Bloop (YC S21) – Code Search with GPT-4
#46Wouldn’t it make more sense for any company to have only ONE interface to use GPT that is wired with some (or all) parts of the company digital assets? Text is already flexible enough to allow such a universal interface.
Re: Launch HN: Bloop (YC S21) – Code Search with GPT-4
#47Very interesting. I want you to know that > ‘Private’ here means that no code is shared with us or OpenAI at index time, and when a search is made only relevant code snippets are shared to generate the response. (This is more or less the same data usage as Copilot). is the reason I went from "ha, cool tool" to "okay, let me go download it". Quite surprised that you don't actually have a login wall to download. Missin…
Re: Launch HN: Bloop (YC S21) – Code Search with GPT-4
#48"Precise code navigation in 10+ languages helps you move quickly through refs and defs" I can't find any mention of which languages are supported - can anyone point me in the right direction?
I used TreeSitter which I thought was pretty awesome though because it allows for parsing a TON of different languages. I had to parse the languages to create the different code snippet strings. I don't want to create a code snippet of half a function for example..
So TreeSitter parses the code into an AST and I send each different AST node to OpenAI to get the vector (I optimized this so multiple nodes of the same AST type are combined). Send the prompt to OpenAI to get a vector. Find the most similar code snippets to the prompt and include them at the top of a prompt to ChatGPT.
This is the same idea right? If anyones interested it can be found here: https://bbarrows.com/posts/using-embeddings-ada-and-chatgpt-...
https://github.com/bebrws/openai-search-codebase-and-chat-ab...
Re: Launch HN: Bloop (YC S21) – Code Search with GPT-4
#49I don’t understand these new saas that rely on GPT. It surely is my lack of understanding, but since the interface to GPT is mainly text: why any company would pay for N different GPT saas (e.g., one for searching for code, another for searching for documentation on confluence, another for allowing your business analysts with their queries, etc.)? Wouldn’t it make more sense for any company to have only ONE interface…
Re: Launch HN: Bloop (YC S21) – Code Search with GPT-4
#50I don’t understand these new saas that rely on GPT. It surely is my lack of understanding, but since the interface to GPT is mainly text: why any company would pay for N different GPT saas (e.g., one for searching for code, another for searching for documentation on confluence, another for allowing your business analysts with their queries, etc.)? Wouldn’t it make more sense for any company to have only ONE interface…
Also, why as a customer would care if you use GPT or something else? It is because it is a buzzword?