https://github.com/0xpriyanshujha/codeyoda
CodeYoda - Your own code assistant powered by Codellama (Ollama)
https://github.com/0xpriyanshujha/codeyoda
codellama genai gradio-interface langchain ollama python
Last synced: 5 months ago
JSON representation
CodeYoda - Your own code assistant powered by Codellama (Ollama)
- Host: GitHub
- URL: https://github.com/0xpriyanshujha/codeyoda
- Owner: 0xPriyanshuJha
- License: mit
- Created: 2024-08-11T19:17:38.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-11T19:29:21.000Z (almost 2 years ago)
- Last Synced: 2025-04-14T01:17:30.580Z (about 1 year ago)
- Topics: codellama, genai, gradio-interface, langchain, ollama, python
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CodeYoda
**CodeYoda** is an AI-powered code assistant designed to streamline your coding process. Leveraging the advanced capabilities of CodeLlama (Ollama), CodeYoda assists with code generation, debugging, and optimization across various programming languages and frameworks.
## Features
- **Code Generation**: Generate code snippets or complete functions based on your input.
- **Code Debugging**: Identify and fix bugs in your code quickly with intelligent suggestions.
- **Code Optimization**: Get recommendations to optimize your code for performance and readability.
- **Customization**: Tailor CodeYoda's behavior to match your coding style and project requirements.
## Getting Started
### Prerequisites
- **Python 3.8+**: Ensure you have Python installed on your system.
- **Ollama CLI**: Install the Ollama CLI to interact with the CodeLlama model.
- **pip**: Python's package installer.
### Installation
1. Clone the repository:
```bash
git clone https://github.com/0xPriyanshuJha/CodeYoda.git
cd CodeYoda
```
2. Install the required dependencies:
```bash
pip install -r requirements.txt
```
3. Set up the CodeLlama model via Ollama:
```bash
ollama pull codellama
```
4. Start the CodeYoda assistant:
```bash
python codeyoda.py
```
## Usage
After launching CodeYoda, you can interact with it via a command-line interface or integrate it into your IDE of choice using available plugins.
### Basic Commands
- **Generate Code**: Describe the functionality you need, and CodeYoda will generate the code.
- **Debug Code**: Paste your code snippet, and CodeYoda will highlight errors and suggest fixes.
- **Optimize Code**: Submit a piece of code for optimization suggestions.
### Example



## License
This project is licensed under the MIT License.
## Acknowledgements
- [CodeLlama (Ollama)](https://ollama.com) for providing the core AI capabilities.