talk-codebase/README.md
Saryev Rustam f9a31937bb Refactored CLI and LLM classes
- Refactored the CLI and LLM classes to improve code organization and readability.
- Added a  function to create an LLM instance based on the config.
- Moved the  function to the  and  classes.
- Added a  function to handle loading an existing vector store.
- Added a  function to estimate the cost of creating a vector store for OpenAI models.
- Updated the  function to prompt for the model type and path or API key depending on the type.
- Updated the  function to use the  function and  method of the LLM instance.
- Updated the default config to include default values for  and .
- Added a  constant to store the default config values.
- Added a  constant to store the default model path.
2023-05-30 01:12:31 +03:00

1.4 KiB

talk-codebase: A Tool for Chatting with Your Codebase

Node.js Package

chat

Description

Talk-codebase is a powerful tool that allows you to converse with your codebase. It uses LLMs to answer your queries.

You can use GPT4All for offline code processing without sharing your code with third parties. Alternatively, you can use OpenAI if privacy is not a concern for you. You can switch between these two options quickly and easily.

Installation

pip install talk-codebase

Usage

Talk-codebase works only with files of popular programming languages and .txt files. All other files will be ignored.

# Start chatting with your codebase
talk-codebase chat <directory>

# Configure or edit configuration ~/.config.yaml
talk-codebase configure

# Help
talk-codebase --help

Requirements