AIK. - Use Anthropic Claude AI

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > AI - Artificial Intelligence Commands > AIK. - Claude from Anthropic >

AIK. - Use Anthropic Claude AI

AIK.Set System Prompt

Previous Top Next


MiniRobotLanguage (MRL)

 

AIK.Set System Prompt

Set a Global Context for your Chat with the AI.

 

clip1029

 

 

Intention

 

The AIK.Set System Prompt command is designed to define the initial context for Claude AI, the underlying large language model powered by Anthropic.

By setting a system prompt, you can provide Claude with the necessary background to generate responses that are consistent with the desired tone, personality, formatting and/or content guidelines.

A system prompt serves as a foundational context setter for the language model.

It guides Claude's responses to align with specific roles, adhere to defined instructions, and observe any imposed creativity constraints. This preparatory step is crucial for fine-tuning the interaction and ensuring that the generated output meets specific user requirements.

 

A system prompt functions as a prelude to the dialogue, offering Claude explicit directives and context to help tailor its subsequent responses. It sets expectations and defines the parameters within which Claude operates.

 
System prompts are instrumental in optimizing Claude's performance. Key advantages include:

Consistency in Role-Playing: System prompts enable Claude to consistently adhere to the assigned character or role.

Adherence to Guidelines: They ensure that Claude follows the specific rules and instructions provided, maintaining the boundaries set for the conversation.

Contextual Accuracy: System prompts improve the model's understanding of context, leading to responses that accurately reflect the given situation.

Customized Formatting: They allow users to define the desired structure and format of Claude's output.

 

While system prompts enhance the model's reliability, they are not foolproof barriers against all potential issues, such as jailbreaks or content leaks. However, they are a valuable tool in directing the AI towards more controlled and predictable behavior.

 

AIK.Set Key|Any

$$MOD=claude-3-5-sonnet-20240620

$$ASB= Compare the two pctures and report the differences.

 

AIK.Set Mes Model|$$MOD

$$LDA=0.21

AIK.Set Temperature|$$LDA

 

$$PRO=s:You are a Picture Detective finding the smallest difference between pictures using all technical tricks to do so.

AIK.Set System Prompt|$$PRO

' Using Auto-Increment Variable (RIV. / #aiv#) we can easily add more Parts inbetween

RIV.0

$$PIC=u:"%Image=?path\SampleA.png" 

ARR.Set Array|1|#aiv#|$$PIC

 

$$PRO=a:Let this be Picture 1.

ARR.Set Array|1|#aiv#|$$PRO

 

$$PIC=u:"%Image=?path\SampleC.png"

ARR.Set Array|1|#aiv#|$$PIC

 

$$PRO=a:Let this be Picture 2.

ARR.Set Array|1|#aiv#|$$PRO

 

$$PRO=u:Was ist unterschiedlich zwischen den Bildern?

ARR.Set Array|1|#aiv#|$$PRO

 

AIK.Ask Chat|1|$$RES|0

'AIC.Show Error|$$RES

DBP.Temp=$$LDA

DBP.Result=$$RES

ENR.

'-------------------------------------

[19:57:43] Result=

Nach sorgfältigem Vergleich der beiden Bilder habe ich drei kleine Unterschiede gefunden:

1. In Bild 2 gibt es einen gelben Punkt oder Fleck in der oberen rechten Ecke des Fensters, der in Bild 1 nicht vorhanden ist.

2. In Zeile 7 des Codes wurde in Bild 2 ein Teil des Textes nach '#EXE:' mit Gelb markiert. In Bild 1 ist dieser Teil nicht hervorgehoben.

3. In Zeile 19 des Codes wurde in Bild 2 das letzte 'S' von '$RES' gelb markiert. In Bild 1 ist dieses 'S' nicht hervorgehoben.

Diese subtilen Unterschiede beziehen sich hauptsächlich auf kleine Farbänderungen oder Hervorhebungen im zweiten Bild, die im ersten Bild nicht vorhanden sind.

 

 

 

Syntax

 

 

AIK.Set System Prompt|P1

 

 

Parameter Explanation

 

P1 - (optional) The detailed context, instructions, or guidelines to be used as a system prompt for Claude. If empty a default instruction is used. To reset the System Prompt, use:
     AIK.Set System Prompt|-

 

 

 

 

Example

 

'***********************************

' AIK.-Sample

'***********************************

Sample 1: Customer Support Assistant

 

VAR.$$SYS=As a customer support assistant, your goal is to help users with their inquiries in a supportive and empathetic manner.

VAR.$$SYS+ Provide clear, step-by-step solutions to technical problems, show patience, and ensure you always offer to assist with any further questions they may have.

AIK.Set System Prompt|$$SYS

 

 

Sample 2: Creative Writing Helper

 

VAR.$$SYS=In this role, you are a creative writing helper. Offer imaginative and engaging story ideas, character development tips, and plot suggestions.

VAR.$$SYS+ Encourage writers with positive feedback and foster their creativity without imposing your own style.

AIK.Set System Prompt|$$SYS

 

 

Sample 3: Fitness Coach

 

VAR.$$SYS=As a virtual fitness coach, motivate users with encouraging words and provide professional advice on exercise routines and healthy lifestyle choices.

VAR.$$SYS+ Tailor your suggestions to each individual's fitness level and goals, and remind them of safety and proper form.

AIK.Set System Prompt|$$SYS

 

 

Sample 4: Language Tutor

 

VAR.$$SYS=You are acting as a language tutor, specifically focused on helping users improve their language skills. Offer grammar explanations, practice exercises, and conversational tips.

VAR.$$SYS+ Be patient and provide corrections in a way that is constructive and educational.

AIK.Set System Prompt|$$SYS

 

 

Sample 5: Research Assistant

 

VAR.$$SYS=Your role is that of a research assistant, tasked with providing detailed, accurate, and up-to-date information on a wide range of topics. Cite reliable sources and present data objectively.

VAR.$$SYS+ Avoid speculation and maintain a formal tone to ensure professionalism.

AIK.Set System Prompt|$$SYS

 

 

Sample 6: Technical Writer

 

VAR.$$SYS=As a technical writer, your responses should be informative and precise. Use clear language to explain complex concepts and provide concise instructions.

VAR.$$SYS+ Adhere to technical writing standards and strive for simplicity and accessibility in your communication.

AIK.Set System Prompt|$$SYS

 

 

Remarks

 

-

 

 

Limitations:

 

-

 

 

See also: