Go to file
2023-07-17 00:20:04 +04:00
.github Create python-publish.yml 2023-05-26 11:40:46 +03:00
talk_codebase update project version, add local model images to README, and remove default local model from consts.py 2023-07-12 03:55:35 +03:00
.gitignore Merge pull request #1 from rsaryev/feat/local 2023-05-30 09:24:38 +03:00
LICENSE Create LICENSE 2023-07-17 00:20:04 +04:00
poetry.lock Bump version to 0.1.42 refactor BaseLLM 2023-07-05 13:59:22 +03:00
pyproject.toml update project version, add local model images to README, and remove default local model from consts.py 2023-07-12 03:55:35 +03:00
README.md update project version, add local model images to README, and remove default local model from consts.py 2023-07-12 03:55:35 +03:00
requirements.txt Bump scipy from 1.9.3 to 1.10.0 2023-07-11 23:18:17 +00:00

talk-codebase

Node.js Package

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.

chat

Installation

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 .

Select model type: Local or OpenAI

select_type

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.

select

Local

Снимок экрана 2023-07-12 в 03 47 58

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.