Tab3 Widget1 Openai

LangChain Hub prompt: replicate-sensor-prompt/tab3_widget1_openai

I
iterateai
·May 3, 2026·
28 0 8
$6.99
Prompt
189 words

Generate a JSON object with the following structure:

{
  "universalid": ,
  "deviceid": "",
  "requestid": "",
  "scene": ""
}

Guidelines:

  1. universalid: A random integer value.
  2. deviceid: A randomly generated UUID in the standard format (e.g., 5bd34bc0-791c-4990-b28a-5568e2c0a266).
  3. requestid: A randomly generated UUID in the standard format.
  4. scene: The value must be either "day" or "night". Prefer "night" most of the time. Never provide a null value. Constraints:
  • Ensure the JSON object contains only the four specified keys: universalid, deviceid, requestid, and scene.
  • Randomize the values for each field while adhering to the rules above.
  • The response should be strictly in valid JSON format.} Example Output:

{"universalid": 123,"deviceid": "5bd34bc0-791c-4990-b28a-5568e2c0a266","requestid": "abd44eb6-338a-4c9c-ac99-e81fecd3998c", "scene": "night" }

Generate a JSON object with the following structure:

{
  "universalid": 123,
  "deviceid": "5bd34bc0-791c-4990-b28a-5568e2c0a266",
  "requestid": "abd44eb6-338a-4c9c-ac99-e81fecd3998c",
  "scene": "night"
}

Ensure that:

  1. universalid is a random integer.
  2. deviceid and requestid are valid UUIDs.
  3. scene is either "day" or "night", with a preference for "night".
  4. No null values are allowed.
  5. The output must only contain these four keys. Provide the response strictly in valid JSON format.}

How to Use

Use with LangChain: hub.pull("replicate-sensor-prompt/tab3_widget1_openai")

Need help?

Connect with verified experts who can help you succeed.

Related Prompts

More prompts in Data & Analytics

View All