Skip to content
Ontology docs

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

Slots

Name Range Cardinality Description Inherited from
has_context chat 0..* Relationship between a prompt and a chat, where the prompt has as context the chat.
has_input_data string 0..* Input data of a prompt.
has_instruction string 0..* Instruction of a prompt.
has_output_indicator string 0..* Output format of the response of a prompt.
processed_by 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_followedby_prompt prompt 0..* The first prompt is after the second prompt
prompt_followedby_response response 0..* Prompt is after response
prompt_follows_prompt prompt 0..* The second prompt is after the first prompt
prompt_follows_response response 0..* Response is after prompt
prompt_generated_using prompting_technique 0..* Prompt generated using a prompting technique

Usages

Used by Slot Cardinality
chat has_prompt 0..*
large_language_model processes 0..*
prompt prompt_followedby_prompt 0..*
prompt prompt_follows_prompt 0..*
prompting_technique is_used_in_prompt 0..*
response response_followedby_prompt 0..*
response response_follows_prompt 0..*