From e146d9ef60bcf373bb71c69789fbc9762f1ee5b3 Mon Sep 17 00:00:00 2001 From: Aurelien Franky Date: Sat, 3 Feb 2024 19:17:16 +0100 Subject: [PATCH] add blog post about instructions --- .../blog/blog/2024-02-03-ai-presets/index.md | 22 ++++++++++++++++++ websites/blog/static/img/favicon.ico | Bin 15406 -> 15406 bytes websites/blog/static/img/logo.svg | 9 +++---- 3 files changed, 25 insertions(+), 6 deletions(-) create mode 100644 websites/blog/blog/2024-02-03-ai-presets/index.md diff --git a/websites/blog/blog/2024-02-03-ai-presets/index.md b/websites/blog/blog/2024-02-03-ai-presets/index.md new file mode 100644 index 0000000..a0bdd31 --- /dev/null +++ b/websites/blog/blog/2024-02-03-ai-presets/index.md @@ -0,0 +1,22 @@ +--- +slug: instructions +title: Instructions vs Prompts +authors: [aure] +tags: [Prompt Studio, instructions, prompts, product update] +--- + +# Instructions vs Prompts + +One thing you will notice quickly when working with prompts is that regardless how well you craft them, they by themselves are no guarantee for consistent results. The language model you use as well as the parameters you give it, all affect the end result. A prompt that works well with GPT-4 might generate very different content on another LLM like Mistral, and even the same LLM might produce different results after an update. LLM providers are constantly improving their models but while a model might give better results on general tasks after the update, there is no guarantee that it will still perform well with your prompt. + +## AI Presets + +Another thing you will notice is that each LLM has different parameters. Parameters that can drastically change the tone, accuracy and quality of the results. Even when LLMs have parameters with the same name, their effects on the result will vary. One common parameter, “temperature” has a wide variety of ranges across models and sometimes different meanings. The same setting will generate great results with one LLM and incoherent blabber in another. + +All this of course makes it tricky to know what settings to pick for what model to achieve a specific goal. To help you manage these settings centrally within your organization, you can now group LLMs and their parameters in what we call “AI Presets”. These AI Presets can be reused across your projects. We provide several AI Presets out of the box: “Accurate”, “Creative”, “Casual”, … but you will be able to expand this list with your own creations, including connecting your own fine tuned models. + +## What are instructions? + +Another concept we added to the latest version of Prompt Studio are instructions, instructions are a combination of a Prompt, and an AI Preset. This distinction helps you keep the relevant pieces you need to generate content together. This is especially useful for versioning purposes and when monitoring the quality of results you get. + +Next week we will talk more about how you can combine instructions into chains in the new version of Prompt Studio. diff --git a/websites/blog/static/img/favicon.ico b/websites/blog/static/img/favicon.ico index 58b4d4a3276f4ad37534c7851504b0b53868dec2..fda6bc36776c7bab1e4735b9acf8c4f6a34cb2b3 100644 GIT binary patch literal 15406 zcmeI2Ym8OZ6@bqG%A-~Rr96}}0`jOBK+tMp0qw-s5BmeC)tX=I`wr*Gow?`Ey?5r$VMtiX zm$mmk`?2;u`?1cxHwemt_CeRK0lGZ6w?hzI9Rxvn`N{Z@Zb7h=v=Jks=YxXa%^pE8 zggg|X#L0A2PC0SnL`S#-*4Ee8*Frtv1`?$mAaMkoV!Hw6YJo~9q4tCWp8q+Q>jszHR#$?sYQnlB((i0X?0*9k2h6gwuTLstT1MWZM5n;Dr2QRs6TS~FCtQQh63Zgt`#Tw|-$|wl!rI)2 z@L*U4_9aU!3!lv&!rJW|cO9$*ZOB#Dyldf`z#0jw8ZfyJxQGN zhhPV+fazqiPU|j9vW4_^Jii3(+yXj^Fov z#I>z8+l~#@hF##ha6Sx!H^BFtiqNj_;&mFk93CX>Tr1i8&esXsLf$9e1L#-4d7i4+ zCaj>*YDjJDGdk%SbAKpyZ^@{lMZs{7qK2aOmKL>`QJ8)^-}0_E^C8E;^FyCwFZ>TY zr}CE1XtFs$>(`gs3{MlD3X@?b@t44L>{@D#wc~r)LtD?nmkIYkca0(57j6gl^@7f5 z$`&Nlr|c*55*PrTi0dznf-#`~asg@XU)RG1DCHV*ZM;RD!=WRLB>o&!f&26(aPRm6 z`U03j*fXvq?}2LU`&{ToxDWbQ=nv81S|RLw+(G;vI1fC}N;U@6?cO*Z&IiZ08XC-X z^5~PVhTc582)z^z5^k|jkN#x^oKM&}=9$?*NIMR$3+G{XSV#ta)D{bM+5d@P|Hl${ ztQ+^gj`WqJ_d>fieu*yCIr0&8&4cby{mwo29s8`f=C{LL@Hz4fLcasY2p22ioN83a zwd5Qh4V~aipnv3e?}T;4C!;S!J4f$_Jy7uckMi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(jgicA5M7`e=4`c0JEIGeD%D z#f~N}qvbny?xd3^PwM*7D*YU1W@aXR|NdR*0;~07jO_34H>^J?DT(ghy-QD?JfV@1 z5tkTwu)e;YLPA0u+OE2~+K~RBpdi9{Vrrt0($_2RY#O?c17+zP`G;>Hy75{TTZY!}j*r-v(VnR}3v zdV6~<%|8x?8GLXz{xSZTk^eDvyW{^|yLQo=H*XADDSoZJz1^_>%a<=Zyqlk&Pp@CU zmi+)f$`WChRn8Y+f?;oJ|&`0pFUAsT%1bA z9=|8|`}Xal#l=ODdbxaTY>eXL<4wnqkdQ#wzc50;h+JP$Q6c9G${LvKX7T*LChU{2En4YM#ya~Xrg?<^Wev=Ant5GVSfJ$OWZ^jF z=jTURSy}SllX6XJCJuM&(!}^pev~5Bl*G^eza#~WF#FqazyqC{9*>=u^u0_r(9eUsqRW=&Wk1;z#UaZ^Q^Y8;dr>|CqBjH8m0Drl(Gwa>`|8WpwM- zEn#2UX#5ycnwy&m=UU2`6+I&t-@A8DGafe@KjH;@Fe0p?a_qloji;M|zr4KMW&9Wm zefZVcPHX&fmOl|cKL7vnqc8r|>vv!LsMpKB{PU~N*x$L6f6kpd=W_nPbm@{;kc!pqYkU^U%PhAlyiGMJFz#DmX@ZA#VSlj>$TZz)YjH!*!SEZjPLkn z65pJNV#z25ciw|e diff --git a/websites/blog/static/img/logo.svg b/websites/blog/static/img/logo.svg index f1815e7..ae7ca8f 100644 --- a/websites/blog/static/img/logo.svg +++ b/websites/blog/static/img/logo.svg @@ -1,8 +1,5 @@ - + \ No newline at end of file