Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions docs/spec/prompts.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ type: docs
weight: 3
---

The Prompts API allows clients to retrieve information about available prompts and prompt templates from the server.
The Prompts API allows clients to retrieve information about available prompts and prompt templates from the server. Prompts are templated conversations with a model that the client can retrieve. Commonly clients present available prompts to users as slash/at commands or similar approaches, e.g. by typing `/a-prompt`.

## Capabilities

Expand All @@ -24,6 +24,8 @@ sequenceDiagram
Server-->>Client: GetPromptResult
```

# Messages

## List Prompts

The client **SHOULD** send a `prompts/list` request to retrieve a list of available prompts and prompt templates from the server.
Expand Down Expand Up @@ -74,7 +76,8 @@ Argument definitions, if present, **MUST** include:
- required: An optional boolean indicating if the argument is required

The server **SHOULD** provide descriptive names and descriptions to help clients understand the purpose and usage of each prompt or template.
## Get Prompt

## Getting a prompt

To retrieve a specific prompt or instantiate a prompt template, the client **SHOULD** send a `prompts/get` request.

Expand Down
Loading