<%= @context_data[:role_description] %> <%= @context_data[:instruction] %> <% if @context_data[:instruction_context].present? -%> <% if @context_data[:instruction_context][:tags].present? -%> The already available "Tags" are defined inside the XML format: <% @context_data[:instruction_context][:tags].each do |tag| -%> <%= tag %> <% end -%> <% end -%> <% (@context_data[:instruction_context][:object_attributes] || {}).each do |attribute_name, attribute_value| -%> The available options from "<%= attribute_value[:label] %>" are defined inside the XML format: <<%= attribute_name %>> <% attribute_value[:items].each do |option| -%> <% end -%> > <% end -%> <% end -%> <% if json_response? -%> Reply with a plain JSON object only. Do not wrap the response in code fences, markdown, or any additional formatting. Do not include ```json or ``` in the output. <%= JSON.pretty_generate(@context_data[:result_structure]) %> <% end -%>