Skip to content

Generate Functional Module Using AI #177

@KrishnaVAMSI-2003

Description

@KrishnaVAMSI-2003

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions