|
|
|
Show HN: Tzap – Simple contextual code generation
(tzap.io)
|
|
4 points
by Alexanfa
1120 days ago
|
|
One of the notable limitations of GPT when generating code is its generic answers; to remedy this we've built Tzap. We index your entire repository using embeddings which enables GPT to give contextual code suggestions. Just ask it a very specific question, and it'll generate a solution that fits your codebase seamlessly. For instance, you can ask Tzap, "How do I implement a new endpoint that enables customers to pay and add a Stripe subscription?". Regardless of your backend setup—be it GraphQL, Express, or Java Spring — Tzap will search your existing code and endpoints and propose a contextualised Stripe subscription solution. Or, you might be looking to refactor some dependencies; just query Tzap with "In 'file_name.a' I have 'function x' that is depended on by 'file_name.b' and 'file_name.c', refactor away this dependency", and watch it do the magic. Tzap functions:
* tzap prompt: Indexes your entire repository
* tzap commit: Applies semantic Git commit messages based on a Git diff
* tzap search: Search in natural language and find things like where you defined or used a particular variable or function, e.g., "Where did I define 'User'?" or "Where did I use 'User'?". We'd love to hear about how you're using GPT and if we can help you out! |
|