Documentation generated from LinkML
Class: prompt
Input to a large language model.
- Title: Prompt
- Canonical name:
Prompt - Names in code:
Prompt(Scala, TypeScript, Python, Java, GraphQL) - URI:
peo:prompt(https://w3id.org/peo#prompt) - Parent: prompt_engineering
Inheritance
- prompt_engineering
- prompt
Slots
| Name | Range | Cardinality | Description | Inherited from |
|---|---|---|---|---|
| has_ |
chat | 0..* | Relationship between a prompt and a chat, where the prompt has as context the chat. | |
| has_ |
string | 0..* | Input data of a prompt. | |
| has_ |
string | 0..* | Instruction of a prompt. | |
| has_ |
string | 0..* | Output format of the response of a prompt. | |
| processed_ |
large_language_model | 0..* | Relation between a prompt and a large language model, where the prompt is given as input to the large language model | |
| prompt_ |
prompt | 0..* | The first prompt is after the second prompt | |
| prompt_ |
response | 0..* | Prompt is after response | |
| prompt_ |
prompt | 0..* | The second prompt is after the first prompt | |
| prompt_ |
response | 0..* | Response is after prompt | |
| prompt_ |
prompting_technique | 0..* | Prompt generated using a prompting technique |
Usages
| Used by | Slot | Cardinality |
|---|---|---|
| chat | has_prompt | 0..* |
| large_ |
processes | 0..* |
| prompt | prompt_followedby_prompt | 0..* |
| prompt | prompt_follows_prompt | 0..* |
| prompting_ |
is_used_in_prompt | 0..* |
| response | response_followedby_prompt | 0..* |
| response | response_follows_prompt | 0..* |