PromptPalette Preloader Image

Home Welcome

Tengo una web hecha en laravel, con bootstrap, adminlte y datatables.

Tareas Pendientes

    • Por realizar
    • Tener en cuenta las respuestas de la api de groc y parar el batch job hasta que se vuelva a poder ejecutar.
    • Tener un supervisor de colas o un worker para que funcionen los jobs solos
    • Mejorar el tiempo de espera, reintentos y esas cosas en llm api de groq. Y probar con una ejecución completa y con una con muchos datos.
    • Hacer que 1o se generen todas las llm_responses. Luego se podrá ejecutar ExecutePromptsJob.php generando todas las consultas a la api con jobs individuales. Y por último ejecutar las consultas una tras otra y si falla esperar 60 segundos.
    • Revisar la respuesta de una consulta api. Obtener los tokens y guardarlos para controlar las consultas api. Tener un controlador de las consultas api por usuario/api key. Con ajustes de tokens y consultas por minuto, hora, dia...
    • Modificar el job para que solo se haga 1 job por generación o se limite a menos jobs (para no tener 1 por cada llm api call). Y realizarlos con wait o esperando.
  • Extras
    • Permitir crear elementos con JSON y permitir subir la configuración en el JSON además de distintos tipos de elementos eligiendo para cada uno la categoría o el elemento padre dentro de 1 mismo JSON.
    • Implementar sistema de tags.
    • Mantener las últimas opciones usadas, por ejemplo en caché, a la hora de crear elementos. (load preset, erase preset, save preset)
    • Cargar las tablas de datos desde el servidor si tardan demasiado.
    • Permitir a la hora de ejecutar prompts, elegir que modelo usar según tu llm service.
    • Elegir cuantas generaciones hacer.
    • Permitir eliminar generaciones antiguas con más facilidad, por ejemplo eligiendo fecha de la generación.
    • La generación de imágenes realizarla con opciones en vez de solo un botón desde templates.
    • A la hora de generar templates, mostrar que categorías o datos se pueden usar de forma dinámica.
    • ·Realizar limpieza de caracteres como \r de los campos elements o categories.
    • ·Impedir repetir el nombre de una categoría para un mismo usuario.
    • ·Indicar que solo se pueden usar en un template campos con una variable que sea el nombre de la categoría, por ejemplo style y campos con nombre de categoría padre punto y nombre de categoría category.element
    • Buscar buenas prompts usando un template con pocos elementos y ir probando.
    • Añadir al menú de templates la opción de eliminar todos los prompts generados para un template.
    • Añadir al menú prompts, la opción de generar llm responses para un prompt concreto en vez de tener que hacer la generación todos los prompts mediante templates.
    • Crea un menú de notificaciones para cuando se ejecutan tareas como jobs que tardan mucho.
    • Crear un menú general desde el que poder ver una estructura de todos los elementos.
    • Hacer también que funcione ->finally(function ($batch) en ExecutePromptsJob.php
    • Mejorar logs de jobs y notificaciones.

Project Summary and Roadmap

Project Summary

The project aims to create a web-based platform that leverages Large Language Models (LLMs) to generate multiple texts based on user-defined templates. Users can create, manage, and visualize various categories and elements, formulate template sentences, and generate permutations of these templates to produce a wide range of text outputs. Additionally, the platform supports the generation of images related to the text outputs, providing a comprehensive tool for creative content generation and management. Core functionalities include user authentication and management, category and element management, template creation and management, prompt generation and LLM integration, image generation and management, visualization and filtering, job scheduling and notification, additional content generation, and robust database management.

Enhanced functionalities will include advanced search and filtering, analytics and reporting, customizable LLM parameters, content export and import, collaboration and sharing, role-based access control, version control, integration with external tools, content moderation, customizable user interface, user feedback and ratings, AI-powered suggestions, performance optimization, scheduled content generation, and multi-language support. The design and user experience (UX/UI) will focus on creating an intuitive and responsive user interface with a clear navigation structure, ensuring a comprehensive and user-friendly platform for generating, managing, and visualizing creative content using LLMs and image generation APIs.

Roadmap with Intermediate Versions

Version 1.0.0 (Initial Release)

Core Functionalities:

  1. User Authentication and Management:
    • 1.0.1: User registration and login with email verification.
    • 1.0.2: User profile management (update profile information, change password).
    • 1.0.3: Secure password recovery options.
  2. Category and Element Management:
    • 1.0.4: CRUD operations for categories.
    • 1.0.5: CRUD operations for elements.
    • 1.0.6: Add bulk delete or edit.
    • 1.0.6.1: Add alert before deleting items.
    • 1.0.6.2: Allow to sort and filter tables.
  3. Template Creation and Management:
    • 1.0.7: CRUD operations for templates.
    • 1.0.8: Automatic generation of permutations of elements within categories.
    • 1.0.9: Validation for template placeholders.
  4. Prompt Generation and LLM Integration:
    • 1.0.10: Automatic generation of prompts based on templates.
    • 1.0.11: Integration with LLM API for generating responses.
    • 1.0.10: Allow to generate multiple llm responses for the same prompt.
    • 1.0.12: Storage of prompts and LLM responses in the database.
  5. Image Generation and Management:
    • 1.0.13: Script to generate images for LLM responses.
    • 1.0.14: CRUD operations for images (mark as favorite, delete).
    • 1.0.15: Storage of images and metadata in the database.
  6. Visualization and Filtering:
    • 1.0.16: Hierarchical visualization of categories, elements, prompts, LLM responses, and images.
    • 1.0.17: Basic filtering options for categories, elements, favorite texts, and images.
  7. Job Scheduling and Notification: [*]
    • 1.0.18: Use Laravel jobs for handling multiple LLM responses or images.
    • 1.0.19: Basic notification system for job completion.
  8. Additional Content Generation:
    • 1.0.20: Regenerate texts or images using existing prompts or LLM responses.
  9. Web cleanup:
    • 1.0.21: Realizar todas las vistas en inglés.

Version 1.1.0

Enhanced Functionalities:

  1. Advanced Search and Filtering:
    • 1.1.1: Full-text search capabilities.
    • 1.1.2: Advanced filtering options (e.g., date range, specific LLM model used).
  2. Analytics and Reporting:
    • 1.1.3: Track and display usage statistics (e.g., number of prompts generated, most used categories).
    • 1.1.4: Generate reports on content generation activities and performance.
  3. Customizable LLM Parameters:
    • 1.1.5: Allow users to customize parameters (e.g., temperature, max tokens) for LLM API calls.
    • 1.1.6: Provide predefined configurations for common use cases.
  4. Content Export and Import:
    • 1.1.7: Allow users to export generated texts, images, and templates in various formats (e.g., CSV, JSON, PDF).
    • 1.1.8: Enable users to import categories, elements, and templates from external sources.

Version 1.2.0

Collaboration and Sharing:

  1. Collaborative Templates:
    • 1.2.1: Allow users to share templates with other users or groups.
    • 1.2.2: Shared categories and elements.
  2. Role-Based Access Control (RBAC):
    • 1.2.3: Implement roles (e.g., admin, editor, viewer) to manage permissions for different users.
  3. Version Control:
    • 1.2.4: Keep track of changes to templates, categories, and elements with version history.
    • 1.2.5: Rollback functionality.

Version 1.3.0

Advanced Features:

  1. Integration with External Tools:
    • 1.3.1: Integrate with other APIs (e.g., translation, sentiment analysis) to enhance content generation.
    • 1.3.2: Allow integration with third-party plugins or tools for additional functionalities.
  2. Content Moderation:
    • 1.3.3: Implement tools to review and moderate generated content for inappropriate or harmful content.
    • 1.3.4: Allow users to report inappropriate content for review.
  3. Customizable User Interface:
    • 1.3.5: Allow users to customize the appearance of the interface (e.g., color schemes, fonts).
    • 1.3.6: Enable users to customize the layout of the dashboard and other pages.

Version 1.4.0

User Feedback and Ratings:

  1. Content Ratings:
    • 1.4.1: Allow users to rate generated content (e.g., texts, images) and provide feedback.
    • 1.4.2: Collect and display user feedback to improve the platform.
  2. AI-Powered Suggestions:
    • 1.4.3: Use AI to suggest new elements or categories based on user activity.
    • 1.4.4: Provide AI-generated template suggestions for users.

Version 1.5.0

Performance Optimization:

  1. Caching Mechanisms:
    • 1.5.1: Implement caching to improve performance and reduce API calls.
    • 1.5.2: Load balancing techniques to handle high traffic and ensure scalability.
  2. Scheduled Content Generation:
    • 1.5.3: Allow users to schedule the generation of content at specific times or intervals.
    • 1.5.4: Enable recurring content generation tasks (e.g., daily, weekly).
  3. Multi-Language Support:
    • 1.5.5: Allow users to select their preferred language for the interface.
    • 1.5.6: Enable the generation of content in multiple languages.