Class used to generate prompts for the AutoGPT model. It takes into account the AI's name, role, tools, token counter, and send token limit. The class also handles the formatting of messages and the construction of the full prompt.
Constructs the full prompt based on the provided goals.
An array of goals.
The full prompt as a string.
Formats the messages based on the provided parameters.
An array of formatted messages.
This method is not implemented in the AutoGPTPrompt class and will throw an error if called.
Partial values.
Throws an error.
Class used to generate prompts for the AutoGPT model. It takes into account the AI's name, role, tools, token counter, and send token limit. The class also handles the formatting of messages and the construction of the full prompt.