📃Text Block

Text blocks generate text based on a text prompt.

gpt-4o-mini

Title

  • Click the pencil icon next to the block’s title to edit it. This is also the block’s variable name, which can be used to dynamically populate data in other blocks.

Prompt

  • Write a prompt that guides the AI to generate your desired text.

    • Use variables within your prompt to dynamically add data from other blocks.

Variables

Variables can be used to dynamically populate data supplied by other blocks. Click on a variable name from the list to add it to anywhere in your prompt. Variable names match a block’s title.

Text Output

Use the slider to amp up the creativity of the text output from “Predictable” to “Insane.”

Advanced Text Block Controls

Max Tokens

Tokens are the individual units of text that the model processes. One token equals approximately four characters in the English language. More tokens = more characters in the output.

Model

Select which text generation model you’d like your glif to use. Supported models, as of 7/29/24, are:

llama-3.1-405b-instruct

llama-3-70b-instruct

llama-3-70b-8192 on groq

llama-3-8b-8192 on groq

claude-3-haiku

claude-3-sonnet

claude-3-opus

claude-3.5-sonnet

gpt-3.5-turbo

gpt-3.5-turbo-instruct

gpt-3.5-turbo-0125

gpt-3.5-turbo-1106

gpt-3.5-turbo-0613

gpt-3.5-turbo-16k

gpt-3.5-turbo-16k-0613

gpt-4

gpt-4-0613

gpt-4-turbo-preview

gpt-4-0125-preview

gpt-4-1106-preview

gpt-4o

gpt-4o-mini

gemini-pro-1.5

gemma-7b-it on groq

gemma2-9b-it on groq

sonar-medium-online

Perplexity: Llama3 Sonar 8B Online

Perplexity: Llama3 Sonar 70B Online

mistral-large

mistral-8x7b-32768 on groq

nous-hermes-2-mixtral-8x7b-sft

System Prompt

A system prompt for an LLM is a set of instructions or context given to the model at the beginning of an interaction to guide its behavior, set parameters for the conversation, or provide background information for its responses.

Last updated