Tareas de LaTeX
Este flujo nos permite obtener el código LaTex con la asignación de elementos por el usuario
graph TD
%%{init: {'theme': 'mc','layout': 'elk'}}%%
ChatInput-5prdh[<div><img src="/_astro/messages-square.BaSDmT6g.svg" style="height: 20px !important;width: 20px !important"/></div>Elementos a LaTex]
style ChatInput-5prdh stroke:#a170ff
Prompt-yvmly[<div><img src="/_astro/square-terminal.BMOXc-nZ.svg" style="height: 20px !important;width: 20px !important"/></div>Instrucciones]
style Prompt-yvmly stroke:#a170ff
ChatOutput-xcex0[<div><img src="/_astro/messages-square.BaSDmT6g.svg" style="height: 20px !important;width: 20px !important"/></div>Chat Output]
style ChatOutput-xcex0 stroke:#a170ff
GroqModel-wyv59[<div><img src="/_astro/Groq.CT__qXjF.svg" style="height: 20px !important;width: 20px !important"/></div>Groq]
style GroqModel-wyv59 stroke:#a170ff
ChatInput-5prdh -.- Prompt-yvmly
linkStyle 0 stroke:#a170ff
Prompt-yvmly -.- GroqModel-wyv59
linkStyle 1 stroke:#a170ff
GroqModel-wyv59 -.- ChatOutput-xcex0
linkStyle 2 stroke:#a170ff
Tareas de LaTeX
🧩 Overview
This workflow automates the generation of LaTeX code for creating task lists. It takes a user's list of activities as input and uses a language model to produce the corresponding, ready-to-use LaTeX source code. This process simplifies document preparation for academic or professional settings by eliminating the need for manual LaTeX formatting.
⚙️ Main Features
- Accepts a plain-text list of tasks or activities from the user.
- Dynamically constructs a specialized prompt for a LaTeX expert AI model.
- Generates clean and correct LaTeX code for a task list based on the user's input.
- Presents the final LaTeX code in a clear, chat-based output interface.
🔄 Workflow Steps
| Component Name | Role in the Workflow | Key Inputs | Key Outputs |
|---|---|---|---|
| Chat Input | Captures the user's initial list of tasks or activities. | User-provided task list | Formatted message containing the task list |
| Prompt | Constructs the final instruction for the AI model by inserting the user's task list into a predefined LaTeX-focused template. | Task list from the Chat Input | A complete, structured prompt for the language model |
| Groq Model | Processes the constructed prompt to generate the corresponding LaTeX source code. | Prompt from the Prompt component | Generated LaTeX code as a text message |
| Chat Output | Displays the final AI-generated LaTeX code to the user. | LaTeX code from the Groq Model | Formatted message showing the LaTeX output |
🧠 Notes
- The workflow is designed for generating LaTeX code specifically for task or to-do lists.
- The quality and accuracy of the output depend on the capabilities of the configured Groq language model.
- The prompt template instructs the model to act as a LaTeX expert and provide only the code, ensuring a focused output.
- Users must provide a valid Groq API credential for the model component to function.