Merge branch 'dev'
This commit is contained in:
commit
19f7863d97
@ -43,8 +43,12 @@ class AiService
|
||||
private
|
||||
|
||||
def generate_prompt_request(city, weather_data)
|
||||
region = city.country.region&.name || ""
|
||||
country = city.country.name || ""
|
||||
state = city.state&.name || ""
|
||||
|
||||
<<~PROMPT
|
||||
Create a DALL-E 3 prompt for a weather scene in #{city.name}, #{city.country.name}.
|
||||
Create a DALL-E 3 prompt for a weather scene in #{city.name}, #{state}, #{country}, #{region}.
|
||||
|
||||
Weather conditions:
|
||||
- Temperature: #{weather_data[:temperature]}°C
|
||||
|
Loading…
Reference in New Issue
Block a user