Interface: GeneratePoemOptions
Defined in: src/poem/poem-generator.ts:32
Configuration object for poem generation.
Properties
topic?
optional topic:
string
Defined in:src/poem/poem-generator.ts:33
The theme or subject matter of the poem. This can be any string that encapsulates the essence of the poem you wish to create.
length?
optional length:
"short"
|"medium"
|"long"
Defined in:src/poem/poem-generator.ts:34
Specifies the desired length of the poem. Use this property to control how many verses or lines the generated poem will have.
type?
optional type:
"Haiku"
|"Sonnet"
|"Free Verse"
|"Blank Verse"
|"Limerick"
|"Romantic"
|"Proposal"
|"Love"
|"Lyric"
|"Acrostic"
|"Ballad"
|"Epic"
|"Elegy"
|"Ode"
|"Pantoum"
|"Narrative"
|"Cinquain"
|"Villanelle"
|"Sestina"
|"Couplet"
Defined in:src/poem/poem-generator.ts:35
Indicates the form or style of the poem to be generated. Choose from a wide range of poetic forms to suit the projectβs needs.
lang?
optional lang:
"English"
|"Japanese"
|"Indonesian"
Defined in:src/poem/poem-generator.ts:36
Specifies the language in which the poem should be generated. This allows for localization based on the userβs requirements.