<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Aura – preset</title>
    <link>/tags/preset/</link>
    <description>Recent content in preset on Aura</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    
	  <atom:link href="/tags/preset/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Docs: </title>
      <link>/docs/atria/technical-guidelines/configuration/modify-atria-configuration/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/atria/technical-guidelines/configuration/modify-atria-configuration/</guid>
      <description>
        
        
        &lt;h1 id=&#34;create-and-configure-a-preset&#34;&gt;Create and configure a preset&lt;/h1&gt;


&lt;div class=&#34;pageinfo pageinfo-primary&#34;&gt;
&lt;p&gt;Guidelines for the configuration of &lt;em&gt;&lt;strong&gt;ATRIA&lt;/strong&gt;&lt;/em&gt; by use cases constructors when developing an experience by means of a &lt;strong&gt;preset&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;i class=&#34;fa-solid fa-triangle-exclamation fa-xl&#34; style=&#34;color: #f45815;&#34;&gt;&lt;/i&gt; This guidelines correspond to a specific stage in the processes for building experiences using Generative AI or RAG, which are fully explained in:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;../../docs/atria/technical-guidelines/building-experiences/generative-ai-journey/&#34;&gt;Build experiences using Generative AI&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../docs/atria/technical-guidelines/building-experiences/general-rag-journey/&#34;&gt;Build experiences using RAG&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;

&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;
&lt;p style=&#34;background:rgb(225, 237, 245); color: #220183; font-weight: normal; padding: 15px; border: 1px solid #0710e6; border-radius: 6px;&#34;&gt; A &lt;b&gt;preset&lt;/b&gt; is a configurable entity that defines the instructions to work with the AI model for the resolution of a use case.
&lt;/a&gt;
&lt;p&gt;These instructions include, apart from other parameters, the &lt;strong&gt;prompt&lt;/strong&gt; with text to guide the AI model with the generation of the response. For example:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&amp;ldquo;Maintain the formal tone of the original text&amp;rdquo;&lt;/li&gt;
&lt;li&gt;&amp;ldquo;If the previous conversation is relevant for the current query, incorporate it into the query and produce a rewritten query&amp;rdquo;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;When developing an experience in &lt;em&gt;&lt;strong&gt;ATRIA&lt;/strong&gt;&lt;/em&gt;, use cases constructors must configure a preset for the specific &lt;a href=&#34;../../docs/atria/technical-components/application/&#34;&gt;&lt;em&gt;&lt;strong&gt;ATRIA&lt;/strong&gt;&lt;/em&gt; application&lt;/a&gt; to be used.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;ATRIA&lt;/strong&gt;&lt;/em&gt; use cases constructors can use the currently available default presets or they can modify them or create new ones via API.&lt;/p&gt;
&lt;p&gt;&lt;i class=&#34;fa-solid fa-triangle-exclamation fa-xl&#34; style=&#34;color: #f45815;&#34;&gt;&lt;/i&gt; In both scenarios, a further step is required to &lt;a href=&#34;../../docs/atria/technical-guidelines/configuration/modify-atria-configuration/#2-include-the-preset-in-the-application&#34;&gt;include the preset in the application&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;guidelines-to-configure-a-preset&#34;&gt;Guidelines to configure a preset&lt;/h2&gt;
&lt;h3 id=&#34;1-create-a-new-preset&#34;&gt;1. Create a new preset&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Build the preset for your use case (json file), using the available &lt;a href=&#34;#preset-fields&#34;&gt;preset fields&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Do you get lost with all the preset configuration parameters? In &lt;a href=&#34;../../docs/atria/technical-guidelines/configuration/atria-config-best-practices/&#34;&gt;best practices for &lt;em&gt;&lt;strong&gt;ATRIA&lt;/strong&gt;&lt;/em&gt; configuration&lt;/a&gt;, you can find the most commonly used parameters by experiences constructors grouped by their purpose (&amp;ldquo;I want to increase security&amp;rdquo;, &amp;ldquo;I want to activate the multi-language feature&amp;rdquo;, etc.)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;When the preset json file is generated, execute this command to include it:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  curl --location --request POST &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;https://svc-&amp;lt;env&amp;gt;.auracognitive.com/aura-services/v2/configuration/presets/&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&lt;/span&gt;    --header &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;Content-Type: application/json&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&lt;/span&gt;    --header &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;Accept: application/json&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&lt;/span&gt;    --header &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;Authorization: APIKEY XXX&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&lt;/span&gt;    --data-raw &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;&amp;lt;NEW PRESET JSON&amp;gt;&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;11-modifyupdate-a-preset&#34;&gt;1.1. Modify/update a preset&lt;/h4&gt;
&lt;p&gt;If once created, certain modifications are required, follow these instructions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Make the required changes in the preset json file using the available &lt;a href=&#34;#preset-fields&#34;&gt;preset fields&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;When the preset is modified, execute this command to include it:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  curl --location --request PUT &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;https://svc-&amp;lt;env&amp;gt;.auracognitive.com/aura-services/v2/configuration/presets/&amp;lt;presetID&amp;gt;&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&lt;/span&gt;  --header &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;Content-Type: application/json&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&lt;/span&gt;  --header &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;Authorization: APIKEY XXX&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&lt;/span&gt;  --data &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;&amp;lt;PRESET JSON WITH MODIFICATIONS&amp;gt;&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;12-delete-a-preset&#34;&gt;1.2. Delete a preset&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Execute the following command:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  curl --location --request DELETE &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;https://svc-&amp;lt;env&amp;gt;.auracognitive.com/aura-services/v2/configuration/presets/&amp;lt;presetId&amp;gt;&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&lt;/span&gt;  --header &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;Accept: application/json&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&lt;/span&gt;  --header &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;Authorization: APIKEY XXX&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;2-include-the-preset-in-the-application&#34;&gt;2. Include the preset in the application&lt;/h3&gt;
&lt;p&gt;An &lt;a href=&#34;../../docs/atria/technical-components/application/&#34;&gt;application&lt;/a&gt; is defined as an entity that allows the connection of a channel, service or skill with with &lt;em&gt;&lt;strong&gt;ATRIA&lt;/strong&gt;&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;If the application for your use case does not exist, firstly it is required to create it following the &lt;a href=&#34;../../docs/atria/technical-guidelines/applications-configuration/&#34;&gt;guidelines for the configuration of an application&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Once the application is created, assign the created preset. Two scenarios arise here:&lt;/p&gt;
&lt;h4 id=&#34;21-if-an-existing-preset-is-modified&#34;&gt;2.1. If an existing preset is modified&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Get the list of presets assigned to the application to be used from &lt;em&gt;&lt;strong&gt;aura-configuration-api&lt;/strong&gt;&lt;/em&gt;:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  curl --location &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;https://svc-&amp;lt;env&amp;gt;.auracognitive.com/aura-services/v2/configuration/applications/&amp;lt;applicationID&amp;gt;&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&lt;/span&gt;  --header &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;Authorization: APIKEY &amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Check if your preset is already included in the list and, consequently, associated to your application.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If not, declare the created preset in the application following the &lt;a href=&#34;../../docs/atria/technical-guidelines/applications-configuration/#using-generative-ai--rag-models-parameter&#34;&gt;guidelines for the configuration of an application: Use Generative AI/RAG&lt;/a&gt;, within the field &lt;code&gt;presets&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;22-if-a-new-preset-is-created&#34;&gt;2.2. If a new preset is created&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Update &lt;em&gt;&lt;strong&gt;aura-configuration-api&lt;/strong&gt;&lt;/em&gt; to indicate to the &lt;strong&gt;application&lt;/strong&gt; the complete list of presets to be used.&lt;/p&gt;
&lt;p&gt;&lt;i class=&#34;fa-solid fa-triangle-exclamation fa-xl&#34; style=&#34;color: #f45815;&#34;&gt;&lt;/i&gt; It is necessary to include the &lt;strong&gt;entire list of presets&lt;/strong&gt; associated to the application (the existing presets and the created/modified ones)&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    curl --location --request PATCH &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;https://svc-&amp;lt;env&amp;gt;.auracognitive.com/aura-services/v1/applications/:applicationId&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&lt;/span&gt;    --header &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;Accept: application/json&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&lt;/span&gt;    --header &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;Authorization: APIKEY XXX&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&lt;/span&gt;    --data &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;        &amp;#34;id&amp;#34;: &amp;#34;&amp;lt;applicationId&amp;gt;&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;        &amp;#34;models&amp;#34;: {
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;            &amp;#34;level&amp;#34;: &amp;lt;levelType&amp;gt;, 
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;            &amp;#34;presets&amp;#34;: [
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;                &amp;lt;complete-new-list-of-presets&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;            ]
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;        }
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;    }&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ul&gt;
&lt;li&gt;The &lt;code&gt;level&lt;/code&gt; field, that indicates the different levels of access to the application, can only be changed By the Global Team.
This command is a specific scenario in the process of modifying API configuration, described in the document &lt;a href=&#34;../../docs/atria/technical-guidelines/hot-swapping-application/#hot-swapping-of-aura-applications-configuration&#34;&gt;Hot swapping of Aura applications configuration&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Declare the created preset in the application following the &lt;a href=&#34;../../docs/atria/technical-guidelines/applications-configuration/#using-generative-ai--rag-models-parameter&#34;&gt;guidelines for the configuration of an application: Use Generative AI/RAG&lt;/a&gt;, within the field &lt;code&gt;presets&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;preset-fields&#34;&gt;Preset fields&lt;/h2&gt;
&lt;p&gt;The fields for the characterization of a preset are summarized below, which are defined in the API swagger &lt;a href=&#34;../../docs/components/aura-configuration-api/api-definition/preset/&#34;&gt;Aura Configuration API Preset&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;i class=&#34;fa-solid fa-triangle-exclamation fa-xl&#34; style=&#34;color: #f45815;&#34;&gt;&lt;/i&gt; If there is any discrepancy between the parameters definitions included in this document and those in the API swagger, definitions established in the API shall prevail.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;&lt;code&gt;id&lt;/code&gt;&lt;/strong&gt;: &lt;em&gt;Mandatory&lt;/em&gt;. Preset identifier. The type is &lt;code&gt;string&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;&lt;code&gt;name&lt;/code&gt;&lt;/strong&gt;: &lt;em&gt;Mandatory&lt;/em&gt;. Preset name. If this value does not exist, &lt;code&gt;id&lt;/code&gt; is used. The type is &lt;code&gt;string&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;&lt;code&gt;description&lt;/code&gt;&lt;/strong&gt;: &lt;em&gt;Optional&lt;/em&gt;. Preset description. If this value does not exist, &lt;code&gt;id&lt;/code&gt; is used. The type is &lt;code&gt;string&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;&lt;code&gt;group&lt;/code&gt;&lt;/strong&gt;: &lt;em&gt;Mandatory&lt;/em&gt;. This parameter is used to group requests regarding the AI technologies used to generate KPIs. The type is &lt;code&gt;string&lt;/code&gt;. Feasible values: &lt;code&gt;simple_ai&lt;/code&gt; (Generative AI preset) and &lt;code&gt;enriched_ai&lt;/code&gt; (RAG preset).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;&lt;code&gt;session&lt;/code&gt;&lt;/strong&gt;: &lt;em&gt;Optional&lt;/em&gt;. Parameters for session configuration.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;window&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. The size of the session window, in queries. The type is &lt;code&gt;number&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;timeout&lt;/code&gt;:  &lt;em&gt;Optional&lt;/em&gt;. The time in seconds after which the session will be closed if no queries are received. If it is 0, the session history will be used, but the current interaction will not be saved. The type is &lt;code&gt;number&lt;/code&gt;.
&lt;br&gt;&lt;br&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;&lt;code&gt;generative&lt;/code&gt;&lt;/strong&gt;: &lt;em&gt;Mandatory&lt;/em&gt; if Generative AI is used. It indicates the use of Generative AI in the use case. If this field exists, the &lt;code&gt;rag&lt;/code&gt; field must not exist.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;model&lt;/code&gt;: &lt;em&gt;Mandatory&lt;/em&gt;. Model configuration.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;id&lt;/code&gt;: &lt;em&gt;Mandatory&lt;/em&gt;. Unique identifier of the &lt;a href=&#34;../../docs/atria/technical-guidelines/configuration/atria-default-configuration/#models-by-default&#34;&gt;model&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;parameters&lt;/code&gt;. &lt;em&gt;Optional&lt;/em&gt;. Dictionary with all possible parameters for the model. For generative, check them &lt;a href=&#34;https://learn.microsoft.com/en-us/azure/ai-services/openai/reference&#34;&gt;here&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;injectionMaxLength&lt;/code&gt;. &lt;em&gt;Optional&lt;/em&gt;. Maximum length of the input user. The type is &lt;code&gt;number&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;prompts&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. Parameters to define the prompts with instructions used as input by the AI model to automatically generate responses.&lt;br&gt;
. The object may include properties such as text, additional parameters, and specific configurations to control the behavior of the generative model.&lt;br&gt;
. If no prompt is defined, the resolution of the use case is entirely delegated to the LLM model.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;template&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. Template that includes the user&amp;rsquo;s input. It must include &lt;code&gt;{MSG}&lt;/code&gt; for the user&amp;rsquo;s utterance. This will override (or add, if not defined) the template for the user message, as defined in the preset (Note: templates allow framing the user message to mitigate prompt injection attacks). The type is &lt;code&gt;string&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;preamble&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. List of phrases to be included in the model prompt.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;examples&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. Examples to enrich the prompt.  The type is &lt;code&gt;string&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;promptMaxLength&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. Maximum length of the completed prompt. Used to avoid calling LLMS with wrong prompts.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;promptRegexClean&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. Regex pattern to clean the query before sending it to the model. This is useful to remove unwanted characters or patterns from the query. The type is &lt;code&gt;number&lt;/code&gt;.
&lt;br&gt;&lt;br&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;&lt;code&gt;rag&lt;/code&gt;&lt;/strong&gt;: &lt;em&gt;Mandatory&lt;/em&gt; if RAG technology is used. It indicates the RAG configuration. If this field exists, the &lt;code&gt;generative&lt;/code&gt; field must not exist.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;ragType&lt;/code&gt;: Optional. RAG type. Values: &lt;code&gt;questions-answers&lt;/code&gt; (by default) or &lt;code&gt;sql&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;model&lt;/code&gt;: &lt;em&gt;Mandatory&lt;/em&gt;. Parameters for the configuration of the RAG model.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;id&lt;/code&gt;:  &lt;em&gt;Mandatory&lt;/em&gt;. Unique identifier of the &lt;a href=&#34;../../docs/atria/technical-guidelines/configuration/atria-default-configuration/#models-by-default&#34;&gt;model&lt;/a&gt; to be used. The type is &lt;code&gt;string&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;parameters&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. Dictionary with all the possible parameters for the model.
&lt;br&gt;&lt;br&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;references&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. Configuration for managing references in the system. It control de number of references the system relies on to generate a response.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;maximum&lt;/code&gt;:  &lt;em&gt;Optional&lt;/em&gt;. Maximum number of returned references. The type is &lt;code&gt;number&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;baseUrl&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. Base URL of references that will be shown to the user as part of the response. For the types of data &lt;code&gt;unstructured&lt;/code&gt;, &lt;code&gt;csv&lt;/code&gt;and &lt;code&gt;text&lt;/code&gt; (defined in the field &lt;code&gt;loaderType&lt;/code&gt;), it is required to add here the path to the public URL to be shown in the response as a clickable reference.
&lt;br&gt;&lt;br&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;stages&lt;/code&gt;: &lt;em&gt;Mandatory&lt;/em&gt;. Stages of the RAG model.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;promptSystemLanguage&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. Parameter to select a specific language from the ones defined in the prompt. Type: &lt;code&gt;string&lt;/code&gt; in ISO 639-3 format. For example: &lt;code&gt;es&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;defaultUserLanguage&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. Parameter used in multi-language feature. It indicates the default response language to be used if the system is not able to automatically recognize the language. Type: string in ISO 639-3 format. For example: &lt;code&gt;es&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;securityStg&lt;/code&gt;: Stage with parameters related to security used to avoid prompt injection.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;injectionMaxLength&lt;/code&gt;: &lt;em&gt;Mandatory&lt;/em&gt;. Maximum length of the input user. If length is greater, an error is sent. The type is &lt;code&gt;number&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;heuristics&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. Heuristics configuration.
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;es&lt;/code&gt;: List of heuristic sentences in Spanish. The type is &lt;code&gt;list&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;en&lt;/code&gt;: List of heuristic sentences in English. The type is &lt;code&gt;list&lt;/code&gt;.
&lt;br&gt;&lt;br&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;translationStg&lt;/code&gt;: Stage used to translate the prompt.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;enabled&lt;/code&gt;: &lt;em&gt;Mandatory&lt;/em&gt;. Boolean value to activate or not the translation stage. The type is &lt;code&gt;boolean&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;language&lt;/code&gt;: &lt;em&gt;Mandatory&lt;/em&gt;. Two-letter ISO 639-1 language code into which user input is translated to match the language of the data. The type is &lt;code&gt;string&lt;/code&gt;. If this field exists, the &lt;code&gt;prompts&lt;/code&gt; field must not exist.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;prompt&lt;/code&gt;: &lt;em&gt;Mandatory&lt;/em&gt;. List of prompts to be used in the LLM call.&lt;br&gt;
. The type is &lt;code&gt;PromptLanguage&lt;/code&gt;.&lt;br&gt;
. If this field exists, the &lt;code&gt;language&lt;/code&gt; field must not exist.&lt;br&gt;
. If this field is empty, the &lt;a href=&#34;../../docs/atria/technical-guidelines/configuration/atria-default-configuration/#translationstg&#34;&gt;default prompt for this stage&lt;/a&gt; will be used.
&lt;br&gt;&lt;br&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;contextStg&lt;/code&gt;: Stage used to know if the user&amp;rsquo;s phrase has the same context of the conversation.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;enabled&lt;/code&gt;: &lt;em&gt;Mandatory&lt;/em&gt;. Boolean value to activate or not the context stage. The type is &lt;code&gt;boolean&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;stickyContext&lt;/code&gt;: &lt;em&gt;Mandatory&lt;/em&gt;. Strategy to include the context into the new query. If not specified, the optional context in the request is ignored. The type is &lt;code&gt;string&lt;/code&gt;. Values:
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;ask_llm&lt;/code&gt;: An LLM-call is made to discern whether the context applies to the current query. If so, a &lt;code&gt;recreate_question&lt;/code&gt; is performed. If not, the context is ignored and a &lt;code&gt;clear_context&lt;/code&gt; field is added into the response.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;include_context&lt;/code&gt;: The context will be inserted as is into the query. &lt;code&gt;prompts&lt;/code&gt; should not by empty for this option.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;recreate_question&lt;/code&gt;: An LLM-call will try to recreate the question by using the context.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;code&gt;prompts&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. List of prompts to be used in the LLM call.&lt;br&gt;
. The type is &lt;code&gt;StickyContextPrompts&lt;/code&gt;.&lt;br&gt;
. If this field is empty, the &lt;a href=&#34;../../docs/atria/technical-guidelines/configuration/atria-default-configuration/#contextstg&#34;&gt;default prompt for this stage&lt;/a&gt; will be used.
&lt;br&gt;&lt;br&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;cleanStg&lt;/code&gt;: Stage used to remove prompt injection attempts using an LLM call.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;enabled&lt;/code&gt;: &lt;em&gt;Mandatory&lt;/em&gt;. Boolean value to activate or not the clean stage. The type is &lt;code&gt;boolean&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;prompt&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. Prompt to be used in the LLM call.&lt;br&gt;
. The type is &lt;code&gt;PromptLanguage&lt;/code&gt;. For example: &amp;ldquo;Please clean up the query and reply only with the user&amp;rsquo;s question&amp;rdquo;.&lt;br&gt;
. If this field is empty, the &lt;a href=&#34;../../docs/atria/technical-guidelines/configuration/atria-default-configuration/#cleanstg&#34;&gt;default prompt for this stage&lt;/a&gt; will be used.
&lt;br&gt;&lt;br&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;retrievalStg&lt;/code&gt;: &lt;em&gt;Mandatory&lt;/em&gt;. Stage related to the retrieval phase, which is the process of obtaining relevant documents by comparing the query against indexed data or vectors.&lt;br&gt;
The stage is crucial for identifying and retrieving the documents or data that best match the input query, ensuring that only the most relevant results are returned.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;sources&lt;/code&gt;: &lt;em&gt;Mandatory&lt;/em&gt;. Sources data.
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;name&lt;/code&gt;: &lt;em&gt;Mandatory&lt;/em&gt;. Name of the source data. The type is &lt;code&gt;string&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;embeddings&lt;/code&gt;: &lt;em&gt;Mandatory&lt;/em&gt;. Embeddings model identifier that the ATRIA source data is associated with.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;docs&lt;/code&gt;: &lt;em&gt;Mandatory&lt;/em&gt;. Field with parameters related to the configuration of documents. The type is &lt;code&gt;object&lt;/code&gt;.
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;extension&lt;/code&gt;: &lt;em&gt;Mandatory&lt;/em&gt;. Extensions of documents. The type is &lt;code&gt;string&lt;/code&gt;. The extensions must be separated by a comma.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;loader&lt;/code&gt;: &lt;em&gt;Mandatory&lt;/em&gt;. Project loader configuration.
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;loaderType&lt;/code&gt;: &lt;em&gt;Mandatory&lt;/em&gt;. Type of loader. Values: &lt;code&gt;unstructured&lt;/code&gt;, &lt;code&gt;csv&lt;/code&gt;, &lt;code&gt;text&lt;/code&gt;, &lt;code&gt;jsond&lt;/code&gt;, &lt;code&gt;jsonl&lt;/code&gt; or &lt;code&gt;url_list&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;options&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. Object that configures how the document loader operates. It allows specifying the mode of loading and any post-processing actions to be applied to the loaded data.
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;loaderMode&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. Modes for loader running. The type is &lt;code&gt;string&lt;/code&gt;. The possible values are:&lt;br&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;single&lt;/code&gt;: Document will be returned as a single document representing the whole&lt;/li&gt;
&lt;li&gt;&lt;code&gt;elements&lt;/code&gt;: The loader splits the document into different elements such as: Title, NarrativeText, etc. This allows a more granular processing and analysis&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;code&gt;postProcessors&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. Post processor loader. It allows to perform operations in the loaded document such as cleaning, transforming, enriching, etc. The type is &lt;code&gt;string&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;code&gt;splitter&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. Project splitter for dividing large text inputs into smaller, manageable chunks, that can be more easily processed by language models, ensuring efficient and accurate processing.
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;splitterType&lt;/code&gt;: &lt;em&gt;Mandatory&lt;/em&gt;. Method used to split the text. Value: &lt;code&gt;recursivechar&lt;/code&gt; (Recursively divides the text based on a character, typically looking for specific breakpoints such as punctuation or whitespace)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;options&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. Project splitter options.
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;chunkSize&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. Maximum size of chunks to be returned. The type is &lt;code&gt;number&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;chunkOverlap&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. Overlap in characters between chunks. The type is &lt;code&gt;number&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;code&gt;retrievers&lt;/code&gt;: &lt;em&gt;Mandatory&lt;/em&gt;. List of retrievers used to query and retrieve relevant data or documents from a collection based on a given query.
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;retrieverType&lt;/code&gt;: &lt;em&gt;Mandatory&lt;/em&gt;. Type of the retriever. Possible values: &lt;code&gt;qdrant&lt;/code&gt;, &lt;code&gt;tfidf&lt;/code&gt;, or &lt;code&gt;elasticsearch&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;config&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. Configuration parameters for retrievers. The type is &lt;code&gt;dictionary&lt;/code&gt;.
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;numDocs&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. Number of documents to retrieve. The type is &lt;code&gt;number&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;loadChunkSize&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. Chuck size used to load the documents in &lt;code&gt;qdrant&lt;/code&gt;. The type is &lt;code&gt;number&lt;/code&gt;. By default, &lt;code&gt;1000&lt;/code&gt;.
&lt;br&gt;&lt;br&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;postFilteringStg&lt;/code&gt;: Stage in charge of processing candidates before they enter the RAG chain.&lt;br&gt;
. It prompts the project LLM for each candidate, using the query and the candidate text. The LLM determines whether the candidate text is related to the query, and if not, the candidate will be filtered out.&lt;br&gt;
. If this option is not enabled, no post-processing or filtering will take place.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;enabled&lt;/code&gt;: &lt;em&gt;Mandatory&lt;/em&gt;. Boolean value to activate or not the post-filtering stage. The type is &lt;code&gt;boolean&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;candidatesPostFiltering&lt;/code&gt;: Mandatory. Post-retrieval filtering applied to the candidates. It must be &lt;code&gt;llm_filter&lt;/code&gt; (for each candidate, a very short request is made to the LLM to identify whether the candidate is relevant to answer the query. If &amp;rsquo;no&amp;rsquo; is decided, the candidate is filtered out)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;prompt&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. Prompt to be used in the LLM call.&lt;br&gt;
. The type is &lt;code&gt;PromptLanguage&lt;/code&gt;.&lt;br&gt;
. If this field is empty, the &lt;a href=&#34;../../docs/atria/technical-guidelines/configuration/atria-default-configuration/#prompts:~:text=prompts%20names%20sorted.-,postFilteringStg,-This%20stage%20filters&#34;&gt;default prompt for this stage&lt;/a&gt; will be used.
&lt;br&gt;&lt;br&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;generativeStg&lt;/code&gt;: Stage for handling the question and answer process. &lt;br&gt;
. It defines the strategy to solve the question, the prompts used in different stages of the process and the templates for generating responses&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;ragStrategy&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. Strategy to combine documents to generate a response. By default, &lt;code&gt;stuff&lt;/code&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;stuff&lt;/code&gt;: &lt;em&gt;Mandatory&lt;/em&gt;. If &lt;code&gt;stuff&lt;/code&gt; prompt is used, &lt;code&gt;ragStrategy&lt;/code&gt; must be set to &lt;code&gt;stuff&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;refine&lt;/code&gt;: &lt;em&gt;Mandatory&lt;/em&gt;. If &lt;code&gt;informationExtraction&lt;/code&gt; or &lt;code&gt;responseConsolidation&lt;/code&gt; prompts are used, &lt;code&gt;ragStrategy&lt;/code&gt; must be set to &lt;code&gt;refine&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;prompts&lt;/code&gt; &lt;em&gt;Optional&lt;/em&gt;. List of prompts to be used in the LLM call.&lt;br&gt;
. The type is &lt;code&gt;GenerationPrompts&lt;/code&gt;.&lt;br&gt;
. If this field is empty, the &lt;a href=&#34;../../docs/atria/technical-guidelines/configuration/atria-default-configuration/#prompts:~:text=data%20is%20relevant.-,generativeStg,-This%20stage%20generates&#34;&gt;default prompt for this stage&lt;/a&gt; will be used.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;#.auto.language.user_query&lt;/code&gt;: Parameter that activates the automatic detection of language in the user&amp;rsquo;s query (multi-language feature).&lt;br&gt;
. This parameter is included in the &lt;code&gt;args&lt;/code&gt; field of the prompt.&lt;br&gt;
. If you use the &lt;a href=&#34;../../docs/atria/technical-guidelines/configuration/atria-default-configuration/#prompts:~:text=data%20is%20relevant.-,generativeStg,-This%20stage%20generates&#34;&gt;prompt by default&lt;/a&gt;, the multi-language feature &lt;em&gt;&lt;strong&gt;is already activated&lt;/strong&gt;&lt;/em&gt;.&lt;br&gt;
. Example:
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;...
default:
  text: |
    Respond in language {user_query_language}.

    Question:
    {question}            
  args:
    user_query_language: &amp;#34;#.auto.language.user_query&amp;#34;
