Name in original language
OptiCrea Elements - Aplicativo para la creación y denominación elementos de políticas y planes
Initiative overview
OptiCrea Elements is a web application developed in R Shiny that integrates artificial intelligence (via the DeepSeek API) to assist planning specialists. Its primary purpose is to create and improve the naming of indicators and strategic elements, ensuring they align with Peru’s Chain of Results and current regulations.
Strategic planning in Peru requires indicator names to meet strict criteria:
a. Specific Structures: Defined by the type of element (Objective or Action).
b. Methodological Alignment: Adherence to the CEPLAN 2024 Guide, SMART criteria and results-based management.
c. The Problem: Manual drafting is time-intensive, highly dependent on individual experience, difficult to standardise and prone to structural errors.
d. Core Functionalities:
- Multi-Instrument Support: Covers all planning levels, including Sectoral, Regional, Local and Institutional plans.
- Dual Operating Modes:
- IMPROVE: Optimises existing names while maintaining required legal structures.
- CREATE: Generates new names from scratch based on user-provided context (problem, population, territory).
- Complex Hierarchical Handling: Manages associations between Objectives → Actions → Indicators, ensuring consistency across different levels of the planning tree.
- Specialised AI Prompts: Features specific prompt engineering for eight distinct scenarios (improving/creating for objectives, actions and their respective indicators).
- Dynamic Interface: Built for high usability with dynamic inputs, the ability to add/remove groups of elements and structured visualisation of results.
- DeepSeek API Integration: Uses asynchronous calls with low "temperature" settings to ensure consistent, non-creative and technically rigorous responses.
- Efficient Exporting: Results can be copied to the clipboard or downloaded in structured TXT formats for integration into other systems.
- Technological Stack:
- Frontend/Backend: R Shiny & shinydashboard.
- Artificial Intelligence: DeepSeek API (deepseek-chat).
- Data Processing: jsonlite, httr, glue.
- Interactivity: shinyjs.


























