Buy real YouTube subscribers. Best price and warranty.
Get Free YouTube Subscribers, Views and Likes

How To Do AI Prompt Templating

Follow
ArjanCodes

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_...

Join the FREE Code Diagnosis Workshop to help you review code more effectively using my 3Factor Diagnosis Framework: https://www.arjancodes.com/diagnosis.

ArjanCodes Blog: https://www.arjancodes.com/blog

Try Learntail for FREE ➡ https://www.learntail.com/

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/nextlevel...
The 30Day 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!

posted by shiny399046