...
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;br&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;outputRefine&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. It is used to set up how to provide responses. The retrieving operation produces a list of candidates, each of which may provide a dictionary of metadata.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;candidates&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. It indicates whether to return the candidates in raw (useful for evaluation purposes) or not. The type is &lt;code&gt;boolean&lt;/code&gt;, by default, &lt;code&gt;false&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;filterOutputMetadata&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. It is used to set up how metadata is used when providing responses. The retrieving operation produces a list of candidates, each of which may provide a dictionary of metadata.
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;map&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. Maps attribute names in the original data to standard or more user-friendly names for later use.
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;fileType&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. String representing the type of file, typically used to specify the format or content type of the file being referenced. By default, &lt;code&gt;content-type&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;pageNumber&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. String representing a page number. It could be used to identify particular pages within a document or resource. By default, &lt;code&gt;page-number&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;code&gt;groupBy&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. groupBy and aggregate are expressed in post-map field names. By default, &lt;code&gt;url&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;aggregate&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. It determines how the values of duplicated fields are consolidated during grouping, specifying the handling of aggregated field information. By default, &lt;code&gt;page-number&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;outputFilter&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. List of fields to be displayed in the metadata. Type is &lt;code&gt;list&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;root&lt;/code&gt;: &lt;em&gt;Optional&lt;/em&gt;. Defines the primary fields that will structure the final output of the metadata processing. Fields listed under root will remain at the top level of the response entries, while all other metadata fields will be nested under a metadata. Type is &lt;code&gt;list&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;example-of-preset-for-generative-ai-capability&#34;&gt;Example of preset for Generative AI capability&lt;/h3&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-json&#34; data-lang=&#34;json&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;id&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;e27ca464-488a-435d-a508-da8a262d905f&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;name&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;openai&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;description&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;openai model&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;brand&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;contact&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;group&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;simple_ai&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;session&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;window&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;0&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;},&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;generative&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;model&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;id&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;openai&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;parameters&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;              &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;top_p&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;0.9&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;},&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;prompts&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;              &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;preamble&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;text&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;Habla como si fueras {name}&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;args&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                  &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;name&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;Napoleon&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;              &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;},&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;              &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;examples&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:[&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;Naciste en galicia&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;Di que tu padre era gallego&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;              &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;],&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;              &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;promptRegexClean&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;[#\\n\&amp;#34;]+&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;example-of-preset-for-rag-capability&#34;&gt;Example of preset for RAG capability&lt;/h3&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-json&#34; data-lang=&#34;json&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;id&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;1cafcb5c-7951-4645-86d4-055d3b46fe79&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;name&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;atria-rag-gpt-35-turbo&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;group&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;enriched_ai&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;description&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;Atria rag GPT 3.5&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;session&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;window&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;3&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;},&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;rag&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;ragType&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;questions-answers&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;model&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;id&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;gpt-35-turbo&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;parameters&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                    &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;max_tokens&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;4000&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                    &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;temperature&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;1&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                    &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;top_p&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;1&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;},&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;references&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;maximum&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;3&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;baseUrl&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;project-gpt-35-turbo/pdfs&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;},&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;stages&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;language&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;en&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;translationStg&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                    &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;enabled&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;true&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                    &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;language&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;en&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;},&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;contextStg&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                    &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;enabled&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;true&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                    &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;stickyContext&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;ask_llm&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;},&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;cleanStg&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                    &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;enabled&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;true&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;},&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;retrievalStg&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                    &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;sources&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                        &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;name&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;project-gpt-35-turbo&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                        &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;embeddings&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;text-embedding-ada-002&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                        &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;docs&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;[&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                            &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                                &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;extension&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;pdf&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                                &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;loader&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                                    &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;loaderType&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;unstructured&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                                    &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;options&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                                        &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;loaderMode&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;single&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                                    &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                                &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                            &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;},&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                            &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                                &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;extension&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;txt&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                                &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;loader&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                                    &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;loaderType&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;url_list&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                                &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                            &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                        &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;],&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                        &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;splitter&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                            &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;splitterType&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;recursivechar&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                            &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;options&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                                &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;chunkSize&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;60&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                                &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;chunkOverlap&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;20&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                            &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                        &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;},&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                        &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;retrievers&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;[&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                            &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                                &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;retrieverType&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;qdrant&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                                &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;config&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                                    &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;loadChunkSize&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;10000&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                                &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                            &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;},&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                            &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                                &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;retrieverType&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;tfidf&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                            &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                        &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                    &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;},&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;postFilteringStg&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                    &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;enabled&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;true&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;},&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;generativeStg&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                    &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;ragStrategy&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;stuff&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;},&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;outputRefine&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;candidates&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;false&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
      </description>
    </item>
    
    <item>
      <title>Docs: </title>
      <link>/docs/components/aura-configuration-api/api-definition/preset/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/components/aura-configuration-api/api-definition/preset/</guid>
      <description>
        
        
        &lt;h1 id=&#34;aura-configuration-api-preset-definition&#34;&gt;Aura Configuration API Preset definition&lt;/h1&gt;


&lt;div class=&#34;pageinfo pageinfo-primary&#34;&gt;
&lt;p&gt;Description of Aura configuration API Preset swagger
&lt;br&gt;&lt;br&gt;
&lt;i class=&#34;fa-regular fa-file-lines fa-xl&#34; style=&#34;color: #0d5de7;&#34;&gt;&lt;/i&gt; &lt;a href=&#34;../../techFiles/apis/aura-configuration-preset/swagger.yaml&#34;&gt;Download swagger file&lt;/a&gt;&lt;/p&gt;

&lt;/div&gt;


&lt;div id=&#34;ohpen_swagger_ui&#34;&gt;&lt;/div&gt;
&lt;script&gt;
  window.onload = function () {
    const ui = SwaggerUIBundle({
      url: &#34;/techFiles/apis/aura-configuration-preset/swagger.yaml&#34;,
      dom_id: &#39;#ohpen_swagger_ui&#39;,
      presets: [
        SwaggerUIBundle.presets.apis,
        SwaggerUIStandalonePreset
      ]
    });
    window.ui = ui;
  };
&lt;/script&gt;


      </description>
    </item>
    
    <item>
      <title>Docs: </title>
      <link>/docs/atria/technical-guidelines/configuration/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/atria/technical-guidelines/configuration/</guid>
      <description>
        
        
        &lt;h1 id=&#34;atria-configuration&#34;&gt;ATRIA configuration&lt;/h1&gt;


&lt;div class=&#34;pageinfo pageinfo-primary&#34;&gt;
&lt;p&gt;&lt;i class=&#34;fa-solid fa-square-check&#34;&gt;&lt;/i&gt; Comprehensive description of &lt;em&gt;&lt;strong&gt;ATRIA&lt;/strong&gt;&lt;/em&gt; default configuration&lt;br&gt;
&lt;i class=&#34;fa-solid fa-square-check&#34;&gt;&lt;/i&gt; Guidelines for the modification of &lt;em&gt;&lt;strong&gt;ATRIA&lt;/strong&gt;&lt;/em&gt; components configuration &lt;br&gt;
&lt;i class=&#34;fa-solid fa-square-check&#34;&gt;&lt;/i&gt; Guidelines for importing documents into &lt;em&gt;&lt;strong&gt;ATRIA&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;ATRIA&lt;/strong&gt;&lt;/em&gt; main components, &lt;a href=&#34;../../docs/atria/technical-components/atria-model-gateway/&#34;&gt;&lt;em&gt;&lt;strong&gt;atria-model-gateway&lt;/strong&gt;&lt;/em&gt;&lt;/a&gt; and &lt;a href=&#34;../../docs/atria/technical-components/atria-rag-server/&#34;&gt;&lt;em&gt;&lt;strong&gt;atria-rag-server&lt;/strong&gt;&lt;/em&gt;&lt;/a&gt;, are configured through different parameters, both internal ones and required when developing an experience in &lt;em&gt;&lt;strong&gt;ATRIA&lt;/strong&gt;&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;The following documents describe these parameters and their associated fields and fully define the processes for their modification by experiences constructors.&lt;/p&gt;
&lt;p&gt;The configuration parameters can be divided into two main categories:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;strong&gt;CONFIGURATION PARAMETERS&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;DESCRIPTION&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;TARGET USERS&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;RELATED DOCUMENTS&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Server configuration parameters&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Internal configuration for &lt;em&gt;&lt;strong&gt;ATRIA&lt;/strong&gt;&lt;/em&gt; components&lt;/td&gt;
&lt;td&gt;&lt;em&gt;&lt;strong&gt;ATRIA&lt;/strong&gt;&lt;/em&gt; developers and installation teams&lt;/td&gt;
&lt;td&gt;&lt;a href=&#34;../../docs/atria/technical-guidelines/configuration/atria-default-configuration/&#34;&gt;&lt;em&gt;&lt;strong&gt;ATRIA&lt;/strong&gt;&lt;/em&gt; components default configuration&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;preset&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;- Instructions to work with the AI model for the resolution of a use case  &lt;br&gt;&lt;br&gt; - It includes a process for documents and data import into the environment&lt;/td&gt;
&lt;td&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;em&gt;&lt;strong&gt;ATRIA&lt;/strong&gt;&lt;/em&gt; use cases constructors&lt;/td&gt;
&lt;td&gt;- &lt;a href=&#34;../../docs/atria/technical-guidelines/configuration/modify-atria-configuration/&#34;&gt;Modify ATRIA configuration: Configure a preset&lt;/a&gt; &lt;br&gt;&lt;br&gt; - &lt;a href=&#34;../../docs/atria/technical-guidelines/configuration/import-documents/&#34;&gt;Import documents into &lt;em&gt;&lt;strong&gt;ATRIA&lt;/strong&gt;&lt;/em&gt;&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;

      </description>
    </item>
    
    <item>
      <title>Docs: </title>
      <link>/docs/atria/technical-guidelines/create-preset-guidelines/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/atria/technical-guidelines/create-preset-guidelines/</guid>
      <description>
        
        
        &lt;h1 id=&#34;tutorial-create-new-copilot-preset-using-aura-configuration-api&#34;&gt;Tutorial: Create new Copilot preset using Aura Configuration API&lt;/h1&gt;


&lt;div class=&#34;pageinfo pageinfo-primary&#34;&gt;
&lt;p&gt;Comprehensive guidelines for the creation of a new preset in &lt;em&gt;&lt;strong&gt;ATRIA&lt;/strong&gt;&lt;/em&gt; for &lt;em&gt;&lt;strong&gt;Aura Copilot&lt;/strong&gt;&lt;/em&gt; using &lt;em&gt;&lt;strong&gt;aura-configuration-api&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;
&lt;p&gt;As an example of the process for the creation of a new preset in &lt;em&gt;&lt;strong&gt;ATRIA&lt;/strong&gt;&lt;/em&gt;, the current document shows the detailed guidelines to create a new &lt;em&gt;&lt;strong&gt;Aura Copilot&lt;/strong&gt;&lt;/em&gt; preset in a specific environment through the use of &lt;em&gt;&lt;strong&gt;aura-configuration-api&lt;/strong&gt;&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;It is important to follow the following steps in the correct order&lt;/strong&gt;:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&#34;#1-prerequisites&#34;&gt;Prerequisites&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#2-create-a-new-preset-in-aura-configuration-api&#34;&gt;Create a new preset in &lt;em&gt;&lt;strong&gt;aura-configuration-api&lt;/strong&gt;&lt;/em&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#3-include-the-new-preset-in-an-application&#34;&gt;Include the new preset in an application&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#4-upload-documents-and-execute-generate-db-job&#34;&gt;Upload documents and execute the &lt;em&gt;&lt;strong&gt;generate-db&lt;/strong&gt;&lt;/em&gt; job&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#5-update-aura-applications-configuration-via-api&#34;&gt;Update Aura applications configuration via API&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;/div&gt;

