Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate Functional Module Using AI #177

Open
KrishnaVAMSI-2003 opened this issue Dec 11, 2024 · 0 comments
Open

Generate Functional Module Using AI #177

KrishnaVAMSI-2003 opened this issue Dec 11, 2024 · 0 comments

Comments

@KrishnaVAMSI-2003
Copy link
Contributor

Description

We aim to implement a system where users can interact with a voice AI agent to provide requirements for a backend module. The voice AI agent will conduct requirement gathering to identify entities and their relationships in the system. This information will be used to generate a fully functional module, complete with CRUD APIs, integrated into the application.

The module generation can leverage either AI-based code generation or a script-based approach utilizing third-party libraries. The generated module must align with the project’s conventions and seamlessly integrate into the application.

Requirements

1. Voice AI Agent for Requirement Gathering (PM would be handling this)

  • Develop a voice AI agent capable of:
    • Capturing customer requirements through conversation.
    • Identifying entities and their relationships in the system.
    • Structuring the gathered data into a format suitable for module generation.

2. Module Generation

  • Use the structured data from the voice AI agent to generate a functional backend module.
    • Option 1: Leverage AI to generate the module code.
    • Option 2: Develop a script that generates the module using third-party libraries.
  • Ensure the module contains all required CRUD APIs and follows project standards.

3. Boilerplate Updates for Seamless Integration

  • Enhance the boilerplate to improve AI compatibility for code generation.
  • Address existing issues with module registration in app.ts:
    • Update app.ts to automatically detect all modules by reading their package.json files.
    • Ensure automatic registration of the API server for the generated module in app.ts.

Deliverables

  • A voice AI agent capable of capturing and processing customer requirements.
  • Functional module generation based on the gathered requirements, using either AI or a script-based approach.
  • Updated boilerplate to:
    • Automatically register modules in app.ts.
    • Align AI-generated module code with project conventions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant