olasunkanmi-SE / codebuddy

A Generative AI Assistant for VSCode is an innovative extension that utilizes machine learning to help developers generate code, complete tasks, and streamline their workflow. This intelligent assistant can understand natural language input and respond accordingly.
Apache License 2.0
18 stars 11 forks source link

Upload and read from knowledge base #61

Closed olasunkanmi-SE closed 3 months ago

olasunkanmi-SE commented 3 months ago

Feature Request: AI-Powered Code Pattern Replication Overview Could you implement a feature that allows CodeBuddy, our generative AI system, to learn and replicate coding patterns from user-provided text files? This functionality will enable the automated creation of customized modules and components based on user-defined patterns. Objectives

Enable users to upload text files containing their preferred coding patterns for component creation. Codebuddy analyzes and learns from these patterns and generates code components that adhere to the learned patterns.

User Story As a developer, I want to upload my coding patterns for component creation so that CodeBuddy can automatically generate similar components following my preferred style and structure. This will streamline my workflow for recurrent tasks and ensure consistency across my project. Proposed Functionality

File Upload: Provide an interface for users to upload text files containing their coding patterns. Knowledge Base: Create a system to store and manage the extracted patterns.

Technical Considerations

Acceptance Criteria

Users can successfully upload text files containing coding patterns. CodeBuddy can accurately analyze and learn from the uploaded patterns. Generated components closely match the style and structure of the original patterns. The system performs efficiently, generating new components within a reasonable timeframe. The user interface is intuitive and provides clear feedback throughout the process.

Future Enhancements

Support for multiple pattern libraries per user Pattern sharing and collaboration features

olasunkanmi-SE commented 3 months ago

PR: https://github.com/olasunkanmi-SE/codebuddy/pull/62 https://github.com/olasunkanmi-SE/codebuddy/pull/68

olasunkanmi-SE commented 3 months ago
Screenshot 2024-07-03 at 2 30 47 PM Screenshot 2024-07-03 at 2 32 49 PM Screenshot 2024-07-03 at 2 33 02 PM
olasunkanmi-SE commented 3 months ago

sample knowledge base ola.txt