Go to file
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
.github Create python-publish.yml 2023-05-26 11:40:46 +03:00
talk_codebase Refactored CLI and LLM classes 2023-05-30 01:12:31 +03:00
.DS_Store Refactored CLI and LLM classes 2023-05-30 01:12:31 +03:00
.gitignore Add spinner to indicate loading files 2023-05-26 21:38:24 +03:00
poetry.lock Refactored CLI and LLM classes 2023-05-30 01:12:31 +03:00
pyproject.toml Refactored CLI and LLM classes 2023-05-30 01:12:31 +03:00
README.md Refactored CLI and LLM classes 2023-05-30 01:12:31 +03:00
requirements.txt feat: add cost calculation and approval prompt for vector store creation 2023-05-27 17:13:39 +03:00

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