&lt;h2 id=&#34;1-prerequisites&#34;&gt;1. Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Recommended installations:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;kubectl&lt;/code&gt; installed in your local host.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;curl&lt;/code&gt; installed in your local host.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;jq&lt;/code&gt; installed in your local host.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;You must have access to Azure container &lt;code&gt;atria-resources&lt;/code&gt; in order to upload documents.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;2-create-a-new-preset-in-aura-configuration-api&#34;&gt;2. Create a new preset in &lt;em&gt;&lt;strong&gt;aura-configuration-api&lt;/strong&gt;&lt;/em&gt;&lt;/h2&gt;
&lt;p&gt;A &lt;strong&gt;preset&lt;/strong&gt; is defined as a configurable entity to define the instructions to work with the AI model for the resolution of the use case.&lt;/p&gt;
&lt;p&gt;The creation of a new preset in a specific environment is a key part of &lt;em&gt;&lt;strong&gt;ATRIA&lt;/strong&gt;&lt;/em&gt; configuration. The general guidelines for this task are included in:&lt;/p&gt;
&lt;p&gt;&lt;i class=&#34;fa-regular fa-file-lines fa-xl&#34; style=&#34;color: #0d5de7;&#34;&gt;&lt;/i&gt; &lt;a href=&#34;../../docs/atria/technical-guidelines/configuration/modify-atria-configuration/#13-create-new-preset&#34;&gt;Modify &lt;em&gt;&lt;strong&gt;ATRIA&lt;/strong&gt;&lt;/em&gt; configuration: Create a new preset&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;example-of-the-new-preset&#34;&gt;Example of the new preset&lt;/h3&gt;
&lt;p&gt;This can be the structure and fields of the new preset for &lt;em&gt;&lt;strong&gt;Aura Copilot&lt;/strong&gt;&lt;/em&gt;, including the prompt with instructions.&lt;/p&gt;
  &lt;details open&gt;
  &lt;summary&gt; New preset&lt;/summary&gt; 
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-json&#34; data-lang=&#34;json&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;id&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;a2cdb523-883e-44ab-8e0b-2d164dd98346&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;name&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;new-copilot-preset&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;group&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;enriched_ai&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;description&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;New copilot preset&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;session&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;window&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;0&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;timeout&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;30&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;},&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;rag&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;type&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;sql&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;model&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;              &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;id&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;gpt-4o&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;               &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;parameters&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                  &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;max_tokens&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;16384&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                  &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;temperature&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;0.01&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;              &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;},&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;references&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;              &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;maximum&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;3&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;              &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;baseUrl&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;project-copilot/jsonl&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;},&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;stages&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;              &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;language&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;en&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;              &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;retrievalStg&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                  &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;sources&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                      &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;name&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;project-copilot&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                      &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;embeddings&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;test_distilbert&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                      &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;docs&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;[&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                          &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                              &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;extension&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;jsonl&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                              &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;loader&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                                  &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;loaderType&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;jsonl&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                              &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                          &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                      &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;],&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                      &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;retrievers&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;[&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                          &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                              &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;retrieverType&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;qdrant&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                          &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;},&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                          &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                              &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;retrieverType&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;tfidf&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                          &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                      &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                  &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;              &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;},&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;              &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;generativeStg&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                  &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;prompts&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                      &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;sqlPrompt&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                          &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;default&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                              &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;&amp;#34;text&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;{% raw %}\nGenerate a SQL query statement to answer the following question:\n`{question}`\n    \nUse the data contained in the following table. You have its definition in SQL and in Avro.\n{sql_table_definition}\n    \n    \nThe following tables, containing auxiliary information, are also available:\n```sql\nCREATE TABLE D_CBD_Static_Geo_Area_v6 (GEO_AREA_ID VARCHAR, CBD_GEO_AREA_LEVEL1_ID VARCHAR, CBD_GEO_AREA_LEVEL2_ID VARCHAR, CBD_GEO_AREA_LEVEL3_ID VARCHAR, CBD_GEO_AREA_LEVEL4_ID VARCHAR, OB_ALPHA_ID VARCHAR, EXTRACTION_TM VARCHAR);\n    COMMENT ON TABLE D_CBD_Static_Geo_Area IS &amp;#39;Geographical areas. This table contains foreign keys to the different levels of geographical areas. In particular, it contains the foreign keys to these tables: CBD_Static_Geo_Area_Level1, CBD_Static_Geo_Area_Level2, CBD_Static_Geo_Area_Level3, CBD_Static_Geo_Area_Level4. Therefore, this tables is used, via JOIN, to query the geographical information contained in the different levels of geographical areas. For instance, if you have a table T with a field GEO_AREA_ID and you need to check whether this location corresponds to the region of Asturias you will need to look for GEO_AREA_ID in this table, then extract the CBD_GEO_AREA_LEVEL4_ID and query the table CBD_Static_Geo_Area_Level4 to get the name of the region.&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area.GEO_AREA_ID IS &amp;#39;Description: Identifier of the geographical area assigned to the customer (typically the geographical area of the customer home). This identifier is a string code which values are defined in &amp;#39;&amp;#39;D_Geographical_Area&amp;#39;&amp;#39; entity. Format: alphanumeric string. Example values: &amp;#39;&amp;#39;2800983CE&amp;#39;&amp;#39;, &amp;#39;&amp;#39;50059&amp;#39;&amp;#39;, &amp;#39;&amp;#39;3101142CE&amp;#39;&amp;#39;&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area.CBD_GEO_AREA_LEVEL1_ID IS &amp;#39;Identifier of the geographical area Level 1 (max level of detail: CP or similar). FORMAT: string containing a numerical code. This field does not contain location names.&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area.CBD_GEO_AREA_LEVEL2_ID IS &amp;#39;Identifier of the geographical area Level 2 (City/Town). FORMAT: string containing a numerical code. This field does not contain location names.&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area.CBD_GEO_AREA_LEVEL3_ID IS &amp;#39;Identifier of the geographical area Level 3 (Province). FORMAT: string containing a numerical code. This field does not contain location names.&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area.CBD_GEO_AREA_LEVEL4_ID IS &amp;#39;Identifier of the geographical area Level 4 (State/Region). FORMAT: string containing a numerical code. This field does not contain location names.&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area.OB_ALPHA_ID IS &amp;#39;Alphanumeric Organizational Business ID&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area.EXTRACTION_TM IS &amp;#39;Date-time of the record&amp;#39;;\n    \nCREATE TABLE D_CBD_Static_Geo_Area_Level2_v6 (CBD_GEO_AREA_LEVEL2_ID VARCHAR, GEO_AREA_LEVEL_DES VARCHAR, CBD_GEO_AREA_LEVEL3_ID VARCHAR, LONGITUDE_LON_CO DOUBLE, LATITUDE_LAT_CO DOUBLE, GEO_AREA_ID VARCHAR, GEO_STD_AREA_CD VARCHAR, OB_ALPHA_ID VARCHAR, EXTRACTION_TM VARCHAR);\n    COMMENT ON TABLE D_CBD_Static_Geo_Area_Level2 IS &amp;#39;Geographical area level 2 (State)&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level2.CBD_GEO_AREA_LEVEL2_ID IS &amp;#39;Identifier of the geographical area Level 2 (City/Town). FORMAT: string containing a numerical code.&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level2.GEO_AREA_LEVEL_DES IS &amp;#39;Description associated to the identifier level 2. FORMAT: alphanumeric string containing the name of the city/town.&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level2.CBD_GEO_AREA_LEVEL3_ID IS &amp;#39;Identifier of the geographical area Level 3 (Province)&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level2.LONGITUDE_LON_CO IS &amp;#39;Longitude coordinates (in WGS84) associated with level 2&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level2.LATITUDE_LAT_CO IS &amp;#39;Latitude coordinates (in WGS84) associated with level 2&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level2.GEO_AREA_ID IS &amp;#39;Description: Identifier of the geographical area assigned to the customer (typically the geographical area of the customer home). This identifier is a string code which values are defined in &amp;#39;&amp;#39;D_Geographical_Area&amp;#39;&amp;#39; entity. Format: alphanumeric string. Example values: &amp;#39;&amp;#39;2800983CE&amp;#39;&amp;#39;, &amp;#39;&amp;#39;50059&amp;#39;&amp;#39;, &amp;#39;&amp;#39;3101142CE&amp;#39;&amp;#39;&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level2.GEO_STD_AREA_CD IS &amp;#39;Standard code of the geo area&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level2.OB_ALPHA_ID IS &amp;#39;Alphanumeric Organizational Business ID&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level2.EXTRACTION_TM IS &amp;#39;Date-time of the record&amp;#39;;\n    \nCREATE TABLE D_CBD_Static_Geo_Area_Level3_v6 (CBD_GEO_AREA_LEVEL3_ID VARCHAR, GEO_AREA_LEVEL_DES VARCHAR, CBD_GEO_AREA_LEVEL4_ID VARCHAR, LONGITUDE_LON_CO DOUBLE, LATITUDE_LAT_CO DOUBLE, ISO_3166_2_CD VARCHAR, GEO_AREA_ID VARCHAR, GEO_STD_AREA_CD VARCHAR, OB_ALPHA_ID VARCHAR, EXTRACTION_TM VARCHAR);\n    COMMENT ON TABLE D_CBD_Static_Geo_Area_Level3 IS &amp;#39;Geographical area level 3 (Region)&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level3.CBD_GEO_AREA_LEVEL3_ID IS &amp;#39;Identifier of the geographical area Level 3 (Province). FORMAT: string containing a numerical code.&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level3.GEO_AREA_LEVEL_DES IS &amp;#39;Description associated to the identifier level 3. FORMAT: alphanumeric string containing the name of the province.&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level3.CBD_GEO_AREA_LEVEL4_ID IS &amp;#39;Identifier of the geographical area Level 4 (State/Region). FORMAT: string containing a numerical code.&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level3.LONGITUDE_LON_CO IS &amp;#39;Longitude coordinates (in WGS84) associated with level 3&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level3.LATITUDE_LAT_CO IS &amp;#39;Latitude coordinates (in WGS84) associated with level 3&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level3.ISO_3166_2_CD IS &amp;#39;ISO 3166-2 associated&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level3.GEO_AREA_ID IS &amp;#39;Description: Identifier of the geographical area assigned to the customer (typically the geographical area of the customer home). This identifier is a string code which values are defined in &amp;#39;&amp;#39;D_Geographical_Area&amp;#39;&amp;#39; entity. Format: alphanumeric string. Example values: &amp;#39;&amp;#39;2800983CE&amp;#39;&amp;#39;, &amp;#39;&amp;#39;50059&amp;#39;&amp;#39;, &amp;#39;&amp;#39;3101142CE&amp;#39;&amp;#39;&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level3.GEO_STD_AREA_CD IS &amp;#39;Standard code of the geo area&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level3.OB_ALPHA_ID IS &amp;#39;Alphanumeric Organizational Business ID&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level3.EXTRACTION_TM IS &amp;#39;Date-time of the record&amp;#39;;\n    \nCREATE TABLE D_CBD_Static_Geo_Area_Level4_v6 (CBD_GEO_AREA_LEVEL4_ID VARCHAR, GEO_AREA_LEVEL_DES VARCHAR, LONGITUDE_LON_CO DOUBLE, LATITUDE_LAT_CO DOUBLE, HASC_1_CD VARCHAR, GEO_AREA_ID VARCHAR, GEO_STD_AREA_CD VARCHAR, OB_ALPHA_ID VARCHAR, EXTRACTION_TM VARCHAR);\n    COMMENT ON TABLE D_CBD_Static_Geo_Area_Level4 IS &amp;#39;Geographical area level 4 (min. Detail)&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level4.CBD_GEO_AREA_LEVEL4_ID IS &amp;#39;Identifier of the geographical area Level 4 (State/Region). FORMAT: string containing a numerical code.&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level4.GEO_AREA_LEVEL_DES IS &amp;#39;Description associated to the identifier level 4. FORMAT: alphanumerical string containing the name of the state/region. EXAMPLE VALUES: &amp;#39;&amp;#39;Asturias&amp;#39;&amp;#39;, &amp;#39;&amp;#39;Andaluc\u00eda&amp;#39;&amp;#39;, etc.&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level4.LONGITUDE_LON_CO IS &amp;#39;Longitude coordinates (in WGS84) associated with level 4&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level4.LATITUDE_LAT_CO IS &amp;#39;Latitude coordinates (in WGS84) associated with level 4&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level4.HASC_1_CD IS &amp;#39;Hierarchical administrative subdivision codes &amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level4.GEO_AREA_ID IS &amp;#39;Description: Identifier of the geographical area assigned to the customer (typically the geographical area of the customer home). This identifier is a string code which values are defined in &amp;#39;&amp;#39;D_Geographical_Area&amp;#39;&amp;#39; entity. Format: alphanumeric string. Example values: &amp;#39;&amp;#39;2800983CE&amp;#39;&amp;#39;, &amp;#39;&amp;#39;50059&amp;#39;&amp;#39;, &amp;#39;&amp;#39;3101142CE&amp;#39;&amp;#39;&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level4.GEO_STD_AREA_CD IS &amp;#39;Standard code of the geo area&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level4.OB_ALPHA_ID IS &amp;#39;Alphanumeric Organizational Business ID&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level4.EXTRACTION_TM IS &amp;#39;Date-time of the record&amp;#39;;\n    \nCREATE TABLE D_CBD_Static_Station_Type_v6 (STATION_TYPE_CD VARCHAR, TECH_LEVEL_WEIGHT_QT FLOAT, STATION_TYPE_L2_DES VARCHAR, STATION_TYPE_L1_DES VARCHAR, STATION_TYPE_L2_ORDER_NUM INT, STATION_TYPE_L1_ORDER_NUM INT, STATION_TYPE_ORDER_NUM INT, CONSCIOUS_IND BOOLEAN, EXTRACTION_TM VARCHAR);\n    COMMENT ON TABLE D_CBD_Static_Station_Type IS &amp;#39;Station types&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Station_Type.STATION_TYPE_CD IS &amp;#39;Description: Type of device connected to the HGU router. It used to find out which devices are connected to routers in households. Format: String. Example values: \&amp;#34;A/V Equipment\&amp;#34;, \&amp;#34;Air Conditioning\&amp;#34;, \&amp;#34;Air Conditioning Control\&amp;#34;, \&amp;#34;Apple Handheld Device\&amp;#34;, \&amp;#34;Apple Home Device\&amp;#34;, \&amp;#34;AudioCast\&amp;#34;, \&amp;#34;Audiocast\&amp;#34;, \&amp;#34;Barcode Printer\&amp;#34;, \&amp;#34;Camera\&amp;#34;, \&amp;#34;Car Dash Cam\&amp;#34;, \&amp;#34;Cryptominner\&amp;#34;, \&amp;#34;Digital Clock\&amp;#34;, \&amp;#34;Dishwasher\&amp;#34;, \&amp;#34;Drone Equipment\&amp;#34;, \&amp;#34;GPS\&amp;#34;, \&amp;#34;Gaming Console\&amp;#34;, \&amp;#34;Hyper Media Player\&amp;#34;, \&amp;#34;IP Camera\&amp;#34;, \&amp;#34;IPC Hub\&amp;#34;, \&amp;#34;IPC Video Recorder\&amp;#34;, \&amp;#34;IoT Device\&amp;#34;, \&amp;#34;Key Cutting Machine\&amp;#34;, \&amp;#34;Media Center\&amp;#34;, \&amp;#34;Monitoring Device\&amp;#34;, \&amp;#34;Multimedia Player\&amp;#34;, \&amp;#34;Network Access Point\&amp;#34;, \&amp;#34;Network Equipment\&amp;#34;, \&amp;#34;PC\&amp;#34;, \&amp;#34;PDA\&amp;#34;, \&amp;#34;PIR Sensor\&amp;#34;, \&amp;#34;Print Server\&amp;#34;, \&amp;#34;Printer\&amp;#34;, \&amp;#34;Projector\&amp;#34;, \&amp;#34;Raspberry\&amp;#34;, \&amp;#34;Router\&amp;#34;, \&amp;#34;Security System\&amp;#34;, \&amp;#34;Smart AC Control\&amp;#34;, \&amp;#34;Smart Air Freshener\&amp;#34;, \&amp;#34;Smart Air Fryer\&amp;#34;, \&amp;#34;Smart Air Ventilator\&amp;#34;, \&amp;#34;Smart Animal Feeder\&amp;#34;, \&amp;#34;Smart Baby Monitor\&amp;#34;, \&amp;#34;Smart Blind\&amp;#34;, \&amp;#34;Smart Bulb\&amp;#34;, \&amp;#34;Smart Bulb Adapter\&amp;#34;, \&amp;#34;Smart Car\&amp;#34;, \&amp;#34;Smart Car e-Charger\&amp;#34;, \&amp;#34;Smart Display e-bike\&amp;#34;, \&amp;#34;Smart Energy Analyzer\&amp;#34;, \&amp;#34;Smart Home Controller\&amp;#34;, \&amp;#34;Smart Home Hub\&amp;#34;, \&amp;#34;Smart Humidifier\&amp;#34;, \&amp;#34;Smart Hydrometer Clock\&amp;#34;, \&amp;#34;Smart Kitchen Appliances\&amp;#34;, \&amp;#34;Smart Kitchen Scale\&amp;#34;, \&amp;#34;Smart Lamp\&amp;#34;, \&amp;#34;Smart Light Dimmer\&amp;#34;, \&amp;#34;Smart Lock Control\&amp;#34;, \&amp;#34;Smart Plug\&amp;#34;, \&amp;#34;Smart Pool\&amp;#34;, \&amp;#34;Smart Power Strip\&amp;#34;, \&amp;#34;Smart Purifier\&amp;#34;, \&amp;#34;Smart Scale\&amp;#34;, \&amp;#34;Smart Signage\&amp;#34;, \&amp;#34;Smart Speaker\&amp;#34;, \&amp;#34;Smart Switch\&amp;#34;, \&amp;#34;Smart TV\&amp;#34;, \&amp;#34;Smart Thermostat\&amp;#34;, \&amp;#34;Smart Toothbrush\&amp;#34;, \&amp;#34;Smart Vacuum\&amp;#34;, \&amp;#34;Smart WallSocket\&amp;#34;, \&amp;#34;Smart Watch\&amp;#34;, \&amp;#34;Smart Watch Fit\&amp;#34;, \&amp;#34;Smart WifiButton\&amp;#34;, \&amp;#34;Smartphone\&amp;#34;, \&amp;#34;Smartphone/Tablet\&amp;#34;, \&amp;#34;Smartwatch\&amp;#34;, \&amp;#34;Smartwatch Fit\&amp;#34;, \&amp;#34;Solar Panel Equipment\&amp;#34;, \&amp;#34;Soundbar\&amp;#34;, \&amp;#34;Steam Controller\&amp;#34;, \&amp;#34;Storage Device\&amp;#34;, \&amp;#34;TPV\&amp;#34;, \&amp;#34;TV Dongle\&amp;#34;, \&amp;#34;Tablet\&amp;#34;, \&amp;#34;Tempest Weather System\&amp;#34;, \&amp;#34;UPS\&amp;#34;, \&amp;#34;VR/AR Headset\&amp;#34;, \&amp;#34;Video Doorbell\&amp;#34;, \&amp;#34;Video Intercom\&amp;#34;, \&amp;#34;Video STB Equipment\&amp;#34;, \&amp;#34;VideointercomIP\&amp;#34;, \&amp;#34;Virtual Desktop\&amp;#34;, \&amp;#34;VoIP Phone\&amp;#34;, \&amp;#34;WAN Extender\&amp;#34;, \&amp;#34;WiFi Extender\&amp;#34;, \&amp;#34;Wifi Dongle\&amp;#34;, \&amp;#34;Wireless Blood Pressure Monitor\&amp;#34;, \&amp;#34;Wireless Bridge\&amp;#34;, \&amp;#34;Wireless Headphones\&amp;#34;, \&amp;#34;Wireless Router + VoIP Series\&amp;#34;, \&amp;#34;e-Note\&amp;#34;, \&amp;#34;eBook\&amp;#34;&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Station_Type.TECH_LEVEL_WEIGHT_QT IS &amp;#39;Associated weight for the technologic level of the home&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Station_Type.STATION_TYPE_L2_DES IS &amp;#39;Description: Higher level device type grouping. Example values: \&amp;#34;PCs &amp;amp; Home Office\&amp;#34;, \&amp;#34;Smartphones / Tablets / eReaders / iWatch\&amp;#34;, \&amp;#34;Multimedia Entertainment\&amp;#34;, \&amp;#34;Gaming\&amp;#34;, \&amp;#34;Sport &amp;amp; Health\&amp;#34;, \&amp;#34;Smart Home\&amp;#34;, \&amp;#34;Unknown\&amp;#34;, \&amp;#34;Network Devices\&amp;#34;, \&amp;#34;Security &amp;amp; Control\&amp;#34;&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Station_Type.STATION_TYPE_L1_DES IS &amp;#39;Description: Intermediate level device type grouping. Example values: \&amp;#34;Smart Speakers &amp;amp; Audio\&amp;#34;, \&amp;#34;PCs &amp;amp; Home Office\&amp;#34;, \&amp;#34;Video Entertainment\&amp;#34;, \&amp;#34;Domestic Appliances\&amp;#34;, \&amp;#34;Smart Energy &amp;amp; Lighting\&amp;#34;, \&amp;#34;Apple Handheld Device\&amp;#34;, \&amp;#34;Smartphones / Tablets / eReaders\&amp;#34;, \&amp;#34;Gaming\&amp;#34;, \&amp;#34;Sport &amp;amp; Health\&amp;#34;, \&amp;#34;Network Devices\&amp;#34;, \&amp;#34;Security &amp;amp; Control\&amp;#34;, \&amp;#34;IoT\&amp;#34;&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Station_Type.STATION_TYPE_L2_ORDER_NUM IS &amp;#39;Station type order level 2&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Station_Type.STATION_TYPE_L1_ORDER_NUM IS &amp;#39;Station type order level 1&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Station_Type.STATION_TYPE_ORDER_NUM IS &amp;#39;Station type order&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Station_Type.CONSCIOUS_IND IS &amp;#39;Indicates if the related device type has energy efficiency&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Station_Type.EXTRACTION_TM IS &amp;#39;Date-time of the record&amp;#39;;\n    \nCREATE TABLE D_Segment_v8 (OPERATOR_ID VARCHAR, SEGMENT_ID VARCHAR, SEGMENT_DES VARCHAR, GBL_SEGMENT_ID VARCHAR, SEGMENT_GROUP_ID VARCHAR, SEGMENT_GROUP_DES VARCHAR, EXTRACTION_TM VARCHAR);\n    COMMENT ON TABLE D_Segment IS &amp;#39;Classifications of the customers, attending to different segmentation criteria, for marketing and management issues, according to OB criteria and its correspondence with the global segment classification&amp;#39;;\n    COMMENT ON COLUMN D_Segment.OPERATOR_ID IS &amp;#39;Global Operator Identifier (Operator acting as owner of the information present in the current entity)&amp;#39;;\n    COMMENT ON COLUMN D_Segment.SEGMENT_ID IS &amp;#39;Description: Organisational segment of the client. Format: two letter string. Possible values: &amp;#39;&amp;#39;NT&amp;#39;&amp;#39; - NTT, &amp;#39;&amp;#39;GP&amp;#39;&amp;#39; - Residencial, &amp;#39;&amp;#39;PE&amp;#39;&amp;#39; - Pymes, &amp;#39;&amp;#39;RE&amp;#39;&amp;#39; - Residencial/SC, &amp;#39;&amp;#39;AU&amp;#39;&amp;#39; - Autonomos, &amp;#39;&amp;#39;OP&amp;#39;&amp;#39; - Operadores, &amp;#39;&amp;#39;GC&amp;#39;&amp;#39; - Grandes Clientes, &amp;#39;&amp;#39;RP&amp;#39;&amp;#39; - Residencial Prepago, &amp;#39;&amp;#39;TE&amp;#39;&amp;#39; - Telefonica, &amp;#39;&amp;#39;SC&amp;#39;&amp;#39; - Sin Clasificar, &amp;#39;&amp;#39;ME&amp;#39;&amp;#39; - Empresas&amp;#39;;\n    COMMENT ON COLUMN D_Segment.SEGMENT_DES IS &amp;#39;Description: Name or description of the organisational segment of the client (provides the description for each segment identifier). Format: string. Example values: &amp;#39;&amp;#39;Residencial&amp;#39;&amp;#39;,  &amp;#39;&amp;#39;Pymes&amp;#39;&amp;#39;, &amp;#39;&amp;#39;Autonomos&amp;#39;&amp;#39;, &amp;#39;&amp;#39;Operadores&amp;#39;&amp;#39;, &amp;#39;&amp;#39;Grandes Clientes&amp;#39;&amp;#39;, &amp;#39;&amp;#39;Sin Clasificar&amp;#39;&amp;#39;&amp;#39;;\n    COMMENT ON COLUMN D_Segment.GBL_SEGMENT_ID IS &amp;#39;ID of the global segment classification&amp;#39;;\n    COMMENT ON COLUMN D_Segment.SEGMENT_GROUP_ID IS &amp;#39;ID code of the segmentation group&amp;#39;;\n    COMMENT ON COLUMN D_Segment.SEGMENT_GROUP_DES IS &amp;#39;Description of the segmentation group&amp;#39;;\n    COMMENT ON COLUMN D_Segment.EXTRACTION_TM IS &amp;#39;Date-time of the record&amp;#39;;\nCREATE TABLE D_Fixed_Tariff_Plan_v8 (OPERATOR_ID VARCHAR, DAY_DT VARCHAR, TARIFF_PLAN_ID VARCHAR, TARIFF_PLAN_DES VARCHAR, VOICE_IND BOOLEAN, BBAND_IND BOOLEAN, TV_IND BOOLEAN, WORKSTATION_IND BOOLEAN, APP_IND BOOLEAN, VOICE_BUNDLE_QT FLOAT, BBAND_UP_SPEED_QT FLOAT, BBAND_DOWN_SPEED_QT FLOAT, TV_TYPE_CD VARCHAR, FIXED_SERVICE_COMMERCIAL_NAME VARCHAR, COMMERCIAL_IND BOOLEAN, TARIFF_PLAN_START_DT VARCHAR, TARIFF_PLAN_END_DT VARCHAR, CONVERGENT_IND BOOLEAN, BRAND_ID VARCHAR);\n    COMMENT ON TABLE D_Fixed_Tariff_Plan_v8 IS &amp;#39;Every fixed Tariff to be applied, either Commercial, Convergent, Individual, or any other, for any product&amp;amp;service for the fixed client base&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.OPERATOR_ID IS &amp;#39;Global Operator Identifier (Operator acting as owner of the information present in the current entity)&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.DAY_DT IS &amp;#39;Year, month and day of the data  ### Additional Information  Format: YYYYMMDD (4 digits for year, months from 01 to 12, days from 01 to 31).&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.TARIFF_PLAN_ID IS &amp;#39;Unique identifier of the tariff plan&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.TARIFF_PLAN_DES IS &amp;#39;Name/short description of the tariff plan&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.VOICE_IND IS &amp;#39;Indicates whether the line has a fixed line voice service associated.  Values: 0=No; 1=Yes.&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.BBAND_IND IS &amp;#39;Indicates whether the line has a Broadband service associated.  Values: 0=No; 1=Yes.&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.TV_IND IS &amp;#39;Indicates if the line has a TV service associated.  Values: 0=No; 1=Yes.&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.WORKSTATION_IND IS &amp;#39;Indicates if the line has a workstation service associated.  Values: 0=No; 1=Yes.&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.APP_IND IS &amp;#39;Indicates if the line has the \&amp;#34;Aplicateca service\&amp;#34; associated.  Values: 0=No; 1=Yes.&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.VOICE_BUNDLE_QT IS &amp;#39;Amount of data associated with the voice bundle&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.BBAND_UP_SPEED_QT IS &amp;#39;Broadband up speed (Mbps)&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.BBAND_DOWN_SPEED_QT IS &amp;#39;Broadband down speed (Mbps)&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.TV_TYPE_CD IS &amp;#39;Type of TV line&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.FIXED_SERVICE_COMMERCIAL_NAME IS &amp;#39;Commercial name of the service&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.COMMERCIAL_IND IS &amp;#39;Indicates if TARIFF_PLAN_ID refers to the COMMERCIAL_TARIFF_ID.    Fill-in with 1 if TARIFF_PLAN_ID refers to the COMMERCIAL_TARIFF_ID or 0 if it doesn&amp;#39;&amp;#39;t    0 = Non commercial tariff  1 = commercial tariff&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.TARIFF_PLAN_START_DT IS &amp;#39;Start date of the tariff plan validity (that day is the first day when the tariff plan is applicable)  ### Additional Information  Format: YYYYMMDD (4 digits for year, months from 01 to 12, days from 01 to 31).&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.TARIFF_PLAN_END_DT IS &amp;#39;End date of the tariff plan validity (that day is the last day when the tariff plan is applicable)  ### Additional Information  Format: YYYYMMDD (4 digits for year, months from 01 to 12, days from 01 to 31).&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.CONVERGENT_IND IS &amp;#39;Flag indicating if the current fixed tariff plan can be configured as a \&amp;#34;Convergent tariff plan\&amp;#34;, i. e., a plan with special conditions due to the fact of including at least one Fixed line/service and one Mobile line.   0 = No (the plan can&amp;#39;&amp;#39;t be configured as convergent)   1 = Yes (the plan can be configured as convergent)&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.BRAND_ID IS &amp;#39;Commercial brand identifier. In order to differentiate among different brands in the same OB (e.g. Movistar, O2, Tuenti...)&amp;#39;;\n```\nSome of the former tables contain columns in full-qualified format. For instance, these are some examples of full-qualified columns:\n```\nrecord_name.field_name\nTEC_PLAT_REC.DEVICE_ID\nrecord_name.subrecord_name.field_name\nTEC_PLAT_REC.TEC_PLAT_SUBCOMP_REC.DEVICE_ID\n...\n```\nAlways use the full-qualified format when referring to columns in the tables. For instance, if you need to use the column &amp;#39;TEC_PLAT_REC.DEVICE_ID&amp;#39;, you should not refer to it as &amp;#39;DEVICE_ID&amp;#39;, but as &amp;#39;TEC_PLAT_REC.DEVICE_ID&amp;#39;.\n**Explain in detail, step by step, all your decisions**. \n# General instructions \nFollow these reasoning steps to generate the SQL query:\n- Step 1: Identify Necessary Tables\n- Step 2: Identify Useful Candidate Columns\n- Step 3: Assess if Tables and Columns are Sufficient to Answer the Question\n- Step 4: Identify Columns Contained in Maps\n- Step 5: Plan the SQL Query\n- Step 6: Write the final SQL Query and apply the rules\n- Step 7: Check that the query actually can answer the question\n- Step 8: Create the result as a JSON object \nIf you need to filter by a higher level geographical such as a region (Comunidad Autónoma) you will need to:\n- join the `GEO_AREA_ID` field of the data table (such as `CBD_HGU_Detail_Daily_v10`) with the `GEO_AREA_ID` field in `D_CBD_Static_Geo_Area_v6` table\n- then join the `CBD_GEO_AREA_LEVEL4_ID` field in the `D_CBD_Static_Geo_Area_v6` with the `CBD_GEO_AREA_LEVEL4_ID` field in the `D_CBD_Static_Geo_Area_Level4_v6` table   \n- then compare the `GEO_AREA_LEVEL_DES` field in the `D_CBD_Static_Geo_Area_Level4_v6` table with the name of the region (e.g., &amp;#39;Cantabria&amp;#39;), since the DESCRIPTION field does contain the actual name of the geographical area.\n**Only perform these joins if explicit filtering or grouping by geographical location is necessary**.\n# Detailed instructions\n### Step 1: Identify Necessary Tables\nFirst, identify which tables are necessary to answer the question `{question}`. Justify why you selected each of these tables. \nUse the following format:\n```\nI need the following tables to answer the question:\n- &amp;lt;table_name&amp;gt;: &amp;lt;reasoning&amp;gt;\n- &amp;lt;table_name&amp;gt;: &amp;lt;reasoning&amp;gt;\n...\n```\n### Step 2: Identify Useful Candidate Columns\nIdentify which columns are useful to answer the question `{question}`. Justify why you selected each of these columns.\nAlways include any column you think may be needed to answer the question. If there are similar columns in the table, you should identify all of them always. You will later choose which them are more suitable to answer the question. But, at this stage, you should include **all the columns that may be useful**.\nWrite the list of candidate columns you identified, and the reasoning after each column, using the following format:\n```\nI can use the following candidate columns to answer the question (including all the columns that may be useful):\n- &amp;lt;table name&amp;gt;:\n  - &amp;lt;column_name&amp;gt;: &amp;lt;copy here the full column description from schema&amp;gt;, including possible values if present&amp;gt;: &amp;lt;reasoning&amp;gt;. \n  - &amp;lt;column_name&amp;gt;: &amp;lt;copy here the full column description from schema&amp;gt;, including possible values if present&amp;gt;: &amp;lt;reasoning&amp;gt;.\n  ...\n- &amp;lt;table_name&amp;gt;:\n  - &amp;lt;column_name&amp;gt;: &amp;lt;copy here the full column description from schema&amp;gt;, including possible values if present&amp;gt;: &amp;lt;reasoning&amp;gt;.\n  - &amp;lt;column_name&amp;gt;: &amp;lt;copy here the full column description from schema&amp;gt;, including possible values if present&amp;gt;: &amp;lt;reasoning&amp;gt;.\n  ...\n...\n```\n### Step 3: Assess if Tables and Columns are Sufficient to Answer the Question\nTell if the tables and columns you identified are enough to answer the question `{question}`. Make sure to justify your answer and check the actual descriptions of the columns in the table definitions and the user question.\nWrite the answer using the following format:\n```\nPossible to answer the question using the former columns: \n- &amp;lt;reasoning&amp;gt;\n- Result: &amp;lt;Yes|No&amp;gt;\n```\n### Step 4: Identify Columns Contained in Maps\nSome columns are actually contained in a map structure. Since these columns need to be queried differently, you need to identify them.\nColumns with a name like &amp;#39;&amp;lt;some_name&amp;gt;.map.&amp;lt;other_name&amp;gt;&amp;#39; are contained in maps. \nFor instance, the column `STATIONS_DETAIL_REC.UNQ_STATION_MAP.map.STATION_TYPE_CD` is contained in a map structure called `STATIONS_DETAIL_REC.UNQ_STATION_MAP`.\nThis map structure is like this:\n```\nSTATIONS_DETAIL_REC.UNQ_STATION_MAP.map.STATION_TYPE_CD: {{\n    &amp;lt;key1&amp;gt;: {{\n        &amp;lt;some_field&amp;gt;; &amp;lt;some_value&amp;gt;,\n        \&amp;#34;STATION_TYPE_CD\&amp;#34;: &amp;lt;station_type_value1&amp;gt;\n    }},\n    &amp;lt;key2&amp;gt;: {{\n        &amp;lt;some_other_field&amp;gt;; &amp;lt;some_other_value&amp;gt;,\n        \&amp;#34;STATION_TYPE_CD\&amp;#34;: &amp;lt;station_type_value2&amp;gt;\n    }},\n...\n}}\n```\nTherefore, in this step, identify which columns are contained in maps since you will later need to use LATERAL VIEW EXPLODE to access the values of these maps.\n### Step 5: Plan the SQL Query  \nExplain, step by step, how you would write the SQL query to answer the question `{question}`, using the columns you identified. \n**Use the full qualified names of the columns**. **DO NOT USE THE `JSON_OBJECT` FUNCTION IN THE QUERY**.\nSome columns are contained in map structures. You can access the fields of the map using LATERAL VIEW EXPLODE. Do not use UNNEST to access the fields of the map.\nIn particular, you can create a temporary table with the exploded map and then query it. For instance, if you need to get the value of the `ABC.CDE.map.field` column, you should use the following SQL code to create a temporary table with the exploded map data and get the value of the field:\n```sql\nWITH exploded_map AS (\n  SELECT key, value.field_1, value,field_2, value.field_3  -- Select here all the columns/fields you will use later. \n  FROM &amp;lt;table_name&amp;gt;\n  LATERAL VIEW EXPLODE(ABC.CDE) AS key, value\n)\nSELECT exploded_map.field_1\nFROM exploded_map\n``` \nThis is another example:\n```sql\n  WITH exploded_map AS (\n  SELECT DATE, ID, RECORD.GROUP, value.CODE  -- Select here all the columns/fields you will use later.\n    FROM CBD_HGU_Detail_Daily_Aura_v10 LATERAL VIEW EXPLODE(STATIONS_DETAIL_REC.UNQ_STATION_MAP) AS key, value) \n  SELECT COUNT(DISTINCT ID) AS num_homes \n  FROM exploded_map JOIN D_Segment_v8 ON exploded_map.CLASS_ID = D_Segment_v8.CLASS_ID \n    WHERE DATE BETWEEN &amp;#39;2024-01-01&amp;#39; AND &amp;#39;2024-02-01&amp;#39; \n      AND D_Segment_v8.DESCRIPTION = &amp;#39;DESCRIPTION value&amp;#39; \n      AND exploded_map.CODE = &amp;#39;CODE value&amp;#39;    \n```\nHere is another example. If you need to count the number of elements in a map column named &amp;#39;ABC.map&amp;#39; you should use a code like this:\n```sql\nWITH exploded_map AS (\n  SELECT key_from_exploded_map\n  FROM &amp;lt;table_name&amp;gt;\n  LATERAL VIEW EXPLODE(ABC) AS key_from_exploded_map, value_from_exploded_map\n)\nSELECT COUNT(key_from_exploded_map)\nFROM exploded_map\n```\nTake into account that all map fields are named with the suffix `_MAP`. Take into account that you can only use the operation EXPLODE to fields that are maps. Therefore, you should use the EXPLODE operation only on fields that end with `_MAP`.\nTo finish this step, explain how you would write the SQL query to answer the question, using the columns you identified, taking into account the previous considerations for columns contained in maps, if there are any.\n### Step 6: Write the final SQL Query and apply the rules\nFinally, write the SQL query to answer the question `{question}`, using the columns you identified. \nRemarks:\n**DO NOT USE THE `JSON_OBJECT` FUNCTION IN THE QUERY**.\n**IMPORTANT: The keys in the exploded maps should not be used in JOIN operations, since they are just internal keys to the map structure.**\nCheck if you need to use any of the following **business rules** to build the query:\n```json\n{{\n  \&amp;#34;rules\&amp;#34;: [\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B1\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Fiction\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to look for tariff plans including \&amp;#34;ficción\&amp;#34; contents, you will need to look for one the following  patterns in the `TARIFF_PLAN_DES` field: &amp;#39;%FICCION%&amp;#39;, &amp;#39;%FICCIÓN%&amp;#39;, &amp;#39;%SERIES%&amp;#39;, &amp;#39;%CINE%&amp;#39;, &amp;#39;%FUSIÓN TOTAL%&amp;#39;, &amp;#39;%FUSION TOTAL%&amp;#39;. To make the proper comparison, you should use compare with uppercase letters. For instance, use a filter like this one: `UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%FICCION%&amp;#39; OR UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%FICCIÓN%&amp;#39; OR UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%SERIES%&amp;#39; OR UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%CINE%&amp;#39; OR UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%FUSIÓN TOTAL%&amp;#39; OR UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%FUSION TOTAL%&amp;#39;`\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B2\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Disney\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to look for tariff plans including \&amp;#34;Disney\&amp;#34; contents, you will need to look for one the following  patterns in the `TARIFF_PLAN_DES` field: &amp;#39;%DISNEY%&amp;#39;.  To make the proper comparison, you should use compare with uppercase letters. For instance, use a filter like this one: `UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%DISNEY%&amp;#39;`\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B3\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Football\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to look for tariff plans including football contents, you will need to look for one the following  patterns in the `TARIFF_PLAN_DES` field: &amp;#39;%FUTBOL%&amp;#39;, &amp;#39;%FÚTBOL%&amp;#39;, &amp;#39;%FUSION TOTAL%&amp;#39;, &amp;#39;%FUSIÓN TOTAL%&amp;#39;,  &amp;#39;%FUSION TA TOTAL%&amp;#39;, &amp;#39;%FUSIÓN TA TOTAL%&amp;#39;, &amp;#39;%LIGA%&amp;#39;, &amp;#39;%CHAMPION%&amp;#39;. To make the proper comparison, you should use compare with uppercase letters. For instance, use a filter like this one:  `UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%FUTBOL%&amp;#39; OR UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%FÚTBOL%&amp;#39; OR UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%FUSION TOTAL%&amp;#39; OR UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%FUSIÓN TOTAL%&amp;#39; OR UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%LIGA%&amp;#39; OR UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%CHAMPION%&amp;#39;`\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B4\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Netflix\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to look for tariff plans including \&amp;#34;Netflix\&amp;#34; contents, you will need to look for one the following  patterns in the `TARIFF_PLAN_DES` field: &amp;#39;%NETFLIX%&amp;#39;, &amp;#39;%FICCIÓN%&amp;#39;, &amp;#39;%FICCION%&amp;#39;. To make the proper comparison, you should use compare with uppercase letters. For instance, use a filter like this one: `UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%NETFLIX%&amp;#39;`\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B5\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Promociones\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to look for tariff plans including \&amp;#34;promotions\&amp;#34;, you will need to look for one the following  patterns in the `TARIFF_PLAN_DES` field: &amp;#39;%PROMO%&amp;#39;. To make the proper comparison, you should use compare with uppercase letters. For instance, use a filter like this one: `UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%PROMO%&amp;#39;`\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B6\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Edad promedio 1\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;You are not allowed to use the field `CBD_INFO_REC.CUST_AGE_NUM` in any query. You should use the field `CBD_INFO_REC.CUST_AGE_SEGMENT_CD` instead.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B7\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Edad promedio 2\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to calculate the average age of customers you should use the  following calculation instead of AVG(CBD_INFO_REC.CUST_AGE_SEGMENT_CD): AVG(IF(CBD_INFO_REC.CUST_AGE_SEGMENT_CD = &amp;#39;1&amp;#39;, NULL, CBD_INFO_REC.CUST_AGE_SEGMENT_CD))\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B8\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Query by customers\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to query by customers: if the time scope of the query is daily or weekly then you should use the `DEVICE_ID` field. If the time scope of the query is monthly or longer then you should use the `CUSTOMER_ID` field.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B9\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Station type\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;The field `STATION_TYPE_L2` corresponds to a higher aggregation level than `STATION_TYPE_L1`.  `STATION_TYPE_L1` corresponds to an intermediate category, used only with analytical purposes.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B10\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Active devices\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to check whether a device is active at a given date, you should use this check: `DEVICE_INFO_REC.INACTIVITY_DEVICE_INFO_NUM &amp;lt; 24`. If true, the device is active. If false, the device is inactive.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B11\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Penetración de un producto\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you are asked for calculating \&amp;#34;la penetración de un producto\&amp;#34; you should calculate the percentage of customers with that product.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B12\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Obsolete routers\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you are asked for obsolete routers, you should check for those with MANUFACT_HGU_CHIPSET_DES IN (&amp;#39;Askey Broadcom&amp;#39;, &amp;#39;Askey Econet&amp;#39;,&amp;#39;MitraStar Broadcom&amp;#39;, &amp;#39;MitraStar Econet&amp;#39;).\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B13\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;High value customers\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;Consider as high value customers those with a monthly revenue higher than 100 (TOTAL_CUST_RV &amp;gt; 100).\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B14.1\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Technological level formula\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to check the technological level of a customer, use the following formula on the field `TECH_LEVEL_WEIGHT_QT` of the table `D_CBD_STATIC_STATION_TYPE_v6`: `SUM(COALESCE(D_CBD_STATIC_STATION_TYPE_v6.TECH_LEVEL_WEIGHT_QT,0) + CASE WHEN AMM.VALUE.STATION_BRAND_DES = &amp;#39;Ubiquiti&amp;#39; THEN 0.8 ELSE 0 END)/COUNT(DISTINCT DAY_DT)`\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B14.2\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Technological levels\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;Consider as **high technological level** customers those with a value higher or equal to 2.5. Consider as **medium technological level** customers those with a value higher or equal to 1 and lower than 2.5. Consider as **low technological level** customers those with a value lower than 1.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B15\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Sport\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to look for tariff plans including \&amp;#34;sport\&amp;#34; contents, you will need to look for one the following  patterns in the `TARIFF_PLAN_DES` field: &amp;#39;%DEPORTE%&amp;#39;, &amp;#39;%TOTAL PLUS%&amp;#39;, &amp;#39;%TOTAL SAT%PLUS%&amp;#39;, &amp;#39;%MOTOR%&amp;#39;, &amp;#39;%DAZN%&amp;#39;. To make the proper comparison, you should use compare with uppercase letters. For instance, use a filter like this one: `(UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%DEPORTE%&amp;#39; OR UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%TOTAL PLUS%&amp;#39; OR UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%TOTAL SAT%PLUS%&amp;#39; -- Se añade para incluir los \&amp;#34;Total Satelite/Satélite Plus\&amp;#34; OR UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%MOTOR%&amp;#39; OR UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%DAZN%&amp;#39;)`\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R1\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Temporary table fields\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;When you use in a filter a given filed from a temporary table, built using the `WITH` clause, make sure that the  field is actually present in the SELECT statement defining the temporary table.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R2\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Temporary table field naming\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;Example: If you write a temporary table like this: `WITH temp_table AS (SELECT field1_prefix.field1 FROM table)`,  then you should use refer to the field as `field1` and not as `field1_prefix.field1` in the rest of the query.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R3\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Tariff plan\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to look for some specific tariffs, use the field `TARIFF_PLAN_DES` from the dimensional table D_Fixed_Tariff_Plan instead of using `CBD_INFO_REC.COMMERCIAL_TARIFF_ID` since this last one only contains identifiers without any meaning.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R4.1\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Station type 1\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If the query uses `D_CBD_Static_Station_Type_v6.STATION_TYPE_L1_DES` or `D_CBD_Static_Station_Type_v6.STATION_TYPE_L2_DES` answer this question: does the value you are looking for, matches one of the possible values of these fields? Justify your answer. Enumerate the possible values of these fields if they are used.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R4.2\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Station type 2\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;Apply this rule if the query uses a filter with the field `D_CBD_Static_Station_Type_v6.STATION_TYPE_L1_DES` or `D_CBD_Static_Station_Type_v6.STATION_TYPE_L2_DES` and the value you are looking for does not match any of the possible values of these fields. In this case, you should use the field `STATION_TYPE_CD` instead. Write the result of the previous reasoning in detail.  REMEMBER TO FIX THE QUERY TO USE THE FIELD `STATION_TYPE_CD` INSTEAD.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R5\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Counting entities\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to count the number of customer, homes, devices or any other entities, you should ensure that you are actually counting distinct entities. Therefore you should use the `COUNT(DISTINCT ...)` function instead of `COUNT(...)`.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R6\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Time scope less than a month\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you are asked to answer a question for a time scope minor than a month (daily or weekly) you must not use the field `MONTH_DT` in your query.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R7\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;No UNION operator\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;Avoid using the UNION operator in your queries.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R8\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Counting entities\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you are asked to count the number of customers, homes, devices or any other entities, you should ensure that the  result is actually a count and not a list of elements. Therefore you should use the COUNT function.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R9\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;IoT devices\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to look for IoT (Internet of Things) devices, you should look for devices with `STATION_TYPE_L2_DES = &amp;#39;Smart Home&amp;#39;`\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R10\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Router model\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to check the model of the router, you should use the field `MANUFACT_HGU_CHIPSET_DES` (do not use other fields such as `MANUFACTURER_FW_VER_DES`).\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R11\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Weekly period\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to query data from weekly period, you should start always with the first day of the week (Monday) and end with the last day of the week (Sunday).\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R12\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;WiFi type\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to look for information on a specific WiFi type, such as 2.4 GHz or 5 GHz, you should use the specific fields corresponding to these types.  For instance, if you need to look for WiFi5 device information, you should not use the field `STATIONS_REC.WIFI_REC.ALL_TECH_REC` but the field `STATIONS_REC.WIFI_REC.TECH_5G_REC`.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R13\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Equivalent terms for WiFi technologies\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;The following terms are considered equivalent: \n- `WiFi 5G`, `WiFi Technology 5G`, `WiFi5`.\n- `WiFi 2.4G`, `WiFi Technology 2.4G`, `WiFi2.4` , `WiFi2`, `WiFi Technology 2G`, `WiFi 2G`.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R14\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Customer Satisfaction Index\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;The field `CSI_QT` contains the `Customer Satisfaction Index` value. It is not a quality value but a satisfaction value.  Do not confuse it with Quality Index fields.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R15\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Active HGU devices\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;The field `CUST_HGU_DEVICES_NUM` contains the number of active HGU devices of the customer, i.e. the number of active routers (HGUs) of the customer.  Do not confuse it with the number of active devices of the customer.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R16\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Megabytes\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;The fields starting with `MB_` or containing `_MB_` in their name refer to Megabytes. Take this into account during your queries.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R17\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Gigabytes\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;The fields starting with `GB_` or containing `_GB_` in their name refer to Gigabytes. Take this into account during your queries.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R18\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;RSSI meaning\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;The field `RSSI` refers to the `Received Signal Strength Indicator`. It is a measure of the power present in a received radio signal.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R19\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Checking absence of a device\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to look for homes without a specific type of device, you should not forget checking at least one of the following fields: `STATION_TYPE_L1_DES`, `STATION_TYPE_L2_DES`, `STATION_TYPE_CD`. In other words, you need an explicit filter checking the absence of the device.\n\&amp;#34;\n    }}\n  ]\n}}\n```\nExplain whether you can apply any of the rules and explain how you would apply them in the SQL query.\nAlways write your result following these steps:\n1. SQL query to answer the question `{question}`: &amp;lt;write the SQL query here&amp;gt;\n2. Reasoning: &amp;lt;explain why you wrote the query like that&amp;gt;\n3. Check of the rules, RULE BY RULE and FOR EACH RULE (one entry per rule)2. &amp;lt;write ALL the rules and tell if they are applied or not&amp;gt;. Follow this format:\n- &amp;lt;rule1&amp;gt;: Should be applied, because &amp;lt;reason&amp;gt; | Should not be applied, because &amp;lt;reason&amp;gt;\n- &amp;lt;rule2&amp;gt;: Should be applied, because &amp;lt;reason&amp;gt; | Should not be applied, because &amp;lt;reason&amp;gt;\n...\n4. Result of the execution of the rules that have been identified to be applied. Follow this format:\n- &amp;lt;rule1&amp;gt;: &amp;lt;result&amp;gt;\n- &amp;lt;rule2&amp;gt;: &amp;lt;result&amp;gt;\n...\n5. Need to fix the query because &amp;lt;reason&amp;gt;. The following changes are needed: &amp;lt;change_1&amp;gt;, &amp;lt;change 2&amp;gt;, etc. | The query is already correct.\n6. SQL query to answer the question `{question}` after considering the previous **rules**: &amp;lt;write the SQL query here&amp;gt;. FIX THE QUERY IF NECESSARY.\n### Step 7: Check that the query actually can answer the question\nCheck again if the generated query answers the question `{question}`.\nFollow these steps:\n1. Write the concepts involved in the question. Enumerate the concepts as a list. Follow this format:\n - &amp;lt;concept1&amp;gt;\n - &amp;lt;concept2&amp;gt;\n ...\n2. Write all the concepts of the question that are covered by the SQL query. Enumerate them and create a match list with the concepts from the previous step. Write down the part of the SQL query covering the concept. Take into account that conditions on specific proper names, such as model names, location names, etc, need to be explicitly checked. Follow this format:\n - &amp;lt;concept1&amp;gt;: covered in &amp;lt;sql query section&amp;gt; or not covered.\n - &amp;lt;concept2&amp;gt;: covered in &amp;lt;sql query section&amp;gt; or not covered.\n3. Find those concepts in the question that are not covered by the SQL query.\n4. Conclude whether the question can actually be answered by the generated query. Follow this format:\n - The question can be answered by the SQL query: &amp;lt;Yes|No&amp;gt;\n### Step 8: Create the result as a JSON object\nReturn the result as a unique JSON object, with the following structure:\n{{\n  \&amp;#34;result\&amp;#34;: &amp;lt;Write the SQL query here. **MAKE SURE THAT THE STATEMENT `SELECT JSON_OBJECT` is not used in the query and Use the full qualified names of the columns. Generate a valid SQL sentence in a single line without new line characters.**&amp;gt;,\n  \&amp;#34;status\&amp;#34;: \&amp;#34;OK\&amp;#34;,\n  \&amp;#34;reason\&amp;#34;: &amp;lt;a reasoning explaining the query&amp;gt;\n}}\nIf the former table does not contain the necessary data to answer the question, return the following JSON object:\n{{\n  \&amp;#34;result\&amp;#34;: null,\n  \&amp;#34;status\&amp;#34;: \&amp;#34;ERROR\&amp;#34;,\n  \&amp;#34;reason\&amp;#34;: &amp;lt;a reasoning explaining why it is not possible to answer the question&amp;gt;\n}}\nMake sure that the JSON object is correctly formatted, and can be parsed by a JSON parser.\n**Please, ALWAYS follow the 8 steps presented in the instructions.** Start reasoning with ### Step 1 and finish with ### Step 8.\n{% endraw %}\&amp;#34;\&amp;#34;en\&amp;#34;: \&amp;#34;{% raw %}\nGenerate a SQL query statement to answer the following question:\n`{question}`\n    \nUse the data contained in the following table. You have its definition in SQL and in Avro.\n{sql_table_definition}\n    \n    \nThe following tables, containing auxiliary information, are also available:\n```sql\nCREATE TABLE D_CBD_Static_Geo_Area_v6 (GEO_AREA_ID VARCHAR, CBD_GEO_AREA_LEVEL1_ID VARCHAR, CBD_GEO_AREA_LEVEL2_ID VARCHAR, CBD_GEO_AREA_LEVEL3_ID VARCHAR, CBD_GEO_AREA_LEVEL4_ID VARCHAR, OB_ALPHA_ID VARCHAR, EXTRACTION_TM VARCHAR);\n    COMMENT ON TABLE D_CBD_Static_Geo_Area IS &amp;#39;Geographical areas. This table contains foreign keys to the different levels of geographical areas. In particular, it contains the foreign keys to these tables: CBD_Static_Geo_Area_Level1, CBD_Static_Geo_Area_Level2, CBD_Static_Geo_Area_Level3, CBD_Static_Geo_Area_Level4. Therefore, this tables is used, via JOIN, to query the geographical information contained in the different levels of geographical areas. For instance, if you have a table T with a field GEO_AREA_ID and you need to check whether this location corresponds to the region of Asturias you will need to look for GEO_AREA_ID in this table, then extract the CBD_GEO_AREA_LEVEL4_ID and query the table CBD_Static_Geo_Area_Level4 to get the name of the region.&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area.GEO_AREA_ID IS &amp;#39;Description: Identifier of the geographical area assigned to the customer (typically the geographical area of the customer home). This identifier is a string code which values are defined in &amp;#39;&amp;#39;D_Geographical_Area&amp;#39;&amp;#39; entity. Format: alphanumeric string. Example values: &amp;#39;&amp;#39;2800983CE&amp;#39;&amp;#39;, &amp;#39;&amp;#39;50059&amp;#39;&amp;#39;, &amp;#39;&amp;#39;3101142CE&amp;#39;&amp;#39;&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area.CBD_GEO_AREA_LEVEL1_ID IS &amp;#39;Identifier of the geographical area Level 1 (max level of detail: CP or similar). FORMAT: string containing a numerical code. This field does not contain location names.&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area.CBD_GEO_AREA_LEVEL2_ID IS &amp;#39;Identifier of the geographical area Level 2 (City/Town). FORMAT: string containing a numerical code. This field does not contain location names.&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area.CBD_GEO_AREA_LEVEL3_ID IS &amp;#39;Identifier of the geographical area Level 3 (Province). FORMAT: string containing a numerical code. This field does not contain location names.&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area.CBD_GEO_AREA_LEVEL4_ID IS &amp;#39;Identifier of the geographical area Level 4 (State/Region). FORMAT: string containing a numerical code. This field does not contain location names.&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area.OB_ALPHA_ID IS &amp;#39;Alphanumeric Organizational Business ID&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area.EXTRACTION_TM IS &amp;#39;Date-time of the record&amp;#39;;\n    \nCREATE TABLE D_CBD_Static_Geo_Area_Level2_v6 (CBD_GEO_AREA_LEVEL2_ID VARCHAR, GEO_AREA_LEVEL_DES VARCHAR, CBD_GEO_AREA_LEVEL3_ID VARCHAR, LONGITUDE_LON_CO DOUBLE, LATITUDE_LAT_CO DOUBLE, GEO_AREA_ID VARCHAR, GEO_STD_AREA_CD VARCHAR, OB_ALPHA_ID VARCHAR, EXTRACTION_TM VARCHAR);\n    COMMENT ON TABLE D_CBD_Static_Geo_Area_Level2 IS &amp;#39;Geographical area level 2 (State)&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level2.CBD_GEO_AREA_LEVEL2_ID IS &amp;#39;Identifier of the geographical area Level 2 (City/Town). FORMAT: string containing a numerical code.&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level2.GEO_AREA_LEVEL_DES IS &amp;#39;Description associated to the identifier level 2. FORMAT: alphanumeric string containing the name of the city/town.&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level2.CBD_GEO_AREA_LEVEL3_ID IS &amp;#39;Identifier of the geographical area Level 3 (Province)&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level2.LONGITUDE_LON_CO IS &amp;#39;Longitude coordinates (in WGS84) associated with level 2&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level2.LATITUDE_LAT_CO IS &amp;#39;Latitude coordinates (in WGS84) associated with level 2&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level2.GEO_AREA_ID IS &amp;#39;Description: Identifier of the geographical area assigned to the customer (typically the geographical area of the customer home). This identifier is a string code which values are defined in &amp;#39;&amp;#39;D_Geographical_Area&amp;#39;&amp;#39; entity. Format: alphanumeric string. Example values: &amp;#39;&amp;#39;2800983CE&amp;#39;&amp;#39;, &amp;#39;&amp;#39;50059&amp;#39;&amp;#39;, &amp;#39;&amp;#39;3101142CE&amp;#39;&amp;#39;&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level2.GEO_STD_AREA_CD IS &amp;#39;Standard code of the geo area&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level2.OB_ALPHA_ID IS &amp;#39;Alphanumeric Organizational Business ID&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level2.EXTRACTION_TM IS &amp;#39;Date-time of the record&amp;#39;;\n    \nCREATE TABLE D_CBD_Static_Geo_Area_Level3_v6 (CBD_GEO_AREA_LEVEL3_ID VARCHAR, GEO_AREA_LEVEL_DES VARCHAR, CBD_GEO_AREA_LEVEL4_ID VARCHAR, LONGITUDE_LON_CO DOUBLE, LATITUDE_LAT_CO DOUBLE, ISO_3166_2_CD VARCHAR, GEO_AREA_ID VARCHAR, GEO_STD_AREA_CD VARCHAR, OB_ALPHA_ID VARCHAR, EXTRACTION_TM VARCHAR);\n    COMMENT ON TABLE D_CBD_Static_Geo_Area_Level3 IS &amp;#39;Geographical area level 3 (Region)&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level3.CBD_GEO_AREA_LEVEL3_ID IS &amp;#39;Identifier of the geographical area Level 3 (Province). FORMAT: string containing a numerical code.&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level3.GEO_AREA_LEVEL_DES IS &amp;#39;Description associated to the identifier level 3. FORMAT: alphanumeric string containing the name of the province.&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level3.CBD_GEO_AREA_LEVEL4_ID IS &amp;#39;Identifier of the geographical area Level 4 (State/Region). FORMAT: string containing a numerical code.&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level3.LONGITUDE_LON_CO IS &amp;#39;Longitude coordinates (in WGS84) associated with level 3&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level3.LATITUDE_LAT_CO IS &amp;#39;Latitude coordinates (in WGS84) associated with level 3&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level3.ISO_3166_2_CD IS &amp;#39;ISO 3166-2 associated&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level3.GEO_AREA_ID IS &amp;#39;Description: Identifier of the geographical area assigned to the customer (typically the geographical area of the customer home). This identifier is a string code which values are defined in &amp;#39;&amp;#39;D_Geographical_Area&amp;#39;&amp;#39; entity. Format: alphanumeric string. Example values: &amp;#39;&amp;#39;2800983CE&amp;#39;&amp;#39;, &amp;#39;&amp;#39;50059&amp;#39;&amp;#39;, &amp;#39;&amp;#39;3101142CE&amp;#39;&amp;#39;&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level3.GEO_STD_AREA_CD IS &amp;#39;Standard code of the geo area&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level3.OB_ALPHA_ID IS &amp;#39;Alphanumeric Organizational Business ID&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level3.EXTRACTION_TM IS &amp;#39;Date-time of the record&amp;#39;;\n    \nCREATE TABLE D_CBD_Static_Geo_Area_Level4_v6 (CBD_GEO_AREA_LEVEL4_ID VARCHAR, GEO_AREA_LEVEL_DES VARCHAR, LONGITUDE_LON_CO DOUBLE, LATITUDE_LAT_CO DOUBLE, HASC_1_CD VARCHAR, GEO_AREA_ID VARCHAR, GEO_STD_AREA_CD VARCHAR, OB_ALPHA_ID VARCHAR, EXTRACTION_TM VARCHAR);\n    COMMENT ON TABLE D_CBD_Static_Geo_Area_Level4 IS &amp;#39;Geographical area level 4 (min. Detail)&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level4.CBD_GEO_AREA_LEVEL4_ID IS &amp;#39;Identifier of the geographical area Level 4 (State/Region). FORMAT: string containing a numerical code.&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level4.GEO_AREA_LEVEL_DES IS &amp;#39;Description associated to the identifier level 4. FORMAT: alphanumerical string containing the name of the state/region. EXAMPLE VALUES: &amp;#39;&amp;#39;Asturias&amp;#39;&amp;#39;, &amp;#39;&amp;#39;Andaluc\u00eda&amp;#39;&amp;#39;, etc.&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level4.LONGITUDE_LON_CO IS &amp;#39;Longitude coordinates (in WGS84) associated with level 4&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level4.LATITUDE_LAT_CO IS &amp;#39;Latitude coordinates (in WGS84) associated with level 4&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level4.HASC_1_CD IS &amp;#39;Hierarchical administrative subdivision codes &amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level4.GEO_AREA_ID IS &amp;#39;Description: Identifier of the geographical area assigned to the customer (typically the geographical area of the customer home). This identifier is a string code which values are defined in &amp;#39;&amp;#39;D_Geographical_Area&amp;#39;&amp;#39; entity. Format: alphanumeric string. Example values: &amp;#39;&amp;#39;2800983CE&amp;#39;&amp;#39;, &amp;#39;&amp;#39;50059&amp;#39;&amp;#39;, &amp;#39;&amp;#39;3101142CE&amp;#39;&amp;#39;&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level4.GEO_STD_AREA_CD IS &amp;#39;Standard code of the geo area&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level4.OB_ALPHA_ID IS &amp;#39;Alphanumeric Organizational Business ID&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level4.EXTRACTION_TM IS &amp;#39;Date-time of the record&amp;#39;;\n    \nCREATE TABLE D_CBD_Static_Station_Type_v6 (STATION_TYPE_CD VARCHAR, TECH_LEVEL_WEIGHT_QT FLOAT, STATION_TYPE_L2_DES VARCHAR, STATION_TYPE_L1_DES VARCHAR, STATION_TYPE_L2_ORDER_NUM INT, STATION_TYPE_L1_ORDER_NUM INT, STATION_TYPE_ORDER_NUM INT, CONSCIOUS_IND BOOLEAN, EXTRACTION_TM VARCHAR);\n    COMMENT ON TABLE D_CBD_Static_Station_Type IS &amp;#39;Station types&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Station_Type.STATION_TYPE_CD IS &amp;#39;Description: Type of device connected to the HGU router. It used to find out which devices are connected to routers in households. Format: String. Example values: \&amp;#34;A/V Equipment\&amp;#34;, \&amp;#34;Air Conditioning\&amp;#34;, \&amp;#34;Air Conditioning Control\&amp;#34;, \&amp;#34;Apple Handheld Device\&amp;#34;, \&amp;#34;Apple Home Device\&amp;#34;, \&amp;#34;AudioCast\&amp;#34;, \&amp;#34;Audiocast\&amp;#34;, \&amp;#34;Barcode Printer\&amp;#34;, \&amp;#34;Camera\&amp;#34;, \&amp;#34;Car Dash Cam\&amp;#34;, \&amp;#34;Cryptominner\&amp;#34;, \&amp;#34;Digital Clock\&amp;#34;, \&amp;#34;Dishwasher\&amp;#34;, \&amp;#34;Drone Equipment\&amp;#34;, \&amp;#34;GPS\&amp;#34;, \&amp;#34;Gaming Console\&amp;#34;, \&amp;#34;Hyper Media Player\&amp;#34;, \&amp;#34;IP Camera\&amp;#34;, \&amp;#34;IPC Hub\&amp;#34;, \&amp;#34;IPC Video Recorder\&amp;#34;, \&amp;#34;IoT Device\&amp;#34;, \&amp;#34;Key Cutting Machine\&amp;#34;, \&amp;#34;Media Center\&amp;#34;, \&amp;#34;Monitoring Device\&amp;#34;, \&amp;#34;Multimedia Player\&amp;#34;, \&amp;#34;Network Access Point\&amp;#34;, \&amp;#34;Network Equipment\&amp;#34;, \&amp;#34;PC\&amp;#34;, \&amp;#34;PDA\&amp;#34;, \&amp;#34;PIR Sensor\&amp;#34;, \&amp;#34;Print Server\&amp;#34;, \&amp;#34;Printer\&amp;#34;, \&amp;#34;Projector\&amp;#34;, \&amp;#34;Raspberry\&amp;#34;, \&amp;#34;Router\&amp;#34;, \&amp;#34;Security System\&amp;#34;, \&amp;#34;Smart AC Control\&amp;#34;, \&amp;#34;Smart Air Freshener\&amp;#34;, \&amp;#34;Smart Air Fryer\&amp;#34;, \&amp;#34;Smart Air Ventilator\&amp;#34;, \&amp;#34;Smart Animal Feeder\&amp;#34;, \&amp;#34;Smart Baby Monitor\&amp;#34;, \&amp;#34;Smart Blind\&amp;#34;, \&amp;#34;Smart Bulb\&amp;#34;, \&amp;#34;Smart Bulb Adapter\&amp;#34;, \&amp;#34;Smart Car\&amp;#34;, \&amp;#34;Smart Car e-Charger\&amp;#34;, \&amp;#34;Smart Display e-bike\&amp;#34;, \&amp;#34;Smart Energy Analyzer\&amp;#34;, \&amp;#34;Smart Home Controller\&amp;#34;, \&amp;#34;Smart Home Hub\&amp;#34;, \&amp;#34;Smart Humidifier\&amp;#34;, \&amp;#34;Smart Hydrometer Clock\&amp;#34;, \&amp;#34;Smart Kitchen Appliances\&amp;#34;, \&amp;#34;Smart Kitchen Scale\&amp;#34;, \&amp;#34;Smart Lamp\&amp;#34;, \&amp;#34;Smart Light Dimmer\&amp;#34;, \&amp;#34;Smart Lock Control\&amp;#34;, \&amp;#34;Smart Plug\&amp;#34;, \&amp;#34;Smart Pool\&amp;#34;, \&amp;#34;Smart Power Strip\&amp;#34;, \&amp;#34;Smart Purifier\&amp;#34;, \&amp;#34;Smart Scale\&amp;#34;, \&amp;#34;Smart Signage\&amp;#34;, \&amp;#34;Smart Speaker\&amp;#34;, \&amp;#34;Smart Switch\&amp;#34;, \&amp;#34;Smart TV\&amp;#34;, \&amp;#34;Smart Thermostat\&amp;#34;, \&amp;#34;Smart Toothbrush\&amp;#34;, \&amp;#34;Smart Vacuum\&amp;#34;, \&amp;#34;Smart WallSocket\&amp;#34;, \&amp;#34;Smart Watch\&amp;#34;, \&amp;#34;Smart Watch Fit\&amp;#34;, \&amp;#34;Smart WifiButton\&amp;#34;, \&amp;#34;Smartphone\&amp;#34;, \&amp;#34;Smartphone/Tablet\&amp;#34;, \&amp;#34;Smartwatch\&amp;#34;, \&amp;#34;Smartwatch Fit\&amp;#34;, \&amp;#34;Solar Panel Equipment\&amp;#34;, \&amp;#34;Soundbar\&amp;#34;, \&amp;#34;Steam Controller\&amp;#34;, \&amp;#34;Storage Device\&amp;#34;, \&amp;#34;TPV\&amp;#34;, \&amp;#34;TV Dongle\&amp;#34;, \&amp;#34;Tablet\&amp;#34;, \&amp;#34;Tempest Weather System\&amp;#34;, \&amp;#34;UPS\&amp;#34;, \&amp;#34;VR/AR Headset\&amp;#34;, \&amp;#34;Video Doorbell\&amp;#34;, \&amp;#34;Video Intercom\&amp;#34;, \&amp;#34;Video STB Equipment\&amp;#34;, \&amp;#34;VideointercomIP\&amp;#34;, \&amp;#34;Virtual Desktop\&amp;#34;, \&amp;#34;VoIP Phone\&amp;#34;, \&amp;#34;WAN Extender\&amp;#34;, \&amp;#34;WiFi Extender\&amp;#34;, \&amp;#34;Wifi Dongle\&amp;#34;, \&amp;#34;Wireless Blood Pressure Monitor\&amp;#34;, \&amp;#34;Wireless Bridge\&amp;#34;, \&amp;#34;Wireless Headphones\&amp;#34;, \&amp;#34;Wireless Router + VoIP Series\&amp;#34;, \&amp;#34;e-Note\&amp;#34;, \&amp;#34;eBook\&amp;#34;&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Station_Type.TECH_LEVEL_WEIGHT_QT IS &amp;#39;Associated weight for the technologic level of the home&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Station_Type.STATION_TYPE_L2_DES IS &amp;#39;Description: Higher level device type grouping. Example values: \&amp;#34;PCs &amp;amp; Home Office\&amp;#34;, \&amp;#34;Smartphones / Tablets / eReaders / iWatch\&amp;#34;, \&amp;#34;Multimedia Entertainment\&amp;#34;, \&amp;#34;Gaming\&amp;#34;, \&amp;#34;Sport &amp;amp; Health\&amp;#34;, \&amp;#34;Smart Home\&amp;#34;, \&amp;#34;Unknown\&amp;#34;, \&amp;#34;Network Devices\&amp;#34;, \&amp;#34;Security &amp;amp; Control\&amp;#34;&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Station_Type.STATION_TYPE_L1_DES IS &amp;#39;Description: Intermediate level device type grouping. Example values: \&amp;#34;Smart Speakers &amp;amp; Audio\&amp;#34;, \&amp;#34;PCs &amp;amp; Home Office\&amp;#34;, \&amp;#34;Video Entertainment\&amp;#34;, \&amp;#34;Domestic Appliances\&amp;#34;, \&amp;#34;Smart Energy &amp;amp; Lighting\&amp;#34;, \&amp;#34;Apple Handheld Device\&amp;#34;, \&amp;#34;Smartphones / Tablets / eReaders\&amp;#34;, \&amp;#34;Gaming\&amp;#34;, \&amp;#34;Sport &amp;amp; Health\&amp;#34;, \&amp;#34;Network Devices\&amp;#34;, \&amp;#34;Security &amp;amp; Control\&amp;#34;, \&amp;#34;IoT\&amp;#34;&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Station_Type.STATION_TYPE_L2_ORDER_NUM IS &amp;#39;Station type order level 2&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Station_Type.STATION_TYPE_L1_ORDER_NUM IS &amp;#39;Station type order level 1&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Station_Type.STATION_TYPE_ORDER_NUM IS &amp;#39;Station type order&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Station_Type.CONSCIOUS_IND IS &amp;#39;Indicates if the related device type has energy efficiency&amp;#39;;\n    COMMENT ON COLUMN D_CBD_Static_Station_Type.EXTRACTION_TM IS &amp;#39;Date-time of the record&amp;#39;;\n    \nCREATE TABLE D_Segment_v8 (OPERATOR_ID VARCHAR, SEGMENT_ID VARCHAR, SEGMENT_DES VARCHAR, GBL_SEGMENT_ID VARCHAR, SEGMENT_GROUP_ID VARCHAR, SEGMENT_GROUP_DES VARCHAR, EXTRACTION_TM VARCHAR);\n    COMMENT ON TABLE D_Segment IS &amp;#39;Classifications of the customers, attending to different segmentation criteria, for marketing and management issues, according to OB criteria and its correspondence with the global segment classification&amp;#39;;\n    COMMENT ON COLUMN D_Segment.OPERATOR_ID IS &amp;#39;Global Operator Identifier (Operator acting as owner of the information present in the current entity)&amp;#39;;\n    COMMENT ON COLUMN D_Segment.SEGMENT_ID IS &amp;#39;Description: Organisational segment of the client. Format: two letter string. Possible values: &amp;#39;&amp;#39;NT&amp;#39;&amp;#39; - NTT, &amp;#39;&amp;#39;GP&amp;#39;&amp;#39; - Residencial, &amp;#39;&amp;#39;PE&amp;#39;&amp;#39; - Pymes, &amp;#39;&amp;#39;RE&amp;#39;&amp;#39; - Residencial/SC, &amp;#39;&amp;#39;AU&amp;#39;&amp;#39; - Autonomos, &amp;#39;&amp;#39;OP&amp;#39;&amp;#39; - Operadores, &amp;#39;&amp;#39;GC&amp;#39;&amp;#39; - Grandes Clientes, &amp;#39;&amp;#39;RP&amp;#39;&amp;#39; - Residencial Prepago, &amp;#39;&amp;#39;TE&amp;#39;&amp;#39; - Telefonica, &amp;#39;&amp;#39;SC&amp;#39;&amp;#39; - Sin Clasificar, &amp;#39;&amp;#39;ME&amp;#39;&amp;#39; - Empresas&amp;#39;;\n    COMMENT ON COLUMN D_Segment.SEGMENT_DES IS &amp;#39;Description: Name or description of the organisational segment of the client (provides the description for each segment identifier). Format: string. Example values: &amp;#39;&amp;#39;Residencial&amp;#39;&amp;#39;,  &amp;#39;&amp;#39;Pymes&amp;#39;&amp;#39;, &amp;#39;&amp;#39;Autonomos&amp;#39;&amp;#39;, &amp;#39;&amp;#39;Operadores&amp;#39;&amp;#39;, &amp;#39;&amp;#39;Grandes Clientes&amp;#39;&amp;#39;, &amp;#39;&amp;#39;Sin Clasificar&amp;#39;&amp;#39;&amp;#39;;\n    COMMENT ON COLUMN D_Segment.GBL_SEGMENT_ID IS &amp;#39;ID of the global segment classification&amp;#39;;\n    COMMENT ON COLUMN D_Segment.SEGMENT_GROUP_ID IS &amp;#39;ID code of the segmentation group&amp;#39;;\n    COMMENT ON COLUMN D_Segment.SEGMENT_GROUP_DES IS &amp;#39;Description of the segmentation group&amp;#39;;\n    COMMENT ON COLUMN D_Segment.EXTRACTION_TM IS &amp;#39;Date-time of the record&amp;#39;;\nCREATE TABLE D_Fixed_Tariff_Plan_v8 (OPERATOR_ID VARCHAR, DAY_DT VARCHAR, TARIFF_PLAN_ID VARCHAR, TARIFF_PLAN_DES VARCHAR, VOICE_IND BOOLEAN, BBAND_IND BOOLEAN, TV_IND BOOLEAN, WORKSTATION_IND BOOLEAN, APP_IND BOOLEAN, VOICE_BUNDLE_QT FLOAT, BBAND_UP_SPEED_QT FLOAT, BBAND_DOWN_SPEED_QT FLOAT, TV_TYPE_CD VARCHAR, FIXED_SERVICE_COMMERCIAL_NAME VARCHAR, COMMERCIAL_IND BOOLEAN, TARIFF_PLAN_START_DT VARCHAR, TARIFF_PLAN_END_DT VARCHAR, CONVERGENT_IND BOOLEAN, BRAND_ID VARCHAR);\n    COMMENT ON TABLE D_Fixed_Tariff_Plan_v8 IS &amp;#39;Every fixed Tariff to be applied, either Commercial, Convergent, Individual, or any other, for any product&amp;amp;service for the fixed client base&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.OPERATOR_ID IS &amp;#39;Global Operator Identifier (Operator acting as owner of the information present in the current entity)&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.DAY_DT IS &amp;#39;Year, month and day of the data  ### Additional Information  Format: YYYYMMDD (4 digits for year, months from 01 to 12, days from 01 to 31).&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.TARIFF_PLAN_ID IS &amp;#39;Unique identifier of the tariff plan&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.TARIFF_PLAN_DES IS &amp;#39;Name/short description of the tariff plan&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.VOICE_IND IS &amp;#39;Indicates whether the line has a fixed line voice service associated.  Values: 0=No; 1=Yes.&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.BBAND_IND IS &amp;#39;Indicates whether the line has a Broadband service associated.  Values: 0=No; 1=Yes.&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.TV_IND IS &amp;#39;Indicates if the line has a TV service associated.  Values: 0=No; 1=Yes.&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.WORKSTATION_IND IS &amp;#39;Indicates if the line has a workstation service associated.  Values: 0=No; 1=Yes.&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.APP_IND IS &amp;#39;Indicates if the line has the \&amp;#34;Aplicateca service\&amp;#34; associated.  Values: 0=No; 1=Yes.&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.VOICE_BUNDLE_QT IS &amp;#39;Amount of data associated with the voice bundle&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.BBAND_UP_SPEED_QT IS &amp;#39;Broadband up speed (Mbps)&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.BBAND_DOWN_SPEED_QT IS &amp;#39;Broadband down speed (Mbps)&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.TV_TYPE_CD IS &amp;#39;Type of TV line&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.FIXED_SERVICE_COMMERCIAL_NAME IS &amp;#39;Commercial name of the service&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.COMMERCIAL_IND IS &amp;#39;Indicates if TARIFF_PLAN_ID refers to the COMMERCIAL_TARIFF_ID.    Fill-in with 1 if TARIFF_PLAN_ID refers to the COMMERCIAL_TARIFF_ID or 0 if it doesn&amp;#39;&amp;#39;t    0 = Non commercial tariff  1 = commercial tariff&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.TARIFF_PLAN_START_DT IS &amp;#39;Start date of the tariff plan validity (that day is the first day when the tariff plan is applicable)  ### Additional Information  Format: YYYYMMDD (4 digits for year, months from 01 to 12, days from 01 to 31).&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.TARIFF_PLAN_END_DT IS &amp;#39;End date of the tariff plan validity (that day is the last day when the tariff plan is applicable)  ### Additional Information  Format: YYYYMMDD (4 digits for year, months from 01 to 12, days from 01 to 31).&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.CONVERGENT_IND IS &amp;#39;Flag indicating if the current fixed tariff plan can be configured as a \&amp;#34;Convergent tariff plan\&amp;#34;, i. e., a plan with special conditions due to the fact of including at least one Fixed line/service and one Mobile line.   0 = No (the plan can&amp;#39;&amp;#39;t be configured as convergent)   1 = Yes (the plan can be configured as convergent)&amp;#39;;\n    COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.BRAND_ID IS &amp;#39;Commercial brand identifier. In order to differentiate among different brands in the same OB (e.g. Movistar, O2, Tuenti...)&amp;#39;;\n```\nSome of the former tables contain columns in full-qualified format. For instance, these are some examples of full-qualified columns:\n```\nrecord_name.field_name\nTEC_PLAT_REC.DEVICE_ID\nrecord_name.subrecord_name.field_name\nTEC_PLAT_REC.TEC_PLAT_SUBCOMP_REC.DEVICE_ID\n...\n```\nAlways use the full-qualified format when referring to columns in the tables. For instance, if you need to use the column &amp;#39;TEC_PLAT_REC.DEVICE_ID&amp;#39;, you should not refer to it as &amp;#39;DEVICE_ID&amp;#39;, but as &amp;#39;TEC_PLAT_REC.DEVICE_ID&amp;#39;. \n**Explain in detail, step by step, all your decisions**. \n# General instructions\nFollow these reasoning steps to generate the SQL query:\n- Step 1: Identify Necessary Tables\n- Step 2: Identify Useful Candidate Columns\n- Step 3: Assess if Tables and Columns are Sufficient to Answer the Question\n- Step 4: Identify Columns Contained in Maps\n- Step 5: Plan the SQL Query\n- Step 6: Write the final SQL Query and apply the rules\n- Step 7: Check that the query actually can answer the question\n- Step 8: Create the result as a JSON object \nIf you need to filter by a higher level geographical such as a region (Comunidad Autónoma) you will need to:\n- join the `GEO_AREA_ID` field of the data table (such as `CBD_HGU_Detail_Daily_v10`) with the `GEO_AREA_ID` field in `D_CBD_Static_Geo_Area_v6` table\n- then join the `CBD_GEO_AREA_LEVEL4_ID` field in the `D_CBD_Static_Geo_Area_v6` with the `CBD_GEO_AREA_LEVEL4_ID` field in the `D_CBD_Static_Geo_Area_Level4_v6` table   \n- then compare the `GEO_AREA_LEVEL_DES` field in the `D_CBD_Static_Geo_Area_Level4_v6` table with the name of the region (e.g., &amp;#39;Cantabria&amp;#39;), since the DESCRIPTION field does contain the actual name of the geographical area.\n**Only perform these joins if explicit filtering or grouping by geographical location is necessary**. \n# Detailed instructions\n### Step 1: Identify Necessary Tables\nFirst, identify which tables are necessary to answer the question `{question}`. Justify why you selected each of these tables. \nUse the following format:\n```\nI need the following tables to answer the question:\n- &amp;lt;table_name&amp;gt;: &amp;lt;reasoning&amp;gt;\n- &amp;lt;table_name&amp;gt;: &amp;lt;reasoning&amp;gt;\n...\n```\n### Step 2: Identify Useful Candidate Columns\nIdentify which columns are useful to answer the question `{question}`. Justify why you selected each of these columns.\nAlways include any column you think may be needed to answer the question. If there are similar columns in the table, you should identify all of them always. You will later choose which them are more suitable to answer the question. But, at this stage, you should include **all the columns that may be useful**.\nWrite the list of candidate columns you identified, and the reasoning after each column, using the following format:\n```\nI can use the following candidate columns to answer the question (including all the columns that may be useful):\n- &amp;lt;table name&amp;gt;:\n  - &amp;lt;column_name&amp;gt;: &amp;lt;copy here the full column description from schema&amp;gt;, including possible values if present&amp;gt;: &amp;lt;reasoning&amp;gt;. \n  - &amp;lt;column_name&amp;gt;: &amp;lt;copy here the full column description from schema&amp;gt;, including possible values if present&amp;gt;: &amp;lt;reasoning&amp;gt;.\n  ...\n- &amp;lt;table_name&amp;gt;:\n  - &amp;lt;column_name&amp;gt;: &amp;lt;copy here the full column description from schema&amp;gt;, including possible values if present&amp;gt;: &amp;lt;reasoning&amp;gt;.\n  - &amp;lt;column_name&amp;gt;: &amp;lt;copy here the full column description from schema&amp;gt;, including possible values if present&amp;gt;: &amp;lt;reasoning&amp;gt;.\n  ...\n...\n```  \n### Step 3: Assess if Tables and Columns are Sufficient to Answer the Question\nTell if the tables and columns you identified are enough to answer the question `{question}`. Make sure to justify your answer and check the actual descriptions of the columns in the table definitions and the user question.\nWrite the answer using the following format:\n```\nPossible to answer the question using the former columns: \n- &amp;lt;reasoning&amp;gt;\n- Result: &amp;lt;Yes|No&amp;gt;\n```  \n### Step 4: Identify Columns Contained in Maps\nSome columns are actually contained in a map structure. Since these columns need to be queried differently, you need to identify them.\nColumns with a name like &amp;#39;&amp;lt;some_name&amp;gt;.map.&amp;lt;other_name&amp;gt;&amp;#39; are contained in maps. \nFor instance, the column `STATIONS_DETAIL_REC.UNQ_STATION_MAP.map.STATION_TYPE_CD` is contained in a map structure called `STATIONS_DETAIL_REC.UNQ_STATION_MAP`.\nThis map structure is like this:\n```\nSTATIONS_DETAIL_REC.UNQ_STATION_MAP.map.STATION_TYPE_CD: {{\n    &amp;lt;key1&amp;gt;: {{\n        &amp;lt;some_field&amp;gt;; &amp;lt;some_value&amp;gt;,\n        \&amp;#34;STATION_TYPE_CD\&amp;#34;: &amp;lt;station_type_value1&amp;gt;\n    }},\n    &amp;lt;key2&amp;gt;: {{\n        &amp;lt;some_other_field&amp;gt;; &amp;lt;some_other_value&amp;gt;,\n        \&amp;#34;STATION_TYPE_CD\&amp;#34;: &amp;lt;station_type_value2&amp;gt;\n    }},\n    ...\n}}\n```\nTherefore, in this step, identify which columns are contained in maps since you will later need to use LATERAL VIEW EXPLODE to access the values of these maps.  \n### Step 5: Plan the SQL Query  \nExplain, step by step, how you would write the SQL query to answer the question `{question}`, using the columns you identified. \n**Use the full qualified names of the columns**. **DO NOT USE THE `JSON_OBJECT` FUNCTION IN THE QUERY**.\nSome columns are contained in map structures. You can access the fields of the map using LATERAL VIEW EXPLODE. Do not use UNNEST to access the fields of the map.\nIn particular, you can create a temporary table with the exploded map and then query it. For instance, if you need to get the value of the `ABC.CDE.map.field` column, you should use the following SQL code to create a temporary table with the exploded map data and get the value of the field:\n```sql\nWITH exploded_map AS (\n  SELECT key, value.field_1, value,field_2, value.field_3  -- Select here all the columns/fields you will use later. \n  FROM &amp;lt;table_name&amp;gt;\n  LATERAL VIEW EXPLODE(ABC.CDE) AS key, value\n)\nSELECT exploded_map.field_1\nFROM exploded_map\n``` \nThis is another example:\n```sql\n  WITH exploded_map AS (\n  SELECT DATE, ID, RECORD.GROUP, value.CODE  -- Select here all the columns/fields you will use later.\n    FROM CBD_HGU_Detail_Daily_Aura_v10 LATERAL VIEW EXPLODE(STATIONS_DETAIL_REC.UNQ_STATION_MAP) AS key, value) \n  SELECT COUNT(DISTINCT ID) AS num_homes \n  FROM exploded_map JOIN D_Segment_v8 ON exploded_map.CLASS_ID = D_Segment_v8.CLASS_ID \n    WHERE DATE BETWEEN &amp;#39;2024-01-01&amp;#39; AND &amp;#39;2024-02-01&amp;#39; \n      AND D_Segment_v8.DESCRIPTION = &amp;#39;DESCRIPTION value&amp;#39; \n      AND exploded_map.CODE = &amp;#39;CODE value&amp;#39;    \n```\nHere is another example. If you need to count the number of elements in a map column named &amp;#39;ABC.map&amp;#39; you should use a code like this:\n```sql\nWITH exploded_map AS (\n  SELECT key_from_exploded_map\n  FROM &amp;lt;table_name&amp;gt;\n  LATERAL VIEW EXPLODE(ABC) AS key_from_exploded_map, value_from_exploded_map\n)\nSELECT COUNT(key_from_exploded_map)\nFROM exploded_map\n```\nTake into account that all map fields are named with the suffix `_MAP`. Take into account that you can only use the operation EXPLODE to fields that are maps. Therefore, you should use the EXPLODE operation only on fields that end with `_MAP`. \nTo finish this step, explain how you would write the SQL query to answer the question, using the columns you identified, taking into account the previous considerations for columns contained in maps, if there are any.\n### Step 6: Write the final SQL Query and apply the rules\nFinally, write the SQL query to answer the question `{question}`, using the columns you identified. \nRemarks:\n**DO NOT USE THE `JSON_OBJECT` FUNCTION IN THE QUERY**.\n**IMPORTANT: The keys in the exploded maps should not be used in JOIN operations, since they are just internal keys to the map structure.** \nCheck if you need to use any of the following **business rules** to build the query:\n```json\n{{\n  \&amp;#34;rules\&amp;#34;: [\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B1\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Fiction\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to look for tariff plans including \&amp;#34;ficción\&amp;#34; contents, you will need to look for one the following  patterns in the `TARIFF_PLAN_DES` field: &amp;#39;%FICCION%&amp;#39;, &amp;#39;%FICCIÓN%&amp;#39;, &amp;#39;%SERIES%&amp;#39;, &amp;#39;%CINE%&amp;#39;, &amp;#39;%FUSIÓN TOTAL%&amp;#39;, &amp;#39;%FUSION TOTAL%&amp;#39;. To make the proper comparison, you should use compare with uppercase letters. For instance, use a filter like this one: `UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%FICCION%&amp;#39; OR UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%FICCIÓN%&amp;#39; OR UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%SERIES%&amp;#39; OR UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%CINE%&amp;#39; OR UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%FUSIÓN TOTAL%&amp;#39; OR UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%FUSION TOTAL%&amp;#39;`\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B2\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Disney\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to look for tariff plans including \&amp;#34;Disney\&amp;#34; contents, you will need to look for one the following  patterns in the `TARIFF_PLAN_DES` field: &amp;#39;%DISNEY%&amp;#39;.  To make the proper comparison, you should use compare with uppercase letters. For instance, use a filter like this one: `UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%DISNEY%&amp;#39;`\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B3\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Football\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to look for tariff plans including football contents, you will need to look for one the following  patterns in the `TARIFF_PLAN_DES` field: &amp;#39;%FUTBOL%&amp;#39;, &amp;#39;%FÚTBOL%&amp;#39;, &amp;#39;%FUSION TOTAL%&amp;#39;, &amp;#39;%FUSIÓN TOTAL%&amp;#39;,  &amp;#39;%FUSION TA TOTAL%&amp;#39;, &amp;#39;%FUSIÓN TA TOTAL%&amp;#39;, &amp;#39;%LIGA%&amp;#39;, &amp;#39;%CHAMPION%&amp;#39;. To make the proper comparison, you should use compare with uppercase letters. For instance, use a filter like this one:  `UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%FUTBOL%&amp;#39; OR UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%FÚTBOL%&amp;#39; OR UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%FUSION TOTAL%&amp;#39; OR UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%FUSIÓN TOTAL%&amp;#39; OR UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%LIGA%&amp;#39; OR UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%CHAMPION%&amp;#39;`\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B4\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Netflix\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to look for tariff plans including \&amp;#34;Netflix\&amp;#34; contents, you will need to look for one the following  patterns in the `TARIFF_PLAN_DES` field: &amp;#39;%NETFLIX%&amp;#39;, &amp;#39;%FICCIÓN%&amp;#39;, &amp;#39;%FICCION%&amp;#39;. To make the proper comparison, you should use compare with uppercase letters. For instance, use a filter like this one: `UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%NETFLIX%&amp;#39;`\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B5\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Promociones\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to look for tariff plans including \&amp;#34;promotions\&amp;#34;, you will need to look for one the following  patterns in the `TARIFF_PLAN_DES` field: &amp;#39;%PROMO%&amp;#39;. To make the proper comparison, you should use compare with uppercase letters. For instance, use a filter like this one: `UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%PROMO%&amp;#39;`\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B6\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Edad promedio 1\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;You are not allowed to use the field `CBD_INFO_REC.CUST_AGE_NUM` in any query. You should use the field `CBD_INFO_REC.CUST_AGE_SEGMENT_CD` instead.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B7\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Edad promedio 2\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to calculate the average age of customers you should use the  following calculation instead of AVG(CBD_INFO_REC.CUST_AGE_SEGMENT_CD): AVG(IF(CBD_INFO_REC.CUST_AGE_SEGMENT_CD = &amp;#39;1&amp;#39;, NULL, CBD_INFO_REC.CUST_AGE_SEGMENT_CD))\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B8\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Query by customers\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to query by customers: if the time scope of the query is daily or weekly then you should use the `DEVICE_ID` field. If the time scope of the query is monthly or longer then you should use the `CUSTOMER_ID` field.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B9\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Station type\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;The field `STATION_TYPE_L2` corresponds to a higher aggregation level than `STATION_TYPE_L1`.  `STATION_TYPE_L1` corresponds to an intermediate category, used only with analytical purposes.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B10\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Active devices\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to check whether a device is active at a given date, you should use this check: `DEVICE_INFO_REC.INACTIVITY_DEVICE_INFO_NUM &amp;lt; 24`. If true, the device is active. If false, the device is inactive.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B11\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Penetración de un producto\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you are asked for calculating \&amp;#34;la penetración de un producto\&amp;#34; you should calculate the percentage of customers with that product.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B12\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Obsolete routers\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you are asked for obsolete routers, you should check for those with MANUFACT_HGU_CHIPSET_DES IN (&amp;#39;Askey Broadcom&amp;#39;, &amp;#39;Askey Econet&amp;#39;,&amp;#39;MitraStar Broadcom&amp;#39;, &amp;#39;MitraStar Econet&amp;#39;).\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B13\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;High value customers\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;Consider as high value customers those with a monthly revenue higher than 100 (TOTAL_CUST_RV &amp;gt; 100).\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B14.1\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Technological level formula\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to check the technological level of a customer, use the following formula on the field `TECH_LEVEL_WEIGHT_QT` of the table `D_CBD_STATIC_STATION_TYPE_v6`: `SUM(COALESCE(D_CBD_STATIC_STATION_TYPE_v6.TECH_LEVEL_WEIGHT_QT,0) + CASE WHEN AMM.VALUE.STATION_BRAND_DES = &amp;#39;Ubiquiti&amp;#39; THEN 0.8 ELSE 0 END)/COUNT(DISTINCT DAY_DT)`\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B14.2\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Technological levels\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;Consider as **high technological level** customers those with a value higher or equal to 2.5. Consider as **medium technological level** customers those with a value higher or equal to 1 and lower than 2.5. Consider as **low technological level** customers those with a value lower than 1.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;B15\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Sport\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to look for tariff plans including \&amp;#34;sport\&amp;#34; contents, you will need to look for one the following  patterns in the `TARIFF_PLAN_DES` field: &amp;#39;%DEPORTE%&amp;#39;, &amp;#39;%TOTAL PLUS%&amp;#39;, &amp;#39;%TOTAL SAT%PLUS%&amp;#39;, &amp;#39;%MOTOR%&amp;#39;, &amp;#39;%DAZN%&amp;#39;. To make the proper comparison, you should use compare with uppercase letters. For instance, use a filter like this one: `(UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%DEPORTE%&amp;#39; OR UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%TOTAL PLUS%&amp;#39; OR UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%TOTAL SAT%PLUS%&amp;#39; -- Se añade para incluir los \&amp;#34;Total Satelite/Satélite Plus\&amp;#34; OR UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%MOTOR%&amp;#39; OR UPPER(${{TABLE}}.TARIFF_PLAN_DES) LIKE &amp;#39;%DAZN%&amp;#39;)`\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R1\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Temporary table fields\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;When you use in a filter a given filed from a temporary table, built using the `WITH` clause, make sure that the  field is actually present in the SELECT statement defining the temporary table.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R2\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Temporary table field naming\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;Example: If you write a temporary table like this: `WITH temp_table AS (SELECT field1_prefix.field1 FROM table)`,  then you should use refer to the field as `field1` and not as `field1_prefix.field1` in the rest of the query.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R3\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Tariff plan\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to look for some specific tariffs, use the field `TARIFF_PLAN_DES` from the dimensional table D_Fixed_Tariff_Plan instead of using `CBD_INFO_REC.COMMERCIAL_TARIFF_ID` since this last one only contains identifiers without any meaning.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R4.1\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Station type 1\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If the query uses `D_CBD_Static_Station_Type_v6.STATION_TYPE_L1_DES` or `D_CBD_Static_Station_Type_v6.STATION_TYPE_L2_DES` answer this question: does the value you are looking for, matches one of the possible values of these fields? Justify your answer. Enumerate the possible values of these fields if they are used.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R4.2\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Station type 2\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;Apply this rule if the query uses a filter with the field `D_CBD_Static_Station_Type_v6.STATION_TYPE_L1_DES` or `D_CBD_Static_Station_Type_v6.STATION_TYPE_L2_DES` and the value you are looking for does not match any of the possible values of these fields. In this case, you should use the field `STATION_TYPE_CD` instead. Write the result of the previous reasoning in detail.  REMEMBER TO FIX THE QUERY TO USE THE FIELD `STATION_TYPE_CD` INSTEAD.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R5\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Counting entities\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to count the number of customer, homes, devices or any other entities, you should ensure that you are actually counting distinct entities. Therefore you should use the `COUNT(DISTINCT ...)` function instead of `COUNT(...)`.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R6\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Time scope less than a month\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you are asked to answer a question for a time scope minor than a month (daily or weekly) you must not use the field `MONTH_DT` in your query.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R7\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;No UNION operator\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;Avoid using the UNION operator in your queries.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R8\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Counting entities\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you are asked to count the number of customers, homes, devices or any other entities, you should ensure that the  result is actually a count and not a list of elements. Therefore you should use the COUNT function.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R9\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;IoT devices\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to look for IoT (Internet of Things) devices, you should look for devices with `STATION_TYPE_L2_DES = &amp;#39;Smart Home&amp;#39;`\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R10\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Router model\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to check the model of the router, you should use the field `MANUFACT_HGU_CHIPSET_DES` (do not use other fields such as `MANUFACTURER_FW_VER_DES`).\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R11\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Weekly period\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to query data from weekly period, you should start always with the first day of the week (Monday) and end with the last day of the week (Sunday).\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R12\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;WiFi type\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to look for information on a specific WiFi type, such as 2.4 GHz or 5 GHz, you should use the specific fields corresponding to these types.  For instance, if you need to look for WiFi5 device information, you should not use the field `STATIONS_REC.WIFI_REC.ALL_TECH_REC` but the field `STATIONS_REC.WIFI_REC.TECH_5G_REC`.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R13\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Equivalent terms for WiFi technologies\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;The following terms are considered equivalent: \n- `WiFi 5G`, `WiFi Technology 5G`, `WiFi5`.\n- `WiFi 2.4G`, `WiFi Technology 2.4G`, `WiFi2.4` , `WiFi2`, `WiFi Technology 2G`, `WiFi 2G`.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R14\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Customer Satisfaction Index\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;The field `CSI_QT` contains the `Customer Satisfaction Index` value. It is not a quality value but a satisfaction value.  Do not confuse it with Quality Index fields.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R15\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Active HGU devices\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;The field `CUST_HGU_DEVICES_NUM` contains the number of active HGU devices of the customer, i.e. the number of active routers (HGUs) of the customer.  Do not confuse it with the number of active devices of the customer.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R16\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Megabytes\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;The fields starting with `MB_` or containing `_MB_` in their name refer to Megabytes. Take this into account during your queries.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R17\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Gigabytes\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;The fields starting with `GB_` or containing `_GB_` in their name refer to Gigabytes. Take this into account during your queries.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R18\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;RSSI meaning\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;The field `RSSI` refers to the `Received Signal Strength Indicator`. It is a measure of the power present in a received radio signal.\n\&amp;#34;\n    }},\n    {{\n      \&amp;#34;id\&amp;#34;: \&amp;#34;R19\&amp;#34;,\n      \&amp;#34;name\&amp;#34;: \&amp;#34;Checking absence of a device\&amp;#34;,\n      \&amp;#34;rule\&amp;#34;: \&amp;#34;If you need to look for homes without a specific type of device, you should not forget checking at least one of the following fields: `STATION_TYPE_L1_DES`, `STATION_TYPE_L2_DES`, `STATION_TYPE_CD`. In other words, you need an explicit filter checking the absence of the device.\n\&amp;#34;\n    }}\n  ]\n}}\n```\nExplain whether you can apply any of the rules and explain how you would apply them in the SQL query.\nAlways write your result following these steps:\n1. SQL query to answer the question `{question}`: &amp;lt;write the SQL query here&amp;gt;\n2. Reasoning: &amp;lt;explain why you wrote the query like that&amp;gt;\n3. Check of the rules, RULE BY RULE and FOR EACH RULE (one entry per rule)2. &amp;lt;write ALL the rules and tell if they are applied or not&amp;gt;. Follow this format:\n- &amp;lt;rule1&amp;gt;: Should be applied, because &amp;lt;reason&amp;gt; | Should not be applied, because &amp;lt;reason&amp;gt;\n- &amp;lt;rule2&amp;gt;: Should be applied, because &amp;lt;reason&amp;gt; | Should not be applied, because &amp;lt;reason&amp;gt;\n...\n4. Result of the execution of the rules that have been identified to be applied. Follow this format:\n- &amp;lt;rule1&amp;gt;: &amp;lt;result&amp;gt;\n- &amp;lt;rule2&amp;gt;: &amp;lt;result&amp;gt;\n...\n5. Need to fix the query because &amp;lt;reason&amp;gt;. The following changes are needed: &amp;lt;change_1&amp;gt;, &amp;lt;change 2&amp;gt;, etc. | The query is already correct.\n6. SQL query to answer the question `{question}` after considering the previous **rules**: &amp;lt;write the SQL query here&amp;gt;. FIX THE QUERY IF NECESSARY.\n### Step 7: Check that the query actually can answer the question\nCheck again if the generated query answers the question `{question}`.\nFollow these steps:\n1. Write the concepts involved in the question. Enumerate the concepts as a list. Follow this format:\n - &amp;lt;concept1&amp;gt;\n - &amp;lt;concept2&amp;gt;\n ...\n2. Write all the concepts of the question that are covered by the SQL query. Enumerate them and create a match list with the concepts from the previous step. Write down the part of the SQL query covering the concept. Take into account that conditions on specific proper names, such as model names, location names, etc, need to be explicitly checked. Follow this format:\n - &amp;lt;concept1&amp;gt;: covered in &amp;lt;sql query section&amp;gt; or not covered.\n - &amp;lt;concept2&amp;gt;: covered in &amp;lt;sql query section&amp;gt; or not covered.\n3. Find those concepts in the question that are not covered by the SQL query.\n4. Conclude whether the question can actually be answered by the generated query. Follow this format:\n - The question can be answered by the SQL query: &amp;lt;Yes|No&amp;gt;\n### Step 8: Create the result as a JSON object\nReturn the result as a unique JSON object, with the following structure:\n{{\n  \&amp;#34;result\&amp;#34;: &amp;lt;Write the SQL query here. **MAKE SURE THAT THE STATEMENT `SELECT JSON_OBJECT` is not used in the query and Use the full qualified names of the columns. Generate a valid SQL sentence in a single line without new line characters.**&amp;gt;,\n  \&amp;#34;status\&amp;#34;: \&amp;#34;OK\&amp;#34;,\n  \&amp;#34;reason\&amp;#34;: &amp;lt;a reasoning explaining the query&amp;gt;\n}}\nIf the former table does not contain the necessary data to answer the question, return the following JSON object:\n{{\n  \&amp;#34;result\&amp;#34;: null,\n  \&amp;#34;status\&amp;#34;: \&amp;#34;ERROR\&amp;#34;,\n  \&amp;#34;reason\&amp;#34;: &amp;lt;a reasoning explaining why it is not possible to answer the question&amp;gt;\n}}\nMake sure that the JSON object is correctly formatted, and can be parsed by a JSON parser.\n**Please, ALWAYS follow the 8 steps presented in the instructions.** Start reasoning with ### Step 1 and finish with ### Step 8.\n{% endraw %}&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                          &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                      &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                  &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;              &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/details&gt;
&lt;h2 id=&#34;3-include-the-new-preset-in-an-application&#34;&gt;3. Include the new preset in an application&lt;/h2&gt;
&lt;p&gt;&lt;i class=&#34;fa-solid fa-triangle-exclamation fa-xl&#34; style=&#34;color: #f45815;&#34;&gt;&lt;/i&gt; Remember that an &lt;a href=&#34;../../docs/atria/technical-components/application/&#34;&gt;&lt;em&gt;&lt;strong&gt;ATRIA&lt;/strong&gt;&lt;/em&gt; application&lt;/a&gt; must be previously created and configured for the use case.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Once the preset is fully defined and included in &lt;em&gt;&lt;strong&gt;aura-configuration-api&lt;/strong&gt;&lt;/em&gt; through the previous steps, it must be declared into the &lt;em&gt;&lt;strong&gt;ATRIA&lt;/strong&gt;&lt;/em&gt; application:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;i class=&#34;fa-regular fa-file-lines fa-xl&#34; style=&#34;color: #0d5de7;&#34;&gt;&lt;/i&gt; &lt;a href=&#34;../../docs/atria/technical-guidelines/configuration/modify-atria-configuration/#22-if-a-new-preset-is-created&#34;&gt;Modify &lt;em&gt;&lt;strong&gt;ATRIA&lt;/strong&gt;&lt;/em&gt; configuration: Include the new preset in an application&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;4-upload-documents-and-execute-generate-db-job&#34;&gt;4. Upload documents and execute generate-db job&lt;/h2&gt;
&lt;p&gt;Follow the guidelines for uploading new or modified documents in a specific environment through the edition of the ConfigMap of the component (included in the general guidelines &lt;a href=&#34;../../docs/atria/technical-guidelines/configuration/import-documents/&#34;&gt;Import documents into ATRIA&lt;/a&gt;).&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Upload the documents in the Azure container &lt;code&gt;atria-resources&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;Insert these documents in &lt;code&gt;new-copilot-preset/project-copilot/jsonl/&lt;/code&gt; folder.&lt;/li&gt;
&lt;li&gt;Keep in mind the allowed formats for documents, set in the preset&amp;rsquo;s variable &lt;a href=&#34;../../docs/atria/technical-guidelines/configuration/modify-atria-configuration/#:~:text=is%20string.-,loaderType,-%3A%20Mandatory.%20Must%20be&#34;&gt;&lt;code&gt;loader.loaderType&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;ol start=&#34;2&#34;&gt;
&lt;li&gt;
&lt;p&gt;Finally, execute the &lt;a href=&#34;../../docs/atria/technical-components/atria-rag-generate-db/#launch-atria-rag-generate-db&#34;&gt;&lt;em&gt;&lt;strong&gt;atria-rag-generate-db&lt;/strong&gt;&lt;/em&gt; job&lt;/a&gt; to update the data into the environment.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;You need to upload the file content in the same folder with the extension &lt;code&gt;.jsonl&lt;/code&gt;.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code class=&#34;language-jsonl&#34; data-lang=&#34;jsonl&#34;&gt;{&amp;#34;page_content&amp;#34;: &amp;#34;test1&amp;#34;, &amp;#34;metadata&amp;#34;: {&amp;#34;source&amp;#34;: &amp;#34;https://www.dummy1.es/&amp;#34;}, &amp;#34;type&amp;#34;: &amp;#34;Document&amp;#34;}
{&amp;#34;page_content&amp;#34;: &amp;#34;test2&amp;#34;, &amp;#34;metadata&amp;#34;: {&amp;#34;source&amp;#34;: &amp;#34;https://www.dummy2.es/&amp;#34;}, &amp;#34;type&amp;#34;: &amp;#34;Document&amp;#34;}
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;5-update-aura-applications-configuration-via-api&#34;&gt;5. Update Aura applications configuration via API&lt;/h2&gt;
&lt;p&gt;Once the new preset is created, the &lt;em&gt;&lt;strong&gt;aura-configuration-api&lt;/strong&gt;&lt;/em&gt; must be updated to indicate the &lt;strong&gt;application&lt;/strong&gt; that will make use of this preset.&lt;/p&gt;
&lt;p&gt;&lt;i class=&#34;fa-solid fa-triangle-exclamation fa-xl&#34; style=&#34;color: #f45815;&#34;&gt;&lt;/i&gt; This document includes a specific scenario in the process of modifying API configuration, described in the document &lt;a href=&#34;../../docs/atria/technical-guidelines/hot-swapping-application/#hot-swapping-of-aura-applications-configuration&#34;&gt;Hot swapping of Aura applications configuration&lt;/a&gt;.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    curl --location --request PATCH &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;https://svc-&amp;lt;env&amp;gt;.auracognitive.com/aura-services/v2/configuration/applications/3e1cb831-d5bf-423d-8bef-4abcc53dfa97&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&lt;/span&gt;    --header &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;correlator: &amp;lt;uuid&amp;gt;&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&lt;/span&gt;    --header &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;Content-Type: application/json&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&lt;/span&gt;    --header &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;Accept: application/json&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&lt;/span&gt;    --header &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;Authorization: APIKEY {{apikey}}&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&lt;/span&gt;    --data &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;        &amp;#34;id&amp;#34;: &amp;#34;3e1cb831-d5bf-423d-8bef-4abcc53dfa97&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;        &amp;#34;models&amp;#34;: {
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;            &amp;#34;presets&amp;#34;: [
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;                &amp;#34;copilot-preset-rag&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;                &amp;#34;copilot-reduced-preset-rag&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;                &amp;#34;raw-gpt-4o&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;                &amp;#34;openai-preset-gpt-35-turbo-copilot-generative&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;                &amp;#34;openai-preset-gpt-4o-copilot-generative&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;                &amp;#34;a2cdb523-883e-44ab-8e0b-2d164dd98346&amp;#34; &amp;lt;-- New preset
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;            ]
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;        }
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;    }&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;i class=&#34;fa-solid fa-triangle-exclamation fa-xl&#34; style=&#34;color: #f45815;&#34;&gt;&lt;/i&gt; It is necessary to send all application presets in the request.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Docs: </title>
      <link>/docs/atria/technical-guidelines/create-copilot-preset/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/atria/technical-guidelines/create-copilot-preset/</guid>
      <description>
        
        
        &lt;h1 id=&#34;create-new-copilot-preset-using-configmap&#34;&gt;Create new Copilot preset using ConfigMap&lt;/h1&gt;


