Components
PromptResponse
A prompt defines the behavior of an agent by delivering instructions to the LLM about how the agent should behave. A prompt can be linked to one or more agents. A prompt can also be linked to tools to allow an agent using it to use those tools.
Example Usage
Fields
Field | Type | Required | Description | Example |
---|---|---|---|---|
name | string | TRUE | The prompt name | |
description | string | FALSE | The description of the prompt | |
type | string | TRUE | The type of the prompt | |
context | string | FALSE | The prompt text | |
tools | string[] | FALSE | Names of the tools to which the prompt has access | |
llmConfig | components.PromptLlmConfig | TRUE | N/A | |
id | number | TRUE | The prompt ID | |
editComments | string | FALSE | The comments for the most recent edit to the prompt | |
lastUpdated | string | TRUE | The last updated date of the prompt | |
lastUpdatedBy | string | FALSE | Email address of the user who most recently updated the prompt | user@email.com |
agentCount | number | FALSE | The number of agents using the prompt |