please write code to generate text abut house description
- User
please write code to generate text abut house description
Assistant
Sure, here is a sample code for generating a description of a house:
import random def generate_house_description(): # Define a list of possible features for the house features = ["big", "small", "modern", "traditional", "spacious", "cozy", "quaint", "mansion", "bungalow", "ranch", "craftsman", "colonial", "contemporary", "victorian"] # Define a list of possible architectural styles styles = ["arts and crafts", "art deco", "beach cottage", "carmel", "chalet", "commercial", "colonial", "contemporary", "country", "craftsman", "farmhouse", "french", "georgian", "gothic", "greek", "italianate", "mission", "modern", "prairie", "ranch", "renaissance", "rococo", "rustic", "santorini", "spanish colonial", "stick", "tudor", "victorian"] # Define a list of possible materials materials = ["brick", "stucco", "wood", "stone", "concrete", "glass", "metal", "custom"] # Define a list of possible amenities amenities = ["swimming pool", "hot tub", "fireplace", "fully equipped kitchen", "large backyard", "private deck", "outdoor kitchen", "gated community", "security system", "garage", "off street parking", "storage shed", "tennis court", "gym", "sauna", "jacuzzi", "community pool", "community park", "community garden", "community center"] # Generate a random selection of features, styles, and materials feature = random.choice(features) style = random.choice(styles) material = random.choice(materials) # Generate a random address address = "123 Main St, Anytown, USA" # Generate a random description of the house description = f"This {feature} {style} house is made of {material} and features a {random.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.