How To Do AI Prompt Templating
ArjanCodes ArjanCodes
250K subscribers
11,751 views
434

 Published On May 7, 2024

šŸ‘· Review code better and faster with my 3-Factor Framework: https://arjan.codes/diagnosis.

In this video, I'll show you how to use Jinja2 for AI prompt templates. While Jinja2 is commonly used for generating HTML pages, it's also incredibly effective for tools designed to interact with Large Language Models (LLMs).

šŸ”„ GitHub Repository: https://git.arjan.codes/2024/tuesday_...

šŸŽ“ Courses:
The Software Designer Mindset: https://www.arjancodes.com/mindset
The Software Architect Mindset: https://www.arjancodes.com/architect
Next Level Python: Become a Python Expert: https://www.arjancodes.com/next-level...
The 30-Day Design Challenge: https://www.arjancodes.com/30ddc

šŸ›’ GEAR & RECOMMENDED BOOKS: https://kit.co/arjancodes.

šŸ‘ If you enjoyed this content, give this video a like. If you want to watch more of my upcoming videos, consider subscribing to my channel!

Social channels:
šŸ’¬ Discord: https://discord.arjan.codes
šŸ¦Twitter: Ā Ā /Ā arjancodesĀ Ā 
šŸŒLinkedIn: Ā Ā /Ā arjancodesĀ Ā 
šŸ•µFacebook: Ā Ā /Ā arjancodesĀ Ā 
šŸ“±Instagram: Ā Ā /Ā arjancodesĀ Ā 
ā™Ŗ Tiktok: Ā Ā /Ā arjancodesĀ Ā 

šŸ‘€ Code reviewers:
Yoriz
Ryan Laursen
Dale Hagglund
Kit Hygh
Alexander Milden
Bean

šŸŽ„ Video edited by Mark Bacskai: Ā Ā /Ā bacskaimarkĀ Ā 

šŸ”– Chapters:
0:00 Intro
1:12 OpenAI helper function
2:57 Jinja2 template
4:31 Main file
6:36 Outro

#arjancodes #softwaredesign #python

DISCLAIMER - The links in this description might be affiliate links. If you purchase a product or service through one of those links, I may receive a small commission. There is no additional charge to you. Thanks for supporting my channel so I can continue to provide you with free content each week!

show more

Share/Embed