SkipAPIArtifactVersion: {
    artifactId: string;
    comments: string;
    configuration: string;
    content: string;
    conversationDetailID?: string;
    createdAt: Date;
    id: string;
    updatedAt: Date;
    version: number;
}

Represents a specific version of an artifact, containing the actual content, configuration, and user feedback for that version. Each artifact can have multiple versions as it evolves through user interactions.

Type declaration

  • artifactId: string

    Foreign key to the related artifact - not using a link to the object here to avoid circular references

  • comments: string

    User comments for this specific version of the artifact, used for user's own purposes and can be used as feedback loop for AI to learn from and improve future versions/responses.

  • configuration: string

    The contents of this field are dependent on the artifact type, in some cases it might be unused, in others it might be JSON, plain text, or even base-64 encoded binary data for something like an image

  • content: string

    The contents of this field are dependent on the artifact type, in some cases it might be unused, in others it might be JSON, plain text, or even base-64 encoded binary data for something like an image

  • Optional conversationDetailID?: string

    Optional foreign key to the conversation detail that created this artifact version.

  • createdAt: Date
  • id: string

    Primary key for the artifact version - globally unique

  • updatedAt: Date
  • version: number

    Auto increment sequential version, start with 1 for each artifact