talk-codebase is a powerful tool for querying and analyzing codebases.
Project description
talk-codebase
Talk-codebase is a tool that allows you to converse with your codebase using Large Language Models (LLMs) to answer your queries. It supports offline code processing using LlamaCpp and GPT4All without sharing your code with third parties, or you can use OpenAI if privacy is not a concern for you. Please note that talk-codebase is still under development and is recommended for educational purposes, not for production use.
Installation
Requirement Python 3.8.1 or higher Your project must be in a git repository
pip install talk-codebase
After installation, you can use it to chat with your codebase in the current directory by running the following command:
talk-codebase chat <path>
Select model type: Local or OpenAI
OpenAI
If you use the OpenAI model, you need an OpenAI API key. You can get it from here. Then you will be offered a choice of available models.
Local
If you want some files to be ignored, add them to .gitignore.
Reset configuration
To reset the configuration, run the following command:
talk-codebase configure
Advanced configuration
You can manually edit the configuration by editing the ~/.config.yaml
file. If you cannot find the configuration file,
run the tool and it will output the path to the configuration file at the very beginning.
Supported Extensions
-
.csv
-
.doc
-
.docx
-
.epub
-
.md
-
.pdf
-
.txt
-
popular programming languages
Contributing
- If you find a bug in talk-codebase, please report it on the project's issue tracker. When reporting a bug, please include as much information as possible, such as the steps to reproduce the bug, the expected behavior, and the actual behavior.
- If you have an idea for a new feature for Talk-codebase, please open an issue on the project's issue tracker. When suggesting a feature, please include a brief description of the feature, as well as any rationale for why the feature would be useful.
- You can contribute to talk-codebase by writing code. The project is always looking for help with improving the codebase, adding new features, and fixing bugs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for talk_codebase-0.1.47-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28eca98deacb0a244e4514974c71363c14ca5fd45cc98c30da83a2af4ba7133c |
|
MD5 | cd6e0baa74a8b9d68223ddce6f728a11 |
|
BLAKE2b-256 | 2c61cda0dc4f375f07de688308b5aa9238d27a1acf08364f7cfe605a751bbbdc |