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.
Metadata
Release files for talk-codebase 0.1.50
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| talk_codebase-0.1.50.tar.gz | 7.5 kB | Without provenance | Details for talk_codebase-0.1.50.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| talk_codebase-0.1.50-py3-none-any.whl | Python 3 | none | any | Details for talk_codebase-0.1.50-py3-none-any.whl |
Total release size: 16.9 kB
Release files / talk_codebase-0.1.50.tar.gz
| Download URL | talk_codebase-0.1.50.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b3d5964fbea940cfebb83221e7d4317c2ab8533164e9c7011f3818097fe18bd0
|
|
BLAKE2b-256 checksum How to use checksums |
ac0bd987c9be0b8a7f00289d060e53ff5d36f8f86188716ecb846873b0dd291c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / talk_codebase-0.1.50-py3-none-any.whl
| Download URL | talk_codebase-0.1.50-py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
043132d42f9be963d573c0a92f3bc83e310156c62253bfd07ef30254c90dad31
|
|
BLAKE2b-256 checksum How to use checksums |
62675c558251fae371c11af7694936543d9b001c671c740a4774c28f1ac5a22e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Security for talk-codebase 0.1.50
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.