Chat Model Prompter

The Chat Model Prompter takes a statement (prompt) and the conversation history with human and AI messages. It then generates a response for the prompt with the knowledge of the previous conversation.

If you want to reduce the amount of tokens being used, consider reducing the conversation table length to a reasonable (e.g. 5 conversation steps) length before feeding it into the Chat Model Prompter.

Options

System Message

The first message given to the model describing how it should behave.

Example: You are a helpful assistant that has to answer questions truthfully, and if you do not know an answer to a question, you should state that.

Message

The (next) message that will be added to the conversation

Conversation Settings

Message role

Column that specifies the sender role of the messages. The usual values are Human and AI.

Messages

Column containing the message contents that have been sent to and from the model.

Input Ports

Icon

A chat model model.

Icon

A table containing an empty or filled conversation.

Output Ports

Icon

A table containing the conversation history.

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.