Array of models that were actually created by the AI function calling process.
Contains the AutoBePrisma.IModel objects representing the database tables that were successfully generated during the schema creation process. Each model includes complete field definitions, relationships, indexes, and other schema elements that were properly implemented by the AI.
This array represents the partial but valid schema output that was achieved before the insufficient model generation was detected, providing the actual state of what was accomplished versus what was expected.
The target component specification that was assigned to the AI for schema generation.
Contains the AutoBePrisma.IComponent structure representing the complete component definition that the AI was supposed to implement. Most importantly, this includes the AutoBePrisma.IComponent.tables array containing all table names that should have been generated as models for this business domain.
This component specification serves as the reference point for determining which models are missing by comparing the expected tables list against the actual models created. The component also provides the business namespace and target filename context for the schema generation task.
Timestamp when the event was created.
ISO 8601 formatted date-time string indicating when this event was emitted by the system. This timestamp is crucial for event ordering, performance analysis, and debugging the agent workflow execution timeline.
Format: "YYYY-MM-DDTHH:mm:ss.sssZ" (e.g., "2024-01-15T14:30:45.123Z")
A unique identifier for the event.
Array of model names that were not created by the AI function calling.
Contains the names of models that were identified in the requirements analysis but were not generated during the schema creation process. This information helps identify specific missing entities and enables targeted corrective actions to complete the schema design.
The missing models represent the gap between what was planned and what was actually delivered by the AI function calling process.
Unique identifier for the event type.
A literal string that discriminates between different event types in the AutoBE system. This field enables TypeScript's discriminated union feature, allowing type-safe event handling through switch statements or conditional checks.
Examples: "analyzeWrite", "prismaSchemas", "interfaceOperations", "testScenarios"
Event fired when the Prisma agent creates fewer models than expected during the database schema creation process.
This event occurs when the AI function calling process results in an incomplete set of models for a specific business domain or functional category. The event indicates that the schema generation did not meet the expected model count, which may require additional iterations or manual intervention to complete the database design.
This insufficient model creation can happen due to various reasons such as incomplete AI responses, context limitations, or partial understanding of the business requirements. The event provides detailed information about the gap between expected and actual model creation to enable appropriate corrective actions.
Author
Samchon