Skip to content

GPT prompting is a candidate for domain objects #8

@soumyaray

Description

@soumyaray

https://github.com/ITC-NTHU/LyricLab-API/blob/1d8d0f29508eda4f54c34ece351a28699f679eda/app/infrastructure/chatgpt/factory/gpt_word_processor.rb#L41

This and other lines where you are creating prompting logic would have been good candidates for domain entities/values, because its your custom business logic!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions