For the complete documentation index, see llms.txt. This page is also available as Markdown.

πŸ“šVariable

Intro

LLMs have the ability to recall and reference the data we declared.

We could compare this ability to declaring variables in any programming language.

How it work ?

You could use "ANY" method to declare a variable.

i.e.
a = "hello world"
a => "hello world"
a -> "hello world"
<a>helloworld<a>
{a}helloworld{a}
a > "hello world"
a => hello world
"""a
hello world
"""

A software developer could consider an LLM as a 'natural coding language.' It has similar abilities to other programming languages.

Prompt Example

Basic declaration and printing of a variable's value
Basic declaration and printing of a variable's value using some variable
Change value of variable
Access nested variable

Last updated