Skip to main content

gpt-code-search enables you to search your codebase with natural language.

Project description

gpt-code-search

logo

gpt-code-search enables you to search your codebase with natural language using GPT-4.

Problem

You want to leverage the power of GPT-4 to search your codebase, but you don't want to manually copy and paste code snippets into a prompt nor send your code to another third-party service.

This tool solves these problems by letting GPT-4 determine the most relevant code snippets within your codebase. This removes the need to copy and paste or send your code to another third-party. Also, it meets you where you already live, in your terminal, not a new UI or window.

Examples of the types of questions you might want to ask:

  • 🐛 Help debugging errors and finding the relevant code and files
  • 📝 Document large files or functionalities formatted as markdown
  • 📨 Ask general questions about any part of the code
  • 🛠️ Generate new code based on existing files and conventions

Features

  • 🧠 GPT-4: code search, retrieval, and answering all done with OpenAI and function calling.
  • 🔐 Privacy-first: code snippets only leave your machine when you ask a question and the LLM requests the relevant code.
  • 🔥 Works instantly: no pre-processing, chunking, or indexing, get started right away.
  • 📦 File-system backed: works with any code on your machine.

Getting Started

TODO

Privacy

Outside of the LLM, no data is sent or stored.

The only data sent to LLM is the question you ask and the code snippets that is requests related to your question. All code snippets are retrieved from your local machine.

Wolfia Codex

This tool is a simplified version of Wolfia Codex, a cloud tool that enables you to ask any question about open source and private code bases like Langchain, Vercel ai, or gpt-engineer.

If you're looking for a more powerful tool, or avoiding the setup, check out Wolfia Codex, search codebases, share your questions and answers, and more!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gpt_code_search-0.0.1.tar.gz (9.5 kB view hashes)

Uploaded Source

Built Distribution

gpt_code_search-0.0.1-py3-none-any.whl (10.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page