You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/langsmith/create-a-prompt.mdx
+2-5Lines changed: 2 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,9 +26,6 @@ The prompt is made up of messages, each of which has a _role_, including:
26
26
-**System**: The "instruction manual". Use this to define the AI's persona, tone, and ground rules (e.g., "You are a helpful assistant that explains things like the weather").
27
27
-**Human**: The "user". This represents the person asking questions or providing instructions to the AI.
28
28
-**AI**: The "assistant". This is the model’s response. In the playground, you can use this to provide "few-shot" examples—showing the AI exactly how you want it to respond.
29
-
30
-
31
-
32
29
-**Tool / Function**: These roles represent the output from external tools (like a calculator or a search engine). They help you test how the AI should behave after receiving specific data.
33
30
-**Chat**: A general-purpose role, often used when importing logs or conversation history where specific labels haven't been assigned.
34
31
-**Messages List**: A dynamic placeholder. This allows you to add a variable that contains an entire list of previous messages, making it easy to manage long conversation histories.
@@ -89,7 +86,7 @@ Use the **[Polly](/langsmith/polly)** AI assistant in the Playground to generate
89
86
90
87
## Run the prompt
91
88
92
-
To run a prompt, use <Iconicon="circle-play"/> **Start** at the top of the right panel in the playground.
89
+
To run a prompt, use <Iconicon="player-play"/> **Start** at the top of the right panel in the playground.
93
90
94
91
## Save your prompt
95
92
@@ -107,7 +104,7 @@ After you've created a prompt, you can view a table of your prompts under **Prom
107
104
108
105
## Add metadata
109
106
110
-
To add metadata to your prompt, click the <Iconicon="ellipsis-vertical"/> **More** icon on the top right-hand side of the page and then click the <Iconicon="pencil"/> **Update metadata** from the dropdown. This brings you to a page where you can add additional information about the prompt, including a description and README.
107
+
To add metadata to your prompt, click the <Iconicon="dots-vertical"/> **More** icon on the top right-hand side of the page and then click the <Iconicon="pencil"/> **Update metadata** from the dropdown. This brings you to a page where you can add additional information about the prompt, including a description and README.
0 commit comments