Welcome to GenAIScript
Press space to navigate.
Press left arrow to go back.
Press right arrow to go forward.
For content please see up menu ▲
Online at https://ignatandrei.github.io/Presentations/GenAIScriptprez.html
For download https://ignatandrei.github.io/Presentations/GenAIScript.zip

						System.Console.WriteLine("Ignat Andrei");
						System.Console.WriteLine("GenAIScript");							
						  

ignat Andrei Ignat http://msprogrammer.serviciipeweb.ro/

YouTube 5 minutes .NET and tools : http://bit.ly/5MinTools

Book Making Open Source Component : http://bit.ly/NetOpenSourceComponent

Book Copy Paste from StackOverflow : https://amzn.to/2PQ8EDc

Roslyn Source Code Generators with examples : https://ignatandrei.github.io/RSCG_Examples/

Monthly meetings: https://www.meetup.com/Bucharest-A-D-C-E-S-Meetup/

For notes press S
For print ?print-pdf
For all slides press ESC
Run AI on local : ollama
ollama ls
ollama pull
ollama run smallthinker
Write a short poem in code
ollama ps
Run AI on cloud : Azure OpenAI
Deployment

						npm init
						npm install -D genaiscript
						npx genaiscript serve
							  

https://microsoft.github.io/genaiscript/reference/cli/

					npx genaiscript scripts create poem
					script({
						model: "ollama:llama3.2",
					})
					
npx genaiscript run poem
Powershell to automate running via multiple AI
See blog.txt - the original blog post
blogpost.genai.mjs - instructions for AI
run one by one blog.ps1 - iterating via AI
blogAI.txt - the result:

	npx genaiscript run blogpost blog.txt  --model "ollama:deepseek-r1"
	./blog.ps1

						./befCommit.ps1
						npx genaiscript run befCommit     --model "ollama:phi3.5"
					
See Blog Post

Questions ?

Thank you for your time