&lt;div class=&#34;pageinfo pageinfo-primary&#34;&gt;
&lt;p&gt;&lt;i class=&#34;fa-solid fa-triangle-exclamation fa-xl&#34; style=&#34;color: #f45815;&#34;&gt;&lt;/i&gt; &lt;strong&gt;Guidelines valid for releases previous to Metallica&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This document includes a specific scenario in the process of modifying &lt;em&gt;&lt;strong&gt;ATRIA&lt;/strong&gt;&lt;/em&gt; configuration, described in the document &lt;a href=&#34;../../docs/atria/technical-guidelines/configuration/&#34;&gt;&lt;strong&gt;Modify ATRIA components configuration&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Guidelines to create new &lt;em&gt;&lt;strong&gt;Aura Copilot&lt;/strong&gt;&lt;/em&gt; preset in a specific environment through the use of &lt;strong&gt;ConfigMap&lt;/strong&gt; and &lt;em&gt;&lt;strong&gt;aura-configuration-api&lt;/strong&gt;&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;It is important to follow the following steps in the correct order&lt;/strong&gt;:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&#34;#prerequisites&#34;&gt;Prerequisites&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#create-configmap-copy&#34;&gt;Create ConfigMap copy&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#create-a-new-preset-in-atria-model-gateway&#34;&gt;Create a new preset in &lt;em&gt;&lt;strong&gt;atria-model-gateway&lt;/strong&gt;&lt;/em&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#adjust-model-params&#34;&gt;Adjust model params&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#allow-preset-access&#34;&gt;Allow Preset Access&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#add-a-new-project-in-atria-rag-server&#34;&gt;Add a new project in &lt;em&gt;&lt;strong&gt;atria-rag-server&lt;/strong&gt;&lt;/em&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#adjust-max_tokens-param&#34;&gt;Adjust max_tokens param&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#adjust-timeouts-in-aura-gateway-api-and-nginx&#34;&gt;Adjust timeouts in aura-gateway-api and Nginx&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#upload-documents-and-execute-generate-db-job&#34;&gt;Upload documents and execute the &lt;em&gt;&lt;strong&gt;generate-db&lt;/strong&gt;&lt;/em&gt; job&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#restart-the-deployments&#34;&gt;Restart the deployments&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#update-aura-applications-configuration-via-api&#34;&gt;Update Aura applications configuration via API&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#load-original-config-and-deployments-rollback&#34;&gt;Load original config and deployments rollback&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;/div&gt;

&lt;h2 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Recommended:
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;kubectl&lt;/code&gt; installed in your local host.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;curl&lt;/code&gt; installed in your local host.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;jq&lt;/code&gt; installed in your local host.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;enable-configmap&#34;&gt;Enable ConfigMap&lt;/h3&gt;
&lt;p&gt;&lt;i class=&#34;fa-solid fa-triangle-exclamation fa-xl&#34; style=&#34;color: #f45815;&#34;&gt;&lt;/i&gt; As a prerequisite, we must count on a &lt;strong&gt;KUBECONFIG&lt;/strong&gt; with sufficient permissions and access to the environment.&lt;/p&gt;
&lt;p&gt;We have one ConfigMap for each component:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;&lt;strong&gt;atria-model-gateway&lt;/strong&gt;&lt;/em&gt;: atria-model-gw-config&lt;/li&gt;
&lt;li&gt;&lt;em&gt;&lt;strong&gt;atria-rag-server&lt;/strong&gt;&lt;/em&gt;: atria-rag-config&lt;/li&gt;
&lt;li&gt;&lt;em&gt;&lt;strong&gt;aura-gateway-api&lt;/strong&gt;&lt;/em&gt;: aura-gateway-api&lt;/li&gt;
&lt;li&gt;&lt;em&gt;&lt;strong&gt;aura-services&lt;/strong&gt;&lt;/em&gt;: aura-services&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For the ConfigMap modification, use the following examples for &lt;em&gt;&lt;strong&gt;atria-model-gateway&lt;/strong&gt;&lt;/em&gt;, &lt;em&gt;&lt;strong&gt;atria-rag-server&lt;/strong&gt;&lt;/em&gt;,  &lt;em&gt;&lt;strong&gt;aura-gateway-api&lt;/strong&gt;&lt;/em&gt; and &lt;em&gt;&lt;strong&gt;aura-services&lt;/strong&gt;&lt;/em&gt; respectively:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;kubectl edit configmap atria-model-gw-config -n &amp;lt;namespace&amp;gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;kubectl edit configmap atria-rag-config -n &amp;lt;namespace&amp;gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;kubectl edit cm aura-gateway-api -n &amp;lt;namespace&amp;gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;kubectl edit vs aura-services -n &amp;lt;namespace&amp;gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;(Substitute &lt;code&gt;&amp;lt;namespace&amp;gt;&lt;/code&gt; with the corresponding environment)&lt;/p&gt;
&lt;p&gt;You can also use visual tools for this modification, such as &lt;a href=&#34;https://k8slens.dev/download&#34;&gt;Lens&lt;/a&gt; or &lt;a href=&#34;https://www.sublimetext.com/download&#34;&gt;Sublime&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;access-to-azure-container&#34;&gt;Access to Azure container&lt;/h3&gt;
&lt;p&gt;You must have access to Azure container &lt;code&gt;atria-resources&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&#34;create-configmap-copy&#34;&gt;Create ConfigMap copy&lt;/h2&gt;
&lt;p&gt;&lt;i class=&#34;fa-solid fa-triangle-exclamation fa-xl&#34; style=&#34;color: #f45815;&#34;&gt;&lt;/i&gt; &lt;strong&gt;Important: Before modifying anything, it is highly recommended to make a backup of the ConfigMap content, as the format is very sensitive&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;To avoid possible errors, the first thing to do is to copy the current configuration. For this purpose, execute the following commands:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;kubectl get cm atria-model-gw-config -o yaml -n &amp;lt;namespace&amp;gt; &amp;gt; &amp;lt;local_file_path&amp;gt;/model-gw-config.yaml &lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;kubectl get cm atria-rag-config -o yaml -n &amp;lt;namespace&amp;gt; &amp;gt; &amp;lt;local_file_path&amp;gt;/rag-config.yaml &lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;kubectl get cm aura-gateway-api  -o yaml -n &amp;lt;namespace&amp;gt; &amp;gt; &amp;lt;local_file_path&amp;gt;/gateway-config.yaml &lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;kubectl get vs aura-services -o yaml -n &amp;lt;namespace&amp;gt; &amp;gt; &amp;lt;local_file_path&amp;gt;/services-config.yaml &lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Change the namespace by the specific one; change &lt;code&gt;local_file_path&lt;/code&gt; by the desired path.&lt;/p&gt;
&lt;p&gt;Now you have a copy of the current configuration on your local machine.&lt;/p&gt;
&lt;h2 id=&#34;create-a-new-preset-in-atria-model-gateway&#34;&gt;Create a new preset in &lt;em&gt;&lt;strong&gt;atria-model-gateway&lt;/strong&gt;&lt;/em&gt;&lt;/h2&gt;
&lt;p&gt;Follow these guidelines for adding a new preset in a specific environment through the edition of the ConfigMap of the component:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Open the ConfigMap &lt;strong&gt;atria-model-gw-config&lt;/strong&gt;&lt;br&gt;
&lt;code&gt;kubectl edit configmap atria-model-gw-config -n &amp;lt;namespace&amp;gt;&lt;/code&gt;&lt;br&gt;
(Change &lt;code&gt;&amp;lt;namespace&amp;gt;&lt;/code&gt; by the specific one)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;i class=&#34;fa-solid fa-triangle-exclamation fa-xl&#34; style=&#34;color: #f45815;&#34;&gt;&lt;/i&gt;&lt;strong&gt;Warning:&lt;/strong&gt; If the &lt;code&gt;presets.yml&lt;/code&gt; key is wrongly formatted as a single string, it is necessary to launch the command:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;kubectl get cm atria-model-gw-config -n &amp;lt;namespace&amp;gt; -o &lt;span style=&#34;color:#000&#34;&gt;jsonpath&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;{.data.presets.yml}&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Afterwards, copy the output and overwrite the whole &lt;code&gt;presets.yml&lt;/code&gt; key. This way, you can see the content correctly and include the new preset.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In the key &lt;strong&gt;presets&lt;/strong&gt;, add the new preset with the following structure:
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-yaml&#34; data-lang=&#34;yaml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;- &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;id&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;copilot-reduced-preset-rag&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;  &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;model_id&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;atria-rag&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;  &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;name&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;Copilot&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;  &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;group&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;enriched_ai&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;  &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;description&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;A RAG system built on a LangChain backend&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;  &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;session_params&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;    &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;window&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;0&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;  &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;preset_params&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;    &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;chain&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;project-copilot-reduced&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;  &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;model_params&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;    &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;max_ref&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;3&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;    &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;sticky_context&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;null&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;    &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;candidates_post_filtering&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;null&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;    &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;language&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;en&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;    &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;max_tokens&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;16384&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;adjust-model-params&#34;&gt;Adjust model params&lt;/h2&gt;
&lt;p&gt;We also have to set the model that the RAG will use to call the &lt;em&gt;&lt;strong&gt;atria-model-gateway&lt;/strong&gt;&lt;/em&gt;.
This model is the &lt;strong&gt;gpt-4o&lt;/strong&gt;.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Open the ConfigMap &lt;strong&gt;atria-model-gw-config&lt;/strong&gt;&lt;br&gt;
&lt;code&gt;kubectl edit configmap atria-model-gw-config -n &amp;lt;namespace&amp;gt;&lt;/code&gt;&lt;br&gt;
(Change &lt;code&gt;&amp;lt;namespace&amp;gt;&lt;/code&gt; by the specific one)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Within the key &lt;strong&gt;models&lt;/strong&gt;, search &lt;strong&gt;gpt-4o&lt;/strong&gt; and update the timeout value:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  timeout:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      timeout: 240
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      read: 240
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Within the key &lt;strong&gt;models&lt;/strong&gt;, search &lt;strong&gt;atria-rag&lt;/strong&gt; and update the timeout value:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;timeout: 485        
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Save and close the ConfigMap&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;allow-preset-access&#34;&gt;Allow Preset Access&lt;/h2&gt;
&lt;p&gt;Now that we have created the new preset, we have to modify the &lt;code&gt;access&lt;/code&gt; key, to allow the application to use it.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Within the &lt;code&gt;access&lt;/code&gt; key, look for the &lt;code&gt;presets&lt;/code&gt; key.&lt;/li&gt;
&lt;li&gt;In the key &lt;strong&gt;3e1cb831-d5bf-423d-8bef-4abcc53dfa97&lt;/strong&gt; (application ID), add the preset name &lt;strong&gt;copilot-reduced-preset-rag&lt;/strong&gt; to the list.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;add-a-new-project-in-atria-rag-server&#34;&gt;Add a new project in &lt;em&gt;&lt;strong&gt;atria-rag-server&lt;/strong&gt;&lt;/em&gt;&lt;/h2&gt;
&lt;p&gt;Follow these guidelines for adding a new project in a specific environment through the edition of the ConfigMap of the component:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Open the ConfigMap &lt;strong&gt;atria-rag-config&lt;/strong&gt;   &lt;br&gt;
&lt;code&gt;kubectl edit configmap atria-rag-config -n &amp;lt;namespace&amp;gt;&lt;/code&gt;&lt;br&gt;
(Change &lt;code&gt;&amp;lt;namespace&amp;gt;&lt;/code&gt; by the specific one)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;i class=&#34;fa-solid fa-triangle-exclamation fa-xl&#34; style=&#34;color: #f45815;&#34;&gt;&lt;/i&gt;&lt;strong&gt;Warning:&lt;/strong&gt; If the &lt;code&gt;projects.yaml.project&lt;/code&gt; key is wrongly formatted as a single string, it is necessary to launch the following command:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;kubectl get cm atria-rag-config -n &amp;lt;namespace&amp;gt; -o &lt;span style=&#34;color:#000&#34;&gt;jsonpath&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;{.data.projects\.yaml\.project}&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Afterwards, copy the output and overwrite the whole &lt;code&gt;projects.yaml.project&lt;/code&gt; key. This way, you can see the content correctly and include the new project.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;In the key &lt;strong&gt;projects.yaml.project&lt;/strong&gt;, add the new project, as shown below.&lt;/p&gt;
&lt;details open&gt;
&lt;summary&gt; Project structure &lt;/summary&gt;  
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-yaml&#34; data-lang=&#34;yaml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;    &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;project-copilot-reduced&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;      &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;name&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;Project Copilot&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;      &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;docs&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;        &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;json&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;          &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;dir&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;/opt/atria-rag/data/project-copilot-reduced/jsonl&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;          &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;extensions&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;jsonl&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;          &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;loader&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;jsonl&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;      &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;embeddings&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;test_distilbert&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;      &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;llm&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;copilot-rag-model-gw-raw-gpt-4-o&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;      &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;solve_type&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;sql&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;      &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;retrievers&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;        &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;qdrant&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;          &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;host&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;qdrant.aura-system&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;          &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;port&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;6333&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;          &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;collection_name&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;project-copilot-reduced-Aura&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;          &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;prefix&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;es-pre-970&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;        &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;tfidf&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;          &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;dump_name&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;/var/atria-rag-data/tfidf/dump/project-copilot-reduced-Aura&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;      &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;serving&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;        &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;base_url&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;project-copilot-reduced/jsonl&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;      &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;parameters&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;        &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;candidate_only&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;false&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;      &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;prompts&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;        &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;generate_sql_query&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;          &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;DEFAULT&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;|&lt;/span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              Generate a SQL query statement to answer the following question:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              `{question}`
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              Use the data contained in the following tables.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              {sql_table_definition}
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              The following tables, containing auxiliary information, are also available. They include **dimensional tables**:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              ```sql
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              CREATE TABLE D_CBD_Static_Geo_Area_v6 (GEO_AREA_ID VARCHAR, CBD_GEO_AREA_LEVEL1_ID VARCHAR, CBD_GEO_AREA_LEVEL2_ID VARCHAR, CBD_GEO_AREA_LEVEL3_ID VARCHAR, CBD_GEO_AREA_LEVEL4_ID VARCHAR, OB_ALPHA_ID VARCHAR, EXTRACTION_TM VARCHAR);
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON TABLE D_CBD_Static_Geo_Area IS &amp;#39;Geographical areas. This table contains foreign keys to the different levels of geographical areas. In particular, it contains the foreign keys to these tables: CBD_Static_Geo_Area_Level1, CBD_Static_Geo_Area_Level2, CBD_Static_Geo_Area_Level3, CBD_Static_Geo_Area_Level4. Therefore, this tables is used, via JOIN, to query the geographical information contained in the different levels of geographical areas. For instance, if you have a table T with a field GEO_AREA_ID and you need to check whether this location corresponds to the region of Asturias you will need to look for GEO_AREA_ID in this table, then extract the CBD_GEO_AREA_LEVEL4_ID and query the table CBD_Static_Geo_Area_Level4 to get the name of the region.&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area.GEO_AREA_ID IS &amp;#39;Description: Identifier of the geographical area assigned to the customer (typically the geographical area of the customer home). This identifier is a string code which values are defined in &amp;#39;&amp;#39;D_Geographical_Area&amp;#39;&amp;#39; entity. Format: alphanumeric string. Example values: &amp;#39;&amp;#39;2800983CE&amp;#39;&amp;#39;, &amp;#39;&amp;#39;50059&amp;#39;&amp;#39;, &amp;#39;&amp;#39;3101142CE&amp;#39;&amp;#39;&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area.CBD_GEO_AREA_LEVEL1_ID IS &amp;#39;Identifier of the geographical area Level 1 (max level of detail: CP or similar). FORMAT: string containing a numerical code. This field does not contain location names.&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area.CBD_GEO_AREA_LEVEL2_ID IS &amp;#39;Identifier of the geographical area Level 2 (City/Town). FORMAT: string containing a numerical code. This field does not contain location names.&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area.CBD_GEO_AREA_LEVEL3_ID IS &amp;#39;Identifier of the geographical area Level 3 (Province). FORMAT: string containing a numerical code. This field does not contain location names.&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area.CBD_GEO_AREA_LEVEL4_ID IS &amp;#39;Identifier of the geographical area Level 4 (State/Region). FORMAT: string containing a numerical code. This field does not contain location names.&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area.OB_ALPHA_ID IS &amp;#39;Alphanumeric Organizational Business ID&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area.EXTRACTION_TM IS &amp;#39;Date-time of the record&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              CREATE TABLE D_CBD_Static_Geo_Area_Level2_v6 (CBD_GEO_AREA_LEVEL2_ID VARCHAR, GEO_AREA_LEVEL_DES VARCHAR, CBD_GEO_AREA_LEVEL3_ID VARCHAR, LONGITUDE_LON_CO DOUBLE, LATITUDE_LAT_CO DOUBLE, GEO_AREA_ID VARCHAR, GEO_STD_AREA_CD VARCHAR, OB_ALPHA_ID VARCHAR, EXTRACTION_TM VARCHAR);
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON TABLE D_CBD_Static_Geo_Area_Level2 IS &amp;#39;Geographical area level 2 (State)&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level2.CBD_GEO_AREA_LEVEL2_ID IS &amp;#39;Identifier of the geographical area Level 2 (City/Town). FORMAT: string containing a numerical code.&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level2.GEO_AREA_LEVEL_DES IS &amp;#39;Description associated to the identifier level 2. FORMAT: alphanumeric string containing the name of the city/town.&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level2.CBD_GEO_AREA_LEVEL3_ID IS &amp;#39;Identifier of the geographical area Level 3 (Province)&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level2.LONGITUDE_LON_CO IS &amp;#39;Longitude coordinates (in WGS84) associated with level 2&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level2.LATITUDE_LAT_CO IS &amp;#39;Latitude coordinates (in WGS84) associated with level 2&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level2.GEO_AREA_ID IS &amp;#39;Description: Identifier of the geographical area assigned to the customer (typically the geographical area of the customer home). This identifier is a string code which values are defined in &amp;#39;&amp;#39;D_Geographical_Area&amp;#39;&amp;#39; entity. Format: alphanumeric string. Example values: &amp;#39;&amp;#39;2800983CE&amp;#39;&amp;#39;, &amp;#39;&amp;#39;50059&amp;#39;&amp;#39;, &amp;#39;&amp;#39;3101142CE&amp;#39;&amp;#39;&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level2.GEO_STD_AREA_CD IS &amp;#39;Standard code of the geo area&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level2.OB_ALPHA_ID IS &amp;#39;Alphanumeric Organizational Business ID&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level2.EXTRACTION_TM IS &amp;#39;Date-time of the record&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              CREATE TABLE D_CBD_Static_Geo_Area_Level3_v6 (CBD_GEO_AREA_LEVEL3_ID VARCHAR, GEO_AREA_LEVEL_DES VARCHAR, CBD_GEO_AREA_LEVEL4_ID VARCHAR, LONGITUDE_LON_CO DOUBLE, LATITUDE_LAT_CO DOUBLE, ISO_3166_2_CD VARCHAR, GEO_AREA_ID VARCHAR, GEO_STD_AREA_CD VARCHAR, OB_ALPHA_ID VARCHAR, EXTRACTION_TM VARCHAR);
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON TABLE D_CBD_Static_Geo_Area_Level3 IS &amp;#39;Geographical area level 3 (Region)&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level3.CBD_GEO_AREA_LEVEL3_ID IS &amp;#39;Identifier of the geographical area Level 3 (Province). FORMAT: string containing a numerical code.&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level3.GEO_AREA_LEVEL_DES IS &amp;#39;Description associated to the identifier level 3. FORMAT: alphanumeric string containing the name of the province.&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level3.CBD_GEO_AREA_LEVEL4_ID IS &amp;#39;Identifier of the geographical area Level 4 (State/Region). FORMAT: string containing a numerical code.&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level3.LONGITUDE_LON_CO IS &amp;#39;Longitude coordinates (in WGS84) associated with level 3&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level3.LATITUDE_LAT_CO IS &amp;#39;Latitude coordinates (in WGS84) associated with level 3&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level3.ISO_3166_2_CD IS &amp;#39;ISO 3166-2 associated&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level3.GEO_AREA_ID IS &amp;#39;Description: Identifier of the geographical area assigned to the customer (typically the geographical area of the customer home). This identifier is a string code which values are defined in &amp;#39;&amp;#39;D_Geographical_Area&amp;#39;&amp;#39; entity. Format: alphanumeric string. Example values: &amp;#39;&amp;#39;2800983CE&amp;#39;&amp;#39;, &amp;#39;&amp;#39;50059&amp;#39;&amp;#39;, &amp;#39;&amp;#39;3101142CE&amp;#39;&amp;#39;&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level3.GEO_STD_AREA_CD IS &amp;#39;Standard code of the geo area&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level3.OB_ALPHA_ID IS &amp;#39;Alphanumeric Organizational Business ID&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level3.EXTRACTION_TM IS &amp;#39;Date-time of the record&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              CREATE TABLE D_CBD_Static_Geo_Area_Level4_v6 (CBD_GEO_AREA_LEVEL4_ID VARCHAR, GEO_AREA_LEVEL_DES VARCHAR, LONGITUDE_LON_CO DOUBLE, LATITUDE_LAT_CO DOUBLE, HASC_1_CD VARCHAR, GEO_AREA_ID VARCHAR, GEO_STD_AREA_CD VARCHAR, OB_ALPHA_ID VARCHAR, EXTRACTION_TM VARCHAR);
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON TABLE D_CBD_Static_Geo_Area_Level4 IS &amp;#39;Geographical area level 4 (min. Detail)&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level4.CBD_GEO_AREA_LEVEL4_ID IS &amp;#39;Identifier of the geographical area Level 4 (State/Region). FORMAT: string containing a numerical code.&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level4.GEO_AREA_LEVEL_DES IS &amp;#39;Description associated to the identifier level 4. FORMAT: alphanumerical string containing the name of the state/region. EXAMPLE VALUES: &amp;#39;&amp;#39;Asturias&amp;#39;&amp;#39;, &amp;#39;&amp;#39;Andaluc\u00eda&amp;#39;&amp;#39;, etc.&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level4.LONGITUDE_LON_CO IS &amp;#39;Longitude coordinates (in WGS84) associated with level 4&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level4.LATITUDE_LAT_CO IS &amp;#39;Latitude coordinates (in WGS84) associated with level 4&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level4.HASC_1_CD IS &amp;#39;Hierarchical administrative subdivision codes &amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level4.GEO_AREA_ID IS &amp;#39;Description: Identifier of the geographical area assigned to the customer (typically the geographical area of the customer home). This identifier is a string code which values are defined in &amp;#39;&amp;#39;D_Geographical_Area&amp;#39;&amp;#39; entity. Format: alphanumeric string. Example values: &amp;#39;&amp;#39;2800983CE&amp;#39;&amp;#39;, &amp;#39;&amp;#39;50059&amp;#39;&amp;#39;, &amp;#39;&amp;#39;3101142CE&amp;#39;&amp;#39;&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level4.GEO_STD_AREA_CD IS &amp;#39;Standard code of the geo area&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level4.OB_ALPHA_ID IS &amp;#39;Alphanumeric Organizational Business ID&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Geo_Area_Level4.EXTRACTION_TM IS &amp;#39;Date-time of the record&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              CREATE TABLE D_CBD_Static_Station_Type_v6 (STATION_TYPE_CD VARCHAR, TECH_LEVEL_WEIGHT_QT FLOAT, STATION_TYPE_L2_DES VARCHAR, STATION_TYPE_L1_DES VARCHAR, STATION_TYPE_L2_ORDER_NUM INT, STATION_TYPE_L1_ORDER_NUM INT, STATION_TYPE_ORDER_NUM INT, CONSCIOUS_IND BOOLEAN, EXTRACTION_TM VARCHAR);
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON TABLE D_CBD_Static_Station_Type IS &amp;#39;Station types&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Station_Type.STATION_TYPE_CD IS &amp;#39;Description: Type of device connected to the HGU router. It used to find out which devices are connected to routers in households. Format: String. Example values: &amp;#34;A/V Equipment&amp;#34;, &amp;#34;Air Conditioning&amp;#34;, &amp;#34;Air Conditioning Control&amp;#34;, &amp;#34;Apple Handheld Device&amp;#34;, &amp;#34;Apple Home Device&amp;#34;, &amp;#34;AudioCast&amp;#34;, &amp;#34;Audiocast&amp;#34;, &amp;#34;Barcode Printer&amp;#34;, &amp;#34;Camera&amp;#34;, &amp;#34;Car Dash Cam&amp;#34;, &amp;#34;Cryptominner&amp;#34;, &amp;#34;Digital Clock&amp;#34;, &amp;#34;Dishwasher&amp;#34;, &amp;#34;Drone Equipment&amp;#34;, &amp;#34;GPS&amp;#34;, &amp;#34;Gaming Console&amp;#34;, &amp;#34;Hyper Media Player&amp;#34;, &amp;#34;IP Camera&amp;#34;, &amp;#34;IPC Hub&amp;#34;, &amp;#34;IPC Video Recorder&amp;#34;, &amp;#34;IoT Device&amp;#34;, &amp;#34;Key Cutting Machine&amp;#34;, &amp;#34;Media Center&amp;#34;, &amp;#34;Monitoring Device&amp;#34;, &amp;#34;Multimedia Player&amp;#34;, &amp;#34;Network Access Point&amp;#34;, &amp;#34;Network Equipment&amp;#34;, &amp;#34;PC&amp;#34;, &amp;#34;PDA&amp;#34;, &amp;#34;PIR Sensor&amp;#34;, &amp;#34;Print Server&amp;#34;, &amp;#34;Printer&amp;#34;, &amp;#34;Projector&amp;#34;, &amp;#34;Raspberry&amp;#34;, &amp;#34;Router&amp;#34;, &amp;#34;Security System&amp;#34;, &amp;#34;Smart AC Control&amp;#34;, &amp;#34;Smart Air Freshener&amp;#34;, &amp;#34;Smart Air Fryer&amp;#34;, &amp;#34;Smart Air Ventilator&amp;#34;, &amp;#34;Smart Animal Feeder&amp;#34;, &amp;#34;Smart Baby Monitor&amp;#34;, &amp;#34;Smart Blind&amp;#34;, &amp;#34;Smart Bulb&amp;#34;, &amp;#34;Smart Bulb Adapter&amp;#34;, &amp;#34;Smart Car&amp;#34;, &amp;#34;Smart Car e-Charger&amp;#34;, &amp;#34;Smart Display e-bike&amp;#34;, &amp;#34;Smart Energy Analyzer&amp;#34;, &amp;#34;Smart Home Controller&amp;#34;, &amp;#34;Smart Home Hub&amp;#34;, &amp;#34;Smart Humidifier&amp;#34;, &amp;#34;Smart Hydrometer Clock&amp;#34;, &amp;#34;Smart Kitchen Appliances&amp;#34;, &amp;#34;Smart Kitchen Scale&amp;#34;, &amp;#34;Smart Lamp&amp;#34;, &amp;#34;Smart Light Dimmer&amp;#34;, &amp;#34;Smart Lock Control&amp;#34;, &amp;#34;Smart Plug&amp;#34;, &amp;#34;Smart Pool&amp;#34;, &amp;#34;Smart Power Strip&amp;#34;, &amp;#34;Smart Purifier&amp;#34;, &amp;#34;Smart Scale&amp;#34;, &amp;#34;Smart Signage&amp;#34;, &amp;#34;Smart Speaker&amp;#34;, &amp;#34;Smart Switch&amp;#34;, &amp;#34;Smart TV&amp;#34;, &amp;#34;Smart Thermostat&amp;#34;, &amp;#34;Smart Toothbrush&amp;#34;, &amp;#34;Smart Vacuum&amp;#34;, &amp;#34;Smart WallSocket&amp;#34;, &amp;#34;Smart Watch&amp;#34;, &amp;#34;Smart Watch Fit&amp;#34;, &amp;#34;Smart WifiButton&amp;#34;, &amp;#34;Smartphone&amp;#34;, &amp;#34;Smartphone/Tablet&amp;#34;, &amp;#34;Smartwatch&amp;#34;, &amp;#34;Smartwatch Fit&amp;#34;, &amp;#34;Solar Panel Equipment&amp;#34;, &amp;#34;Soundbar&amp;#34;, &amp;#34;Steam Controller&amp;#34;, &amp;#34;Storage Device&amp;#34;, &amp;#34;TPV&amp;#34;, &amp;#34;TV Dongle&amp;#34;, &amp;#34;Tablet&amp;#34;, &amp;#34;Tempest Weather System&amp;#34;, &amp;#34;UPS&amp;#34;, &amp;#34;VR/AR Headset&amp;#34;, &amp;#34;Video Doorbell&amp;#34;, &amp;#34;Video Intercom&amp;#34;, &amp;#34;Video STB Equipment&amp;#34;, &amp;#34;VideointercomIP&amp;#34;, &amp;#34;Virtual Desktop&amp;#34;, &amp;#34;VoIP Phone&amp;#34;, &amp;#34;WAN Extender&amp;#34;, &amp;#34;WiFi Extender&amp;#34;, &amp;#34;Wifi Dongle&amp;#34;, &amp;#34;Wireless Blood Pressure Monitor&amp;#34;, &amp;#34;Wireless Bridge&amp;#34;, &amp;#34;Wireless Headphones&amp;#34;, &amp;#34;Wireless Router + VoIP Series&amp;#34;, &amp;#34;e-Note&amp;#34;, &amp;#34;eBook&amp;#34;&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Station_Type.TECH_LEVEL_WEIGHT_QT IS &amp;#39;Associated weight for the technologic level of the home&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Station_Type.STATION_TYPE_L2_DES IS &amp;#39;Description: Higher level device type grouping. Example values: &amp;#34;PCs &amp;amp; Home Office&amp;#34;, &amp;#34;Smartphones / Tablets / eReaders / iWatch&amp;#34;, &amp;#34;Multimedia Entertainment&amp;#34;, &amp;#34;Gaming&amp;#34;, &amp;#34;Sport &amp;amp; Health&amp;#34;, &amp;#34;Smart Home&amp;#34;, &amp;#34;Unknown&amp;#34;, &amp;#34;Network Devices&amp;#34;, &amp;#34;Security &amp;amp; Control&amp;#34;&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Station_Type.STATION_TYPE_L1_DES IS &amp;#39;Description: Intermediate level device type grouping. Example values: &amp;#34;Smart Speakers &amp;amp; Audio&amp;#34;, &amp;#34;PCs &amp;amp; Home Office&amp;#34;, &amp;#34;Video Entertainment&amp;#34;, &amp;#34;Domestic Appliances&amp;#34;, &amp;#34;Smart Energy &amp;amp; Lighting&amp;#34;, &amp;#34;Apple Handheld Device&amp;#34;, &amp;#34;Smartphones / Tablets / eReaders&amp;#34;, &amp;#34;Gaming&amp;#34;, &amp;#34;Sport &amp;amp; Health&amp;#34;, &amp;#34;Network Devices&amp;#34;, &amp;#34;Security &amp;amp; Control&amp;#34;, &amp;#34;IoT&amp;#34;&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Station_Type.STATION_TYPE_L2_ORDER_NUM IS &amp;#39;Station type order level 2&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Station_Type.STATION_TYPE_L1_ORDER_NUM IS &amp;#39;Station type order level 1&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Station_Type.STATION_TYPE_ORDER_NUM IS &amp;#39;Station type order&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Station_Type.CONSCIOUS_IND IS &amp;#39;Indicates if the related device type has energy efficiency&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_CBD_Static_Station_Type.EXTRACTION_TM IS &amp;#39;Date-time of the record&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              CREATE TABLE D_Segment_v8 (OPERATOR_ID VARCHAR, SEGMENT_ID VARCHAR, SEGMENT_DES VARCHAR, GBL_SEGMENT_ID VARCHAR, SEGMENT_GROUP_ID VARCHAR, SEGMENT_GROUP_DES VARCHAR, EXTRACTION_TM VARCHAR);
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON TABLE D_Segment IS &amp;#39;Classifications of the customers, attending to different segmentation criteria, for marketing and management issues, according to OB criteria and its correspondence with the global segment classification&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_Segment.OPERATOR_ID IS &amp;#39;Global Operator Identifier (Operator acting as owner of the information present in the current entity)&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_Segment.SEGMENT_ID IS &amp;#39;Description: Organisational segment of the client. Format: two letter string. Possible values: &amp;#39;&amp;#39;NT&amp;#39;&amp;#39; - NTT, &amp;#39;&amp;#39;GP&amp;#39;&amp;#39; - Residencial, &amp;#39;&amp;#39;PE&amp;#39;&amp;#39; - Pymes, &amp;#39;&amp;#39;RE&amp;#39;&amp;#39; - Residencial/SC, &amp;#39;&amp;#39;AU&amp;#39;&amp;#39; - Autonomos, &amp;#39;&amp;#39;OP&amp;#39;&amp;#39; - Operadores, &amp;#39;&amp;#39;GC&amp;#39;&amp;#39; - Grandes Clientes, &amp;#39;&amp;#39;RP&amp;#39;&amp;#39; - Residencial Prepago, &amp;#39;&amp;#39;TE&amp;#39;&amp;#39; - Telefonica, &amp;#39;&amp;#39;SC&amp;#39;&amp;#39; - Sin Clasificar, &amp;#39;&amp;#39;ME&amp;#39;&amp;#39; - Empresas&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_Segment.SEGMENT_DES IS &amp;#39;Description: Name or description of the organisational segment of the client (provides the description for each segment identifier). Format: string. Example values: &amp;#39;&amp;#39;Residencial&amp;#34;,  &amp;#39;&amp;#39;Pymes&amp;#39;&amp;#39;, &amp;#39;&amp;#39;Autonomos&amp;#39;&amp;#39;, &amp;#39;&amp;#39;Operadores&amp;#39;&amp;#39;, &amp;#39;&amp;#39;Grandes Clientes&amp;#39;&amp;#39;, &amp;#39;&amp;#39;Sin Clasificar&amp;#39;&amp;#39;&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_Segment.GBL_SEGMENT_ID IS &amp;#39;ID of the global segment classification&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_Segment.SEGMENT_GROUP_ID IS &amp;#39;ID code of the segmentation group&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_Segment.SEGMENT_GROUP_DES IS &amp;#39;Description of the segmentation group&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_Segment.EXTRACTION_TM IS &amp;#39;Date-time of the record&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              CREATE TABLE D_Fixed_Tariff_Plan_v8 (OPERATOR_ID VARCHAR, DAY_DT VARCHAR, TARIFF_PLAN_ID VARCHAR, TARIFF_PLAN_DES VARCHAR, VOICE_IND BOOLEAN, BBAND_IND BOOLEAN, TV_IND BOOLEAN, WORKSTATION_IND BOOLEAN, APP_IND BOOLEAN, VOICE_BUNDLE_QT FLOAT, BBAND_UP_SPEED_QT FLOAT, BBAND_DOWN_SPEED_QT FLOAT, TV_TYPE_CD VARCHAR, FIXED_SERVICE_COMMERCIAL_NAME VARCHAR, COMMERCIAL_IND BOOLEAN, TARIFF_PLAN_START_DT VARCHAR, TARIFF_PLAN_END_DT VARCHAR, CONVERGENT_IND BOOLEAN, BRAND_ID VARCHAR);
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON TABLE D_Fixed_Tariff_Plan_v8 IS &amp;#39;Every fixed Tariff to be applied, either Commercial, Convergent, Individual, or any other, for any product&amp;amp;service for the fixed client base&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.OPERATOR_ID IS &amp;#39;Global Operator Identifier (Operator acting as owner of the information present in the current entity)&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.DAY_DT IS &amp;#39;Year, month and day of the data  ### Additional Information  Format: YYYYMMDD (4 digits for year, months from 01 to 12, days from 01 to 31).&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.TARIFF_PLAN_ID IS &amp;#39;Unique identifier of the tariff plan&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.TARIFF_PLAN_DES IS &amp;#39;Name/short description of the tariff plan&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.VOICE_IND IS &amp;#39;Indicates whether the line has a fixed line voice service associated.  Values: 0=No; 1=Yes.&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.BBAND_IND IS &amp;#39;Indicates whether the line has a Broadband service associated.  Values: 0=No; 1=Yes.&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.TV_IND IS &amp;#39;Indicates if the line has a TV service associated.  Values: 0=No; 1=Yes.&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.WORKSTATION_IND IS &amp;#39;Indicates if the line has a workstation service associated.  Values: 0=No; 1=Yes.&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.APP_IND IS &amp;#39;Indicates if the line has the &amp;#34;Aplicateca service&amp;#34; associated.  Values: 0=No; 1=Yes.&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.VOICE_BUNDLE_QT IS &amp;#39;Amount of data associated with the voice bundle&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.BBAND_UP_SPEED_QT IS &amp;#39;Broadband up speed (Mbps)&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.BBAND_DOWN_SPEED_QT IS &amp;#39;Broadband down speed (Mbps)&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.TV_TYPE_CD IS &amp;#39;Type of TV line&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.FIXED_SERVICE_COMMERCIAL_NAME IS &amp;#39;Commercial name of the service&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.COMMERCIAL_IND IS &amp;#39;Indicates if TARIFF_PLAN_ID refers to the COMMERCIAL_TARIFF_ID.    Fill-in with 1 if TARIFF_PLAN_ID refers to the COMMERCIAL_TARIFF_ID or 0 if it doesn&amp;#39;&amp;#39;t    0 = Non commercial tariff  1 = commercial tariff&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.TARIFF_PLAN_START_DT IS &amp;#39;Start date of the tariff plan validity (that day is the first day when the tariff plan is applicable)  ### Additional Information  Format: YYYYMMDD (4 digits for year, months from 01 to 12, days from 01 to 31).&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.TARIFF_PLAN_END_DT IS &amp;#39;End date of the tariff plan validity (that day is the last day when the tariff plan is applicable)  ### Additional Information  Format: YYYYMMDD (4 digits for year, months from 01 to 12, days from 01 to 31).&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.CONVERGENT_IND IS &amp;#39;Flag indicating if the current fixed tariff plan can be configured as a &amp;#34;Convergent tariff plan&amp;#34;, i. e., a plan with special conditions due to the fact of including at least one Fixed line/service and one Mobile line.   0 = No (the plan can&amp;#39;&amp;#39;t be configured as convergent)   1 = Yes (the plan can be configured as convergent)&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  COMMENT ON COLUMN D_Fixed_Tariff_Plan_v8.BRAND_ID IS &amp;#39;Commercial brand identifier. In order to differentiate among different brands in the same OB (e.g. Movistar, O2, Tuenti...)&amp;#39;;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              ```
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              Some of the former tables contain columns in full-qualified format. For instance, these are some examples of full-qualified columns:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              ```
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              &amp;lt;record_name&amp;gt;.&amp;lt;field_name&amp;gt;: TEC_PLAT_REC.DEVICE_ID
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              &amp;lt;record_name&amp;gt;.&amp;lt;subrecord_name&amp;gt;.&amp;lt;field_name&amp;gt;: TEC_PLAT_REC.TEC_PLAT_SUBCOMP_REC.DEVICE_ID
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              ...
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              ```
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              Always use the full-qualified format when referring to columns in the tables. For instance, if you need to use the column &amp;#39;TEC_PLAT_REC.DEVICE_ID&amp;#39;, you should not refer to it as &amp;#39;DEVICE_ID&amp;#39;, but as &amp;#39;TEC_PLAT_REC.DEVICE_ID&amp;#39;.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              **Explain in detail, step by step, all your decisions**.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              # General instructions
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              ## How to use dimensional tables
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              If you need to filter by a higher level geographical such as a region (Comunidad Autónoma) you will need to:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              - join the `GEO_AREA_ID` field of the data table (such as `CBD_HGU_Detail_Daily_v10`) with the `GEO_AREA_ID` field in `D_CBD_Static_Geo_Area_v6` table
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                - then join the `CBD_GEO_AREA_LEVEL4_ID` field in the `D_CBD_Static_Geo_Area_v6` with the `CBD_GEO_AREA_LEVEL4_ID` field in the `D_CBD_Static_Geo_Area_Level4_v6` table
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                - then compare the `GEO_AREA_LEVEL_DES` field in the `D_CBD_Static_Geo_Area_Level4_v6` table with the name of the region (e.g., &amp;#39;Cantabria&amp;#39;), since the DESCRIPTION field does contain the actual name of the geographical area.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                **Only perform these joins if explicit filtering or grouping by geographical location is necessary**.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              If you need to filter the `CBD_Summary_HGU_Stations_Daily` table by a period of time yo will need to:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              - join the `DEVICE_ID` field of the data table (such as `CBD_Summary_HGU_Detail_Daily`) with the `DEVICE_ID` field in `CBD_Summary_HGU_Stations_Daily` table
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                - then join the `DAY_DT` field of the data table (such as `CBD_Summary_HGU_Detail_Daily`) with the `DAY_DT` field in `CBD_Summary_HGU_Stations_Daily` table
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                **Only perform these joins if explicit filtering or grouping by detailed information at a station &amp;amp; interface level is necessary**.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              Use other dimensional tables in a similar way, if necessary.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              ## SQL query generation steps
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              Follow these reasoning steps to generate the SQL query:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              - Step 1: Identify Necessary Tables
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                - Step 2: Identify Useful Candidate Columns
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                - Step 3: Assess if Tables and Columns are Sufficient to Answer the Question
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                - Step 4: Plan the SQL Query
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                - Step 5: Write the final SQL Query and apply the rules
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                - Step 6: Check that the query actually can answer the question
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                - Step 7: Create the result as a JSON object
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              # Detailed instructions
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              ### Step 1: Identify Necessary Tables for answering the question `{question}`
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              First, identify which tables are necessary to answer the question `{question}`. Justify why you selected each of these tables.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              Use the following format:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              ```
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              I need the following tables to answer the question:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              - &amp;lt;table_name&amp;gt;: &amp;lt;reasoning&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              - &amp;lt;table_name&amp;gt;: &amp;lt;reasoning&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              ...
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              ```
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              ### Step 2: Identify Useful Candidate Columns for answering the question `{question}`
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              Identify which columns are useful to answer the question `{question}`. Justify why you selected each of these columns.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              Always include any column you think may be needed to answer the question. If there are similar columns in the table, you should identify all of them always. You will later choose which them are more suitable to answer the question. But, at this stage, you should include **all the columns that may be useful**.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              Write the list of candidate columns you have identified and the reasoning after each column, using the following format:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              ```
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              I can use the following candidate columns to answer the question (including all the columns that may be useful):
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              - &amp;lt;table name&amp;gt;:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                - &amp;lt;column_name&amp;gt;: &amp;lt;copy here the full column description from schema, including possible values if present&amp;gt;: &amp;lt;reasoning&amp;gt;.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                - &amp;lt;column_name&amp;gt;: &amp;lt;copy here the full column description from schema, including possible values if present&amp;gt;: &amp;lt;reasoning&amp;gt;.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                ...
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              - &amp;lt;table_name&amp;gt;:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                - &amp;lt;column_name&amp;gt;: &amp;lt;copy here the full column description from schema, including possible values if present&amp;gt;: &amp;lt;reasoning&amp;gt;.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                - &amp;lt;column_name&amp;gt;: &amp;lt;copy here the full column description from schema, including possible values if present&amp;gt;: &amp;lt;reasoning&amp;gt;.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                ...
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              ...
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              ```
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              ### Step 3: Assess if Tables and Columns are Sufficient to Answer the Question for answering the question `{question}`
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              Tell if the tables and columns you identified are enough to answer the question `{question}`. Make sure to justify your answer and check the actual descriptions of the columns in the table definitions and the user question.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              Write the answer using the following format:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              ```
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              Possible to answer the question using the former columns:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              - &amp;lt;reasoning&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              - Result: &amp;lt;Yes|No&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              ```
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              ### Step 4: Plan the SQL Query for answering the question `{question}`
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              Explain, step by step, how you would write the SQL query to answer the question `{question}`, using the columns you identified.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              **Use the full qualified names of the columns**. **DO NOT USE THE `JSON_OBJECT` FUNCTION IN THE QUERY**.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              To finish this step, explain how you would write the SQL query to answer the question, using the columns you identified, taking into account the previous considerations for columns contained in maps, if there are any.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              ### Step 5: Write the final SQL Query and apply the rules for answering the question `{question}`
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              Finally, write the SQL query to answer the question `{question}`, using the columns you identified.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              Remarks:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              **DO NOT USE THE `JSON_OBJECT` FUNCTION IN THE QUERY**.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              Check if you need to use any of the following **business rules** to build the query:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              ```json
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                &amp;#34;rules&amp;#34;: [
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;B1&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Fiction&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;Look for tariff plans including \&amp;#34;ficción\&amp;#34; contents in the question `{{question}}`.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;You will need to look for one the following  patterns in the `TARIFF_PLAN_DES` field: &amp;#39;%FICCION%&amp;#39;, &amp;#39;%FICCIÓN%&amp;#39;, &amp;#39;%SERIES%&amp;#39;, &amp;#39;%CINE%&amp;#39;, &amp;#39;%FUSIÓN TOTAL%&amp;#39;, &amp;#39;%FUSION TOTAL%&amp;#39;. To make the proper comparison, you should use compare with uppercase letters. For instance, use a filter like this one: `UPPER(${{{{TABLE}}}}.TARIFF_PLAN_DES) LIKE &amp;#39;%FICCION%&amp;#39; OR UPPER(${{{{TABLE}}}}.TARIFF_PLAN_DES) LIKE &amp;#39;%FICCIÓN%&amp;#39; OR UPPER(${{{{TABLE}}}}.TARIFF_PLAN_DES) LIKE &amp;#39;%SERIES%&amp;#39; OR UPPER(${{{{TABLE}}}}.TARIFF_PLAN_DES) LIKE &amp;#39;%CINE%&amp;#39; OR UPPER(${{{{TABLE}}}}.TARIFF_PLAN_DES) LIKE &amp;#39;%FUSIÓN TOTAL%&amp;#39; OR UPPER(${{{{TABLE}}}}.TARIFF_PLAN_DES) LIKE &amp;#39;%FUSION TOTAL%&amp;#39;`\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;B2&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Disney&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;Look for tariff plans including \&amp;#34;Disney\&amp;#34; contents in the question `{{question}}`.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;You will need to look for one the following  patterns in the `TARIFF_PLAN_DES` field: &amp;#39;%DISNEY%&amp;#39;.  To make the proper comparison, you should use compare with uppercase letters. For instance, use a filter like this one: `UPPER(${{{{TABLE}}}}.TARIFF_PLAN_DES) LIKE &amp;#39;%DISNEY%&amp;#39;`\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;B3&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Football&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;Look for tariff plans including football contents in the question `{{question}}`.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;You will need to look for one the following  patterns in the `TARIFF_PLAN_DES` field: &amp;#39;%FUTBOL%&amp;#39;, &amp;#39;%FÚTBOL%&amp;#39;, &amp;#39;%FUSION TOTAL%&amp;#39;, &amp;#39;%FUSIÓN TOTAL%&amp;#39;,  &amp;#39;%FUSION TA TOTAL%&amp;#39;, &amp;#39;%FUSIÓN TA TOTAL%&amp;#39;, &amp;#39;%LIGA%&amp;#39;, &amp;#39;%CHAMPION%&amp;#39;. To make the proper comparison, you should use compare with uppercase letters. For instance, use a filter like this one:  `UPPER(${{{{TABLE}}}}.TARIFF_PLAN_DES) LIKE &amp;#39;%FUTBOL%&amp;#39; OR UPPER(${{{{TABLE}}}}.TARIFF_PLAN_DES) LIKE &amp;#39;%FÚTBOL%&amp;#39; OR UPPER(${{{{TABLE}}}}.TARIFF_PLAN_DES) LIKE &amp;#39;%FUSION TOTAL%&amp;#39; OR UPPER(${{{{TABLE}}}}.TARIFF_PLAN_DES) LIKE &amp;#39;%FUSIÓN TOTAL%&amp;#39; OR UPPER(${{{{TABLE}}}}.TARIFF_PLAN_DES) LIKE &amp;#39;%LIGA%&amp;#39; OR UPPER(${{{{TABLE}}}}.TARIFF_PLAN_DES) LIKE &amp;#39;%CHAMPION%&amp;#39;`\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;B4&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Netflix&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;Look for tariff plans including \&amp;#34;Netflix\&amp;#34; contents in the question `{{question}}`.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;You will need to look for one the following  patterns in the `TARIFF_PLAN_DES` field: &amp;#39;%NETFLIX%&amp;#39;, &amp;#39;%FICCIÓN%&amp;#39;, &amp;#39;%FICCION%&amp;#39;. To make the proper comparison, you should use compare with uppercase letters. For instance, use a filter like this one: `UPPER(${{{{TABLE}}}}.TARIFF_PLAN_DES) LIKE &amp;#39;%NETFLIX%&amp;#39;`\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;B5&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Promociones&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;Need to look for tariff plans including \&amp;#34;promotions\&amp;#34; in the question `{{question}}`.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;You will need to look for one the following  patterns in the `TARIFF_PLAN_DES` field: &amp;#39;%PROMO%&amp;#39;. To make the proper comparison, you should use compare with uppercase letters. For instance, use a filter like this one: `UPPER(${{{{TABLE}}}}.TARIFF_PLAN_DES) LIKE &amp;#39;%PROMO%&amp;#39;`\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;B6&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Edad promedio 1&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;You are using the field `CBD_INFO_REC.CUST_AGE_NUM` in the query.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;You are not allowed to use the field `CBD_INFO_REC.CUST_AGE_NUM` in any query. You should use the field `CBD_INFO_REC.CUST_AGE_SEGMENT_CD` instead.\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;B7&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Edad promedio 2&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;Calculate the average age of customers.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;You should use the  following calculation instead of AVG(CBD_INFO_REC.CUST_AGE_SEGMENT_CD): AVG(IF(CBD_INFO_REC.CUST_AGE_SEGMENT_CD = &amp;#39;1&amp;#39;, NULL, CBD_INFO_REC.CUST_AGE_SEGMENT_CD))\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;B8.1&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Query by customers&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;The question `{{question}}` is about customers.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;You should use the `CUSTOMER_ID` field to filter by customers.\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;B8.2&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Query by homes&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;The question `{{question}}` is about homes.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;You should use the `DEVICE_ID` field to filter by homes.\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;B9&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Station type&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;The field `STATION_TYPE_L1` or `STATION_TYPE_L2` are used in the query.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;The field `STATION_TYPE_L2` corresponds to a higher aggregation level than `STATION_TYPE_L1`.  `STATION_TYPE_L1` corresponds to an intermediate category, used only with analytical purposes.\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;B10.1&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Computing of homes or devices (devices are also known as homes)&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;Check if the question: `{{question}}` is asking for a computation on devices or homes (devices are also known as homes).\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;If no other condition is set, Include this constraint in the query: `DEVICE_INFO_REC.INACTIVITY_DEVICE_INFO_NUM &amp;lt; 24` (The device must be idle less than 24 hours)\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;B10.2&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Computing of RSSI&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;Check if the question: `{{question}}` is asking for a computation on RSSI\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;If no other condition is set, Include this constraint in the query: `DEVICE_INFO_REC.INACTIVITY_DEVICE_INFO_NUM &amp;lt; 24` (The device must be idle less than 24 hours)\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;B10.3&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Computing of symmetrical speed&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;Check if the question: `{{question}}` is asking for a computation on symmetrical speed\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;If no other condition is set, Include this constraint in the query: `DEVICE_INFO_REC.INACTIVITY_DEVICE_INFO_NUM &amp;lt; 24` (The device must be idle less than 24 hours)\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;B11&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Penetración de un producto&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;You are asked for calculating \&amp;#34;la penetración de un producto\&amp;#34; in the question `{{question}}`.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;You should calculate the percentage of customers with that product.\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;B12&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Obsolete routers&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;You are asked for obsolete routers in the question `{{question}}`.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;You should check for those with MANUFACT_HGU_CHIPSET_DES IN (&amp;#39;Askey Broadcom&amp;#39;, &amp;#39;Askey Econet&amp;#39;,&amp;#39;MitraStar Broadcom&amp;#39;, &amp;#39;MitraStar Econet&amp;#39;).\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;B13&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;High value customers&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;You are asked for high value customers in the question `{{question}}`.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;Consider as high value customers those with a monthly revenue higher than 100 (TOTAL_CUST_RV &amp;gt; 100).\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;B14.1&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Technological level formula&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;Check the technological level of a customer in the question `{{question}}`.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;Use the following formula on the field `TECH_LEVEL_WEIGHT_QT` of the table `D_CBD_STATIC_STATION_TYPE_v6`: `SUM(COALESCE(D_CBD_STATIC_STATION_TYPE_v6.TECH_LEVEL_WEIGHT_QT,0) + CASE WHEN AMM.VALUE.STATION_BRAND_DES = &amp;#39;Ubiquiti&amp;#39; THEN 0.8 ELSE 0 END)/COUNT(DISTINCT DAY_DT)`\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;B14.2&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Technological levels&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;You are asked for the technological level of a customer in the question `{{question}}`.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;Consider as **high technological level** customers those with a value higher or equal to 2.5. Consider as **medium technological level** customers those with a value higher or equal to 1 and lower than 2.5. Consider as **low technological level** customers those with a value lower than 1.\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;B15&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Sport&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;Look for tariff plans including \&amp;#34;sport\&amp;#34; contents.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;You will need to look for one the following  patterns in the `TARIFF_PLAN_DES` field: &amp;#39;%DEPORTE%&amp;#39;, &amp;#39;%TOTAL PLUS%&amp;#39;, &amp;#39;%TOTAL SAT%PLUS%&amp;#39;, &amp;#39;%MOTOR%&amp;#39;, &amp;#39;%DAZN%&amp;#39;. To make the proper comparison, you should use compare with uppercase letters. For instance, use a filter like this one: `(UPPER(${{{{TABLE}}}}.TARIFF_PLAN_DES) LIKE &amp;#39;%DEPORTE%&amp;#39; OR UPPER(${{{{TABLE}}}}.TARIFF_PLAN_DES) LIKE &amp;#39;%TOTAL PLUS%&amp;#39; OR UPPER(${{{{TABLE}}}}.TARIFF_PLAN_DES) LIKE &amp;#39;%TOTAL SAT%PLUS%&amp;#39; OR UPPER(${{{{TABLE}}}}.TARIFF_PLAN_DES) LIKE &amp;#39;%MOTOR%&amp;#39; OR UPPER(${{{{TABLE}}}}.TARIFF_PLAN_DES) LIKE &amp;#39;%DAZN%&amp;#39;)`\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;B16&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Residencial&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;The question `{{question}}` asks for homes or residential customers (B2C users).\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;Use ONLY the constraint:`CBD_INFO_REC.SEGMENT_ID = &amp;#39;GP&amp;#39;`. If you use the constraint: `SEGMENT_DES = &amp;#39;Residencial&amp;#39;,  NEVER USE the value in English (&amp;#39;Residential&amp;#39;) but the value in Spanish (&amp;#39;Residencial&amp;#39;).\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;R1&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Temporary table fields&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;You use in a filter a given filed from a temporary table, built using the `WITH` clause.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;Make sure that the field is actually present in the SELECT statement defining the temporary table.\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;R2&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Temporary table field naming&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;You write a temporary table like this: `WITH temp_table AS (SELECT field1_prefix.field1 FROM table)`.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;then you should use refer to the field as `field1` and not as `field1_prefix.field1` in the rest of the query.\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;R3&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Tariff plan&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;Look for some specific tariffs in the question `{{question}}`.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;Use the field `TARIFF_PLAN_DES` from the dimensional table D_Fixed_Tariff_Plan instead of using `CBD_INFO_REC.COMMERCIAL_TARIFF_ID` since this last one only contains identifiers without any meaning.\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;R4.1&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Station type 1&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;The query uses `D_CBD_Static_Station_Type_v6.STATION_TYPE_L1_DES` or `D_CBD_Static_Station_Type_v6.STATION_TYPE_L2_DES`.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;Answer this question: does the value you are looking for match one of the possible values of these fields? Justify your answer. Enumerate the possible values of these fields if they are used.\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;R4.2&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Station type 2&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;The query uses a filter with the field `D_CBD_Static_Station_Type_v6.STATION_TYPE_L1_DES` or `D_CBD_Static_Station_Type_v6.STATION_TYPE_L2_DES` and the value you are looking for does not match any of the possible values of these fields.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;You should use the field `STATION_TYPE_CD` instead. Write the result of the previous reasoning in detail.  REMEMBER TO FIX THE QUERY TO USE THE FIELD `STATION_TYPE_CD` INSTEAD.\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;R5&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Counting entities&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;Count the number of customers, homes, devices or any other entities in the question `{{question}}`.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;You should ensure that you are actually counting distinct entities. Therefore you should use the `COUNT(DISTINCT ...)` function instead of `COUNT(...)`.\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;R6&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Time scope less than a month&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;You are asked to answer a question for a time scope minor than a month (daily or weekly) in the question `{{question}}`.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;you must not use the field `MONTH_DT` in your query.\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;R7&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;No UNION operator&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;You use the UNION operator in your queries.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;Avoid using the UNION operator in your queries.\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;R8&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Counting entities&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;You are asked to count the number of customers, homes, devices or any other entities in the question `{{question}}`.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;You should ensure that the  result is actually a count and not a list of elements. Therefore you should use the COUNT function.\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;R9&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;IoT devices&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;Look for IoT (Internet of Things) devices in the question `{{question}}`.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;You should look for devices with `STATION_TYPE_L2_DES = &amp;#39;Smart Home&amp;#39;`\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;R10&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Router model&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;Check the model of the router in the question `{{question}}`.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;You should use the field `MANUFACT_HGU_CHIPSET_DES` (do not use other fields such as `MANUFACTURER_FW_VER_DES`).\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;R11&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Weekly period&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;Query data from weekly period.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;You should start always with the specified day up to the same day of the following week. For instance, if you are  asked for the week starting on the day 2022-01-01, you should query data from 2022-01-01 to 2022-01-07.\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;R12&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;WiFi type&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;Look for information on a specific WiFi type, such as 2.4 GHz or 5 GHz.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;You should use the specific fields corresponding to these types.  For instance, if you need to look for WiFi5 device information, you should not use the field `STATIONS_REC.WIFI_REC.ALL_TECH_REC` but the field `STATIONS_REC.WIFI_REC.TECH_5G_REC`.\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;R13&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Equivalent terms for WiFi technologies&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;You are looking for information on WiFi technologies.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;The following terms are considered equivalent: \n- `WiFi 5G`, `WiFi Technology 5G`, `WiFi5`.\n- `WiFi 2.4G`, `WiFi Technology 2.4G`, `WiFi2.4` , `WiFi2`, `WiFi Technology 2G`, `WiFi 2G`.\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;R14&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Customer Satisfaction Index&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;The query uses the field `CSI_QT`.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;You should keep in mind that the field `CSI_QT` contains the `Customer Satisfaction Index` value. It is not a quality value but a satisfaction value.  Do not confuse it with Quality Index fields.\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;R15&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Active HGU devices&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;Look for active HGU devices.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;You should keep in mind that the field `CUST_HGU_DEVICES_NUM` contains the number of active HGU devices of the customer, i.e. the number of active routers (HGUs) of the customer.  Do not confuse it with the number of active devices of the customer.\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;R16&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Megabytes&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;The query uses fields starting with `MB_` or containing `_MB_` in their name.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;Keep in mind that fields starting with `MB_` or containing `_MB_` in their name refer to Megabytes. Take this into account during your queries.\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;R17&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Gigabytes&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;The query uses fields starting with `GB_` or containing `_GB_` in their name.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;Keep in mind that fields starting with `GB_` or containing `_GB_` in their name refer to Gigabytes. Take this into account during your queries.\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;R18&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;RSSI meaning&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;The query uses the field `RSSI`.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;Keep in mind that the field `RSSI` refers to the `Received Signal Strength Indicator`. It is a measure of the power present in a received radio signal.\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }},
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;id&amp;#34;: &amp;#34;R19&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;name&amp;#34;: &amp;#34;Checking absence of a device&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;condition&amp;#34;: &amp;#34;You need to look for homes without a specific type of device.\n&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                    &amp;#34;action&amp;#34;: &amp;#34;You should not forget checking at least one of the following fields: `STATION_TYPE_L1_DES`, `STATION_TYPE_L2_DES`, `STATION_TYPE_CD`. In other words, you need an explicit filter checking the absence of the device.\n&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                  }}
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                ]
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              }}
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              ```
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              Explain whether you can apply any of the rules and explain how you would apply them in the SQL query.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              Always write your result following these steps:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              5.1. Question to be answered: &amp;lt;write again the question here&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              5.2. SQL query: &amp;lt;write the SQL query here&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              5.3. Reasoning: &amp;lt;explain why you wrote the query like that&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              5.4. Check of the rules, RULE BY RULE and FOR EACH RULE (one entry per rule). Write ALL the rules and tell if they are applied or not. Follow this format:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              - &amp;lt;rule1&amp;gt;: Should be applied, because &amp;lt;reason&amp;gt; | Should not be applied, because &amp;lt;reason&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                - &amp;lt;rule2&amp;gt;: Should be applied, because &amp;lt;reason&amp;gt; | Should not be applied, because &amp;lt;reason&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                ...
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                5.5. Result of the execution of the rules that have been identified to be applied. Follow this format:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                - &amp;lt;rule1&amp;gt;: &amp;lt;result&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                - &amp;lt;rule2&amp;gt;: &amp;lt;result&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                ...
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                5.6. Need to fix the query because &amp;lt;reason&amp;gt;. The following changes are needed: &amp;lt;change_1&amp;gt;, &amp;lt;change 2&amp;gt;, etc. | The query is already correct.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                5.7. SQL query to answer the question `{question}` after considering the previous **rules**: &amp;lt;write the SQL query here&amp;gt;. FIX THE QUERY IF NECESSARY. Check that the fixed query includes all the rules that should apply.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              ### Step 6: Check that the query actually can answer the question for answering the question `{question}`
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              Check again if the generated query answers the question `{question}`.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              Follow these steps:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              6.1. Write the concepts involved in the question. Enumerate the concepts as a list. Follow this format:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              - &amp;lt;concept1&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              - &amp;lt;concept2&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              ...
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              6.2. Write all the concepts of the question that are covered by the SQL query. Enumerate them and create a match list with the concepts from the previous step. Write down the part of the SQL query covering the concept. Take into account that conditions on specific proper names, such as model names, location names, etc., need to be explicitly checked with the description of the corresponding column. Follow this format:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              - &amp;lt;concept1&amp;gt;: covered in &amp;lt;sql query section&amp;gt; or not covered.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                - &amp;lt;concept2&amp;gt;: covered in &amp;lt;sql query section&amp;gt; or not covered.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              6.3. Find those concepts in the question that are not covered by the SQL query.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              6.4. Conclude whether the question can actually be answered by the generated query. Follow this format:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                - The question can be answered by the SQL query: &amp;lt;Yes|No&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              ### Step 7: Create the result as a JSON object for answering the question `{question}`
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              Return the result as a unique JSON object, with the following structure:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                &amp;#34;result&amp;#34;: &amp;lt;Write the SQL query here. **MAKE SURE THAT THE STATEMENT `SELECT JSON_OBJECT` is not used in the query and Use the full qualified names of the columns. Generate a valid SQL sentence in a single line without new line characters.**&amp;gt;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                &amp;#34;status&amp;#34;: &amp;#34;OK&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                &amp;#34;reason&amp;#34;: &amp;lt;a reasoning explaining the query&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              }}
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              If the former table does not contain the necessary data to answer the question, return the following JSON object:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              {{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                &amp;#34;result&amp;#34;: null,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                &amp;#34;status&amp;#34;: &amp;#34;ERROR&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;                &amp;#34;reason&amp;#34;: &amp;lt;a reasoning explaining why it is not possible to answer the question&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              }}
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              Make sure that the JSON object is correctly formatted, and can be parsed by a JSON parser.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;              **Please, ALWAYS follow the 7 steps presented in the instructions.** Start reasoning with ### Step 1 and finish with ### Step 7.&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;              
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/details&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;br&gt;
&lt;p&gt;&lt;i class=&#34;fa-solid fa-triangle-exclamation fa-xl&#34; style=&#34;color: #f45815;&#34;&gt;&lt;/i&gt; Some considerations to keep in mind:&lt;br&gt;
. Make sure that the LLM &lt;strong&gt;copilot-rag-model-gw-raw-gpt-4-o&lt;/strong&gt; is defined within the LLMs field.      &lt;br&gt;
. In turn, the preset defined within this LLM must be defined in the ConfigMap &lt;strong&gt;atria-model-gw-config&lt;/strong&gt;.
&lt;br&gt;&lt;br&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Save and close the ConfigMap&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;adjust-max_tokens-param&#34;&gt;Adjust max_tokens param&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Open the ConfigMap &lt;strong&gt;atria-rag-config&lt;/strong&gt;   &lt;br&gt;
&lt;code&gt;kubectl edit configmap atria-rag-config -n &amp;lt;namespace&amp;gt;&lt;/code&gt;&lt;br&gt;
(Change &lt;code&gt;&amp;lt;namespace&amp;gt;&lt;/code&gt; by the specific one)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In &lt;code&gt;llms&lt;/code&gt; key, search &lt;strong&gt;copilot-rag-model-gw-raw-gpt-4-o&lt;/strong&gt; and update the &lt;strong&gt;max_tokens&lt;/strong&gt; field:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;max_tokens: 16384
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Save and close the ConfigMap&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;adjust-timeouts-in-aura-gateway-api-and-nginx&#34;&gt;Adjust timeouts in aura-gateway-api and Nginx&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Open the ConfigMap &lt;strong&gt;aura-gateway-api&lt;/strong&gt;   &lt;br&gt;
&lt;code&gt;kubectl edit configmap aura-gateway-api  -n &amp;lt;namespace&amp;gt;&lt;/code&gt;&lt;br&gt;
(Change &lt;code&gt;&amp;lt;namespace&amp;gt;&lt;/code&gt; by the specific one)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In &lt;code&gt;config&lt;/code&gt; key, search and update the &lt;strong&gt;AURA_REQUEST_TIMEOUT&lt;/strong&gt; field:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;AURA_REQUEST_TIMEOUT: 490000
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Save and close the ConfigMap&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Open the ConfigMap &lt;strong&gt;aura-services&lt;/strong&gt;   &lt;br&gt;
&lt;code&gt;kubectl edit vs aura-services  -n &amp;lt;namespace&amp;gt;&lt;/code&gt;&lt;br&gt;
(Change &lt;code&gt;&amp;lt;namespace&amp;gt;&lt;/code&gt; by the specific one)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In &lt;code&gt;aura-gateway-api&lt;/code&gt; key, search and update &lt;strong&gt;read_timeout&lt;/strong&gt;  and &lt;strong&gt;send_timeout&lt;/strong&gt; field:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;read_timeout: 495s
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;send_timeout: 495s
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Save and close the ConfigMap&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;upload-documents-and-execute-generate-db-job&#34;&gt;Upload documents and execute generate-db job&lt;/h2&gt;
&lt;p&gt;Follow the guidelines for uploading new or modified documents in a specific environment through the edition of the ConfigMap of the component (included in the general guidelines &lt;a href=&#34;../../docs/atria/technical-guidelines/configuration/import-documents/#2-import-documents&#34;&gt;Import documents into ATRIA&lt;/a&gt;).&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Upload the documents in the Azure container &lt;code&gt;atria-resources&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;Remember to upload the files to the folder you defined previously in the config &lt;strong&gt;project-copilot-reduced/jsonl&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Keep in mind the allowed formats for documents, set in the project&amp;rsquo;s variable &lt;a href=&#34;../../docs/atria/technical-guidelines/configuration/modify-atria-configuration/#:~:text=extension%3A-,loader,-%3A&#34;&gt;&lt;code&gt;loader&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;ol start=&#34;2&#34;&gt;
&lt;li&gt;Finally, execute the &lt;a href=&#34;../../docs/atria/technical-components/atria-rag-generate-db/#launch-atria-rag-generate-db&#34;&gt;&lt;em&gt;&lt;strong&gt;atria-rag-generate-db&lt;/strong&gt;&lt;/em&gt; job&lt;/a&gt; to update the data into the environment.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;restart-the-deployments&#34;&gt;Restart the deployments&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Restart &lt;em&gt;&lt;strong&gt;atria-rag-server&lt;/strong&gt;&lt;/em&gt; deployment for the pod to be updated with the changes.  &lt;br&gt;
&lt;code&gt;kubectl rollout restart deployment atria-rag -n &amp;lt;namespace&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Restart &lt;em&gt;&lt;strong&gt;atria-model-gateway&lt;/strong&gt;&lt;/em&gt; deployment for the pod to be updated with the changes.  &lt;br&gt;
&lt;code&gt;kubectl rollout restart deployment atria-model-gw -n &amp;lt;namespace&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Restart &lt;em&gt;&lt;strong&gt;aura-gateway-api&lt;/strong&gt;&lt;/em&gt; deployment for the pod to be updated with the changes.  &lt;br&gt;
&lt;code&gt;kubectl rollout restart deployment aura-gateway-api -n &amp;lt;namespace&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;(Change &lt;code&gt;&amp;lt;namespace&amp;gt;&lt;/code&gt; by the specific one)&lt;/p&gt;
&lt;h2 id=&#34;update-aura-applications-configuration-via-api&#34;&gt;Update Aura applications configuration via API&lt;/h2&gt;
&lt;p&gt;Once the changes have been updated and saved in the ConfigMaps, the &lt;em&gt;&lt;strong&gt;aura-configuration-api&lt;/strong&gt;&lt;/em&gt; must be updated to indicate the &lt;strong&gt;application&lt;/strong&gt; that will make use of this preset.&lt;/p&gt;
&lt;p&gt;&lt;i class=&#34;fa-solid fa-triangle-exclamation fa-xl&#34; style=&#34;color: #f45815;&#34;&gt;&lt;/i&gt; This document includes a specific scenario in the process of modifying API configuration, described in the document &lt;a href=&#34;../../docs/atria/technical-guidelines/hot-swapping-application/#hot-swapping-of-aura-applications-configuration&#34;&gt;&lt;strong&gt;Hot swapping of Aura applications configuration&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    curl --location --request PATCH &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;https://svc-&amp;lt;env&amp;gt;.auracognitive.com/aura-services/v2/configuration/applications/3e1cb831-d5bf-423d-8bef-4abcc53dfa97&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&lt;/span&gt;    --header &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;correlator: &amp;lt;uuid&amp;gt;&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&lt;/span&gt;    --header &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;Content-Type: application/json&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&lt;/span&gt;    --header &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;Accept: application/json&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&lt;/span&gt;    --header &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;Authorization: APIKEY {{apikey}}&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&lt;/span&gt;    --data &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;{
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;        &amp;#34;id&amp;#34;: &amp;#34;3e1cb831-d5bf-423d-8bef-4abcc53dfa97&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;        &amp;#34;models&amp;#34;: {
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;            &amp;#34;presets&amp;#34;: [
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;                &amp;#34;copilot-preset-rag&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;                &amp;#34;copilot-reduced-preset-rag&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;                &amp;#34;raw-gpt-4o&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;                &amp;#34;openai-preset-gpt-35-turbo-copilot-generative&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;                &amp;#34;openai-preset-gpt-4o-copilot-generative&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;                &amp;#34;openai-preset-gpt-4o-mini-copilot-generative&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;            ]
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;        }
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;    }&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;i class=&#34;fa-solid fa-triangle-exclamation fa-xl&#34; style=&#34;color: #f45815;&#34;&gt;&lt;/i&gt; It is necessary to send all application presets in the request.&lt;/p&gt;
&lt;h2 id=&#34;load-original-config-and-deployments-rollback&#34;&gt;Load original config and deployments rollback&lt;/h2&gt;
&lt;p&gt;In case you want to return to the original configuration, the following steps must be carried out:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Load the original ConfigMap &lt;strong&gt;atria-model-gw-config&lt;/strong&gt;. &lt;br&gt;
&lt;code&gt;kubectl apply -f &amp;lt;local_file_path&amp;gt;/model-gw-config.yaml -n &amp;lt;namespace&amp;gt; &lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Load the original ConfigMap &lt;strong&gt;atria-rag-config&lt;/strong&gt;. &lt;br&gt;
&lt;code&gt;kubectl apply -f &amp;lt;local_file_path&amp;gt;/rag-config.yaml -n &amp;lt;namespace&amp;gt; &lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Load the original ConfigMap &lt;strong&gt;aura-gateway-api&lt;/strong&gt;.&lt;br&gt;
&lt;code&gt;kubectl apply -f &amp;lt;local_file_path&amp;gt;/gateway-config.yaml -n &amp;lt;namespace&amp;gt; &lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Load the original ConfigMap &lt;strong&gt;aura-services&lt;/strong&gt;.&lt;br&gt;
&lt;code&gt;kubectl apply -f &amp;lt;local_file_path&amp;gt;/services-config.yaml -n &amp;lt;namespace&amp;gt; &lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;(Change &lt;code&gt;&amp;lt;namespace&amp;gt;&lt;/code&gt; by the specific one; change &lt;code&gt;local_file_path&lt;/code&gt; by the desired path)&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Restart &lt;em&gt;&lt;strong&gt;atria-model-gateway&lt;/strong&gt;&lt;/em&gt; deployment for the pod to be updated with the changes.  &lt;br&gt;
&lt;code&gt;kubectl rollout restart deployment atria-model-gw -n &amp;lt;namespace&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Restart &lt;em&gt;&lt;strong&gt;atria-rag-server&lt;/strong&gt;&lt;/em&gt; deployment for the pod to be updated with the changes.  &lt;br&gt;
&lt;code&gt;kubectl rollout restart deployment atria-rag -n &amp;lt;namespace&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Restart &lt;em&gt;&lt;strong&gt;aura-gateway-api&lt;/strong&gt;&lt;/em&gt; deployment for the pod to be updated with the changes.  &lt;br&gt;
&lt;code&gt;kubectl rollout restart deployment aura-gateway-api -n &amp;lt;namespace&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;(Change &lt;code&gt;&amp;lt;namespace&amp;gt;&lt;/code&gt; by the specific one)&lt;/p&gt;

      </description>
    </item>
    
  </channel>
</rss>
