logo Repsol
Contact

What is a prompt?

Command with the ability to transform orders

Since 2022, artificial intelligence (AI) has been integrated into the daily lives of millions of people, ceasing to be an exclusive technology for experts. AI tools such as text and image generators, most notably ChatGPT and DALL·E, have transformed multiple sectors, from education and design to healthcare, industry, and marketing. Understanding what a prompt is allows you to structure requests that optimize responses and adjust them to specific needs.

What is a prompt in AI?

A prompt is an instruction used to interact with artificial intelligence systems, designed for them to process the message and generate a result. For example, a request such as "Prepare an analysis on the advantages of renewable hydrogen" in a text generator, or "Design a futuristic city with solar energy" in an image tool, are prompts.

Why prompts are essential in artificial intelligence

Prompts are the basis for interaction between humans and AI tools. Without them, systems would not be able to interpret requests or generate useful responses. Thanks to prompts, artificial intelligence can adapt to specific contexts, respond accurately to demands, and become a key strategic tool in the professional development of multiple sectors.

A well-designed artificial intelligence prompt not only defines the expected content but also optimizes the usefulness of the tool. For example:

  • It defines clear goals: it establishes exactly what is expected of the AI.
  • It allows customization: it adjusts responses to specific needs.
  • It improves efficiency: it reduces unnecessary iterations to get the desired information.
Fotos cuerpo contenido repsol - 1

How to create a good prompt according to the AI tool used

Designing an effective prompt requires a structured process that can be applied to all artificial intelligence tools. However, each one has particularities that should be taken into account.

  1. Define a goal
    It is important to be clear about what you want to achieve with the artificial intelligence system used.
  2. Choose the right tool
    Not all AI tools serve the same purpose. For example, text generators like ChatGPT respond best to descriptive prompts, while image generators like DALL·E require specific visual details.
  3. Provide a clear context
    This applies to all platforms, but the depth of context may vary depending on the task.
  4. Include specific parameters
    Some examples would be the format for text or the visual style for images.
  5. Test and adjust
    It allows you to identify areas of improvement and refine the prompt through iterative adjustments until you reach the desired precision.

Examples of prompts

Prompts adapt artificial intelligence tools to different contexts and needs. These examples show how to structure requests to get clear and accurate results.

Example 1. Creating educational content with text tools

  • Goal: to teach students about an environmental topic.
  • Tool: ChatGPT or Bard.
  • Prompt: “Write a short article (150 words) for high school students that explains what renewable energy is. Include:
  1. A simple definition of renewable energy.
  2. An example of how solar energy works.
  3. An accessible and educational tone.
  4. Format with introduction, development, and conclusion".

Example 2. Designing conceptual images with image generators

  • Goal: to create an illustration for a visual campaign on renewable energies.
  • Tool: DALL·E or MidJourney.
  • Prompt: “Design an image that represents a wind farm in a coastal landscape at sunset. Include:
  1. Warm color palettes (orange and purple).
  2. A realistic style.
  3. A clear sky with some details of clouds".

Example 3. Analyzing data with analytics tools

  • Goal: to identify energy consumption patterns.
  • Tool: AutoML or DataRobot.
  • Prompt: “Analyze a data set of electricity consumption of a home during the last 6 months. Provide:
  1. A chart that identifies demand peaks.
  2. A list of three practical recommendations to reduce consumption during peak hours.
  3. A 100-word technical report explaining the findings”.

What is a prompt engineer?

The prompt engineer is one of the most innovative professions of the future in the field of artificial intelligence. Their job is to design and optimize prompts to maximize the effectiveness of AI tools. Their main functions are:

  • Design of specific prompts: Create detailed instructions tailored to different tools and contexts.
  • Testing and adjustments: Assess different versions of prompts to get the best result.
  • Interdisciplinary collaboration: Work with specialists in different areas, such as marketing, design, or data science, to optimize results.

The use of prompts at Repsol

Prompts are a key piece to guide our artificial intelligence tools and maximize their potential in different strategic areas. These technologies allow us to address specific tasks that improve our operational efficiency and strengthen safety in our activities. Some of the most prominent applications include:

  • Virtual assistants for customer service: they facilitate an agile and personalized experience, adapting to the needs of each user.
  • Industrial process optimization: they analyze data in real time to identify opportunities for improvement and reduce inefficiencies.
  • Advanced energy management: they design solutions that optimize energy consumption and strengthen efficiency.
  • Predictive maintenance: they identify possible incidents in the equipment, ensuring operational continuity.
  • Cybersecurity: they detect and neutralize threats such as phishing, a type of fraud in which attempts are made to obtain confidential information.

ARiA: the “digital brain” that optimizes our operational efficiency

Among our most notable initiatives is ARiA, our digital transformation platform that acts as a true "great digital brain". This tool combines artificial intelligence and advanced analytics to optimize industrial processes, improve energy management, and support strategic decision-making. 

Thanks to the use of prompts, ARiA guides its algorithms to perform real-time analytics, anticipate potential scenarios, and offer innovative solutions that bolster our operational efficiency.

Updated as of July 2025.