Fundamentos de los LLMs
El poder del contexto en el Prompt
Vectores, Embeddings y Espacios N-Dimensionales
Tokenizaci贸n
El Mecanismo de Atenci贸n y Razonamiento en Modelos de IA
El Playground de OpenAI
Tipos de Prompts y sus Aplicaciones
Zero-Shot Prompting y Self-Consistency
T茅cnicas para refinar un prompt Zero Shot
Few-Shot Prompting
Chain of Thought y Prompt Chaining
Meta-Prompting
T茅cnicas Avanzadas de Prompt Engineering
Iteraci贸n de Prompts
Least to most prompting
Prompt Chaining
Uso de Restricciones y Formatos de Respuesta
Optimizaci贸n y Aplicaciones del Prompt Engineering
Generaci贸n de Im谩genes con GPT4o y Generaci贸n de Audio
Ajustando la Temperatura y el Top P
You don't have access to this class
Keep learning! Join and start boosting your career
Prompt for the class:
Act as Social Media Manager. Your goal is to create tweet proposals that generate lots of impressions, likes and retweets. <instructions> Step 1: Reviewinformation about the <topic> and <audience>, considering documents if provided. Step 2: Define three clear objectives for the tweet, based on theinformation reviewed.
Step 3: Develop short, clear drafts with the tone of the <brand-of-company> based on step 2. Show only these drafts for the user to choose one. Step 4: Once the chosen draft is received, correct spelling andwording, and generate the final tweet, respecting the <rules> and the 250-character limit. Show the final tweet to the user. </instructions> <rules> - Short, direct and easy to understand text - Use of relevant emojis - Include a call toaction to reply or share.
- Tone in keeping with the <company-brand> identity - DO NOT DESCRIBE YOUR STEPS, ONLY THE RESULTS OF THE FINAL DRAFT AND TWEET </rules> <company-brand> Beta Insurance helps people protect their assets and loved ones. Its tone is relatable and trustworthy, and focuses on current trends for professionals interested in insurance. </company-brand></audience> Professionals between the ages of 25 and 55 in Latin America. </audience>
Using prompts intelligently in GPT allows you to generate more relevant and accurate content, especially useful in areas such as social media and digital marketing. Understanding how to adjust settings such as temperature, maximum tokens and penalties for frequency and presence will help you get more fine-tuned responses according to your needs.
The maxTokens determines how many maximum tokens the response generated by the model can include. If you set a short limit, it will simply truncate the response, not necessarily make it more concise. Increasing its value above the default of 2048 to a maximum of 16000 will allow longer responses when needed, although it will not generate additional content by default if the response is short.
The temperature controls how creative the model response is. By specifying a value close to 1, you allow the model to improvise, offering varied and original responses. Value close to 0 requires predictable and conservative responses:
The top P setting also influences creativity, limited by how many word alternatives the model considers when generating a response. Unlike temperature which measures improvisation, top P limits the available list of words:
It is recommended to modify only one creativity parameter at a time: temperature or top P not both simultaneously.
These parameters penalize repetition to encourage variety and originality:
These settings can give more variation and personality to the generated content, particularly in contexts such as digital marketing and social media content creation.
Finally, when you reach an ideal configuration that meets your need, you can save it to your prompts library. You have the option to keep the configuration for your personal use only or share it with colleagues via a link, facilitating its reuse and increasing collaborative efficiency within a team.
What are the settings you have used and which have been most useful to you? Share your experience adjusting prompts to improve the content you generate.
Contributions 10
Questions 1
Want to see more contributions, questions and answers from the community?