MicrosoftDocs / semantic-kernel-docs

Semantic Kernel (SK) is a lightweight SDK enabling integration of AI Large Language Models (LLMs) with conventional programming languages.
MIT License
181 stars 106 forks source link

Does casing matter for prompt template variables? #64

Closed Cotspheer closed 9 months ago

Cotspheer commented 10 months ago

It is not quite clear if casing of variables do matter and how they get parsed by the template language. Any chance to clarify that here prompt-template-syntax?

So in general is ContextVariables["input"] equal to ContextVariables["INPUT"] and equal to ContextVariables["inPUT"]? Because the the code at ContextVariables.MainKey = "INPUT" implies that there is some parsing going on behinde the scene.

Cotspheer commented 9 months ago

Syntax changed with handlebars templates, closing therefore my issue.