talk-codebase/README.md
Saryev Rustam 5f08927c76 Refactor text loader and add repo check
- Refactored the text loader in utils.py to improve readability and maintainability.
- Added a new function called  in utils.py to check if the current directory is a git repository.
- Modified the  function in utils.py to ignore files and directories ignored by git.
- Added error handling to  function in utils.py to return  if the current directory is not a git repository.
2023-05-27 04:20:40 +03:00

1.2 KiB

talk-codebase is a powerful tool for chatting with your codebase

Node.js Package

chat

Description

In the chat, you can ask questions about the codebase. AI will answer your questions, and if necessary, it will offer code improvements. This is very convenient when you want to quickly find something in the codebase, but don't want to waste time searching. It is also convenient when you want to improve a specific function, you can ask "How can I improve the function {function name}?" and AI will suggest improvements. Codebase is analyzed using openai.

Installation

pip install talk-codebase

Usage

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

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

# Configure
talk-codebase configure

# Help
talk-codebase --help