Skip to content
Ontology docs

Documentation generated from LinkML

PEO ontology: an ontology for prompt engineering and large language models.

The PEO ontology is a modern ontology that covers state-of-art prompt engineering techniques and large language models. The ontology is designed to support students, researchers and developers who want to know more about prompt engineering, applying prompting techniques in solving tasks.

  • ID: https://w3id.org/peo#
  • Name: peo
  • Version: 1.0

Classes

Class Description
Variable
active_prompting Technique where specific, dynamic instructions are given to a model to guide it through a multi-step or interactive process, often requiring the model to actively engage, reflect, or respond iteratively to achieve a targeted outcome.
alpaca Fine-tuned language model for instruction-following tasks based on Meta's LLaMA model.
audio_explanation Explanation of the content of an audio file.
audio_generation Generation of an audio file.
audio_task Task involving audio files.
automatic_cot_prompting Technique where models autonomously generate step-by-step reasoning, enhancing structured problem-solving without explicit intermediate prompts.
base_model Base model used as base architecture by each large language model.
bert (Bidirectional Encoder Representations from Transformers) An LLM by Google designed for NLP tasks, known for understanding context in both directions within text.
blip_2 Multimodal model that integrates a frozen image encoder with a large language model via a Querying Transformer, enabling tasks like image captioning and visual question answering.
bloom Large open-access language model designed to support multiple languages and dialects, aiming to make natural language processing more inclusive and accessible across diverse linguistic communities.
capability Possibile capability of large language models.
chain_of_code_prompting Technique that enhances reasoning in language models by combining code generation with a "LMulator" that simulates code execution for complex tasks, enabling models to solve both algorithmic and semantic problems.
chain_of_knowledge_prompting Technique that enhances large language models by dynamically integrating factual information from heterogeneous knowledge sources, aiming to improve accuracy and reduce hallucinations in generated responses.
chain_of_note_prompting Technique that enhances retrieval-augmented language models by generating sequential reading notes for retrieved documents, enabling systematic evaluation of relevance and reliability to produce more accurate responses.
chain_of_table_prompting Technique that enables large language models to perform iterative, table-based reasoning by dynamically transforming tables through a sequence of structured operations to derive accurate answers.
chain_of_thought_prompting Prompting is a prompting technique that encourages a model to generate step-by-step reasoning or intermediate steps before arriving at a final answer.
chain_of_verification_prompting Technique that reduces hallucinations in large language models by generating an initial response, planning and executing fact-checking questions, and producing a final verified answer.
chat Interactive dialogue session between a user and an AI model, involving an exchange of messages where the AI responds to user inputs based on the given prompts and context.
chinchilla An LLM developed by DeepMind, designed to explore efficient scaling of model size relative to data, achieving high performance with fewer parameters.
claude An AI assistant developed by Anthropic, aimed at being a safer and more controllable language model for dialogue and other NLP applications.
clip CLIP (Contrastive Language–Image Pretraining) is a multimodal model that connects text and images by learning visual concepts from natural language descriptions.
code_explanation Explanation of a piece of code.
code_generation Generation of code
code_prompting Prompting techniques to generate code
code_task Task involving source code.
cogvlm Vision-language model developed to understand and generate both visual and textual information, bridging the gap between image recognition and natural language processing for more nuanced multimodal tasks.
command_r Large language model with open weights optimized for a variety of use cases including reasoning, summarization, and question answering. Command-R has the capability for multilingual generation evaluated in 10 languages and highly performant RAG capabilities.
dall_e DALL-E generates detailed images from textual descriptions, with the latest model offering enhanced prompt fidelity.
decoder Neural network architecture that generates outputs (e.g., text, images) based on input representations, typically used in sequence-to-sequence tasks, and often paired with an encoder in models like Transformer-based architectures.
decoder_only Neural network architecture that generates outputs directly from an initial prompt or sequence without requiring a separate encoder. It processes input autoregressively, predicting the next token one step at a time, and is commonly used in large language models like GPT.
decomposed_prompting Modular technique that solves complex tasks by breaking them down into simpler sub-tasks, each handled by a specialized prompt or function.
diffusion_model Generative model that learns to create data (e.g., images, audio) by reversing a gradual noise-adding process applied to the data during training, generating realistic outputs by denoising starting from random noise.
encoder Neural network component that processes input data (e.g., text, images, or audio) and transforms it into a dense, high-dimensional representation (latent space), capturing the most relevant features for subsequent tasks like classification, translation, or generation.
encoder_only Model that processes input data to generate a fixed-length representation or embeddings, commonly used in tasks like classification and information retrieval.
falcon Falcon is a series of advanced language models aimed at text generation tasks.
fix_deformed_generations Prevent deformities by using negative prompts (such as negatively weighted terms) to de-emphasize them.
flan (Fine-tuned Language Net) A Google model that applies instruction fine-tuning to improve task performance and generalization across diverse tasks.
gemini A series of LLMs by Google DeepMind, designed for conversational AI and multimodal applications
gemma Large Language Model designed for advanced natural language processing tasks, with a focus on accuracy and contextual text generation.
glamm Multimodal model that combines language and vision, enabling pixel-level grounding, object segmentation, and interactive visual conversations
global_image_encoder A model that encodes an entire image into a single global feature vector, capturing the overall content and structure for tasks like classification or retrieval.
gpt (Generative Pre-trained Transformer) A series of transformer models by OpenAI, with GPT-4 as the latest, excelling in NLP and conversational tasks.
graph_of_thought_prompting Techniques that structures prompt reasoning in a graph
grounding_image_encoder A model designed to encode images by linking specific visual elements to semantic concepts, useful for tasks like visual grounding or visual question answering.
image_explanation Explanation of the content of an image.
image_generation Generation of an image starting from a text prompt.
image_prompting Prompting techniques for images
image_segmentation Segmentation of image elements.
image_task Task involving images.
lamda_pt Pre-trained conversational AI model by Google designed for open-domain, context-aware, and natural dialogue generation.
large_language_model Type of computational model designed for natural language processing tasks such as language generation.
large_language_model_characteristic The class represents the defining traits of a large language model, combining its base model attributes and capabilities.
least_to_most_prompting Technique that involves breaking down complex tasks into simpler subproblems, solving each sequentially to leverage previous answers for better generalization on challenging tasks.
lighting Words that describe the lighting of the object to generate
llama (Large Language Model Meta AI) A series of open-source models by Meta, designed to be efficient for research and commercial use.
logical_chain_of_thought_prompting Technique that enhances language models' logical reasoning skills by using a structured dataset of chain-of-thought (CoT) instructions, allowing models to perform step-by-step reasoning based on logical premises and inference rule
midjourney Midjourney is an AI tool that generates images based on text prompts with artistic and realistic quality.
minerva Family of large language models developed by Sapienza University, trained on extensive Italian and English corpora to support diverse applications like text generation and natural language understanding.
mistral A language model focused on being efficient and high-performing, aiming to improve NLP capabilities with fewer resources.
mpt_7b Decoder-style transformer with 6.7B parameters
olmo Open-source language model that aimes to provide a transparent, publicly accessible alternative to proprietary LLMs for research and applications in natural language processing.
openelm An open-source initiative focused on evolutionary learning and modeling, particularly in the context of NLP tasks.
opt (Open Pretrained Transformer) A model developed by Meta, openly released to provide researchers with access to LLMs for a variety of applications.
organization An organization of people that develops a large language model
palm Large language model developed by Google, designed to perform a range of NLP tasks with high accuracy across languages, reasoning, and even code generation.
phi_1 A recently developed AI model by a specific organization or team, likely aimed at enhancing certain NLP or conversational AI capabilities (additional details may be required as it's a newer name).
pixel_decoder Neural network module used in computer vision tasks to refine and upsample low-resolution feature maps into high-resolution outputs, typically representing pixel-level predictions such as segmentation masks or image reconstruction.
program_of_thoughts_prompting Technique where the model follows structured, programmatic steps or logical rules within the prompt to solve complex tasks, similar to a pseudo-code or algorithmic approach.
prompt Input to a large language model.
prompt_engineering Practice of crafting and optimizing input prompts to guide AI models, particularly large language models, to produce desired outputs. It involves understanding the model's behavior and leveraging techniques like few-shot learning, zero-shot prompting, or specific formatting to achieve accurate, relevant, and context-aware results for various tasks.
prompting_technique Structured approach or method used to design prompts for interacting with AI models, aimed at optimizing their responses for specific tasks or objectives.
q_former A transformer-based model that uses query embeddings to encode specific features or focus areas in cross-modal or task-specific applications.
quality_boosters Terms that enhance style-agnostic attributes, such as detail and resolution, in AI-generated images.
question_answering Task of generate answwers from a series of answwers.
rag_prompting Technique that combines retrieval of relevant external information with generative responses, enabling a model to access and integrate factual or context-specific data dynamically to produce more informed and accurate outputs.
react_prompting Technique where an AI model is guided to reason and act iteratively, encouraging it to think step-by-step while interweaving reasoning and actions to handle complex tasks more effectively.
recurrent_neural_network A sequential model that processes input data one step at a time while maintaining a memory of past inputs via hidden states, suitable for time-series and sequential tasks.
region_encoder A model that focuses on extracting feature representations from specific regions within an image, often used in object detection or region-based vision tasks.
repetition Repeating the same word in a image prompt in order to augment some aspects
response Response given by a large language model.
rwkv_llm Large language model that integrates transformer and RNN principles to efficiently manage long-context sequences, supporting improved language understanding and generation over extensive text inputs.
scratchpad_prompting Technique where language models are guided to output intermediate computational steps—stored in a "scratchpad"—to solve complex, multi-step tasks, improving their accuracy and reasoning capabilities by breaking down problems step-by-step
self_consistency_prompting Technique where multiple reasoning paths or answers are generated by a model, and the final response is selected based on the most frequently occurring or consistent result, enhancing reliability and accuracy in complex problem-solving tasks.
shot_type Technique that incorporates various camera effects
sora Text-to-video AI model. Sora can create videos of up to a minute of realistic and imaginative scenes given text instructions.
stablelm Open source large language model designed to support a range of natural language processing tasks with a focus on accessibility and transparency in model deployment and fine-tuning.
starcoder Large language model specialized for code generation and understanding designed to support multiple programming languages and assist developers in writing, debugging, and understanding code.
structured_cot_prompting Technique for code generation that guides language models to use structured programming steps-sequence, branch, and loop-to improve accuracy and code quality.
style_modifiers Descriptors that consistently produce certain styles
system_2_attention_prompting Technique that enables large language models (LLMs) to focus only on relevant parts of the input context by regenerating it to exclude distracting or biased information, thereby improving the factual accuracy and objectivity of the model's responses.
t5 (Text-To-Text Transfer Transformer) A Google model where every NLP task is cast as a text-to-text problem, known for its adaptability across diverse tasks.
take_step_back_prompting Technique that enhances reasoning in large language models by prompting them to abstract high-level concepts from specific details to guide problem-solving.
task Task that has to be exxecuted by a large language model.
text_explanation Explanation of the content of a text
text_generation Generation of text starting from a prompt.
text_task Task involving text.
thread_of_thought_prompting Technique where a model maintains a cohesive line of reasoning across multiple prompts or turns, allowing it to build on previous responses and sustain continuity in complex, multi-step tasks or dialogues.
transformer A neural network architecture that uses self-attention mechanisms to process sequential data in parallel, effectively capturing long-range dependencies
transformer_xl Variant of the Transformer model designed to handle longer sequences by introducing segment-level recurrence and relative positional embeddings, enabling better context retention and improved efficiency in language modeling tasks
tree_of_thoughts_prompting Technique that involves breaking down complex problems into a structured tree of decisions, allowing an AI model to explore multiple reasoning paths to reach an optimal solution.
vall_e VALL-E is a text-to-speech model that synthesizes high-quality speech from text input.
vicuna Open-source conversational model that provides a high-quality chatbot experience.
video_explanation Explanation of the content of a video.
video_generation Generation of a video starting from a text prompt.
video_task Task involving video processing.
vit_encoder A Vision Transformer encoder that splits an image into patches, treats them as tokens, and processes them using self-attention mechanisms to learn spatial and semantic relationships.
xlnet Generalized autoregressive model that captures bidirectional context for NLP tasks.

Slots

Slot Description
based_on Relationship between to two large language models in which a large language model uses another large language model as base.
basis_for Relationship between to two large language models in which a large language model is the base of another large language model.
developed_by Relationship between a large language model and an organization, where the model is developed by the organization.
develops Relationship between a large language model and an organization, where the organization develops the model.
end_time_chat End time of a chat.
evolved_from Relationship between two large language models (x and y), where x is evolved from y.
evolves Relationship between two large language models (x and y), where x is evolves y.
generates_response Relationship between a large language models and a response, where the llm generates the response.
has_capability Relationship between a large language model and a capability, where the llm has that capability.
has_chat_title Title of a chat.
has_context Relationship between a prompt and a chat, where the prompt has as context the chat.
has_description Description of a task
has_input_data Input data of a prompt.
has_instruction Instruction of a prompt.
has_model_architecture Relationship between a large language model and a basic model, where the model is the component of the large language model.
has_number_parameters Number of parameters of a large language model.
has_organization Relationship between two organizations (x and y) where, x controls the organization y.
has_output_indicator Output format of the response of a prompt.
has_prompt Relation between chat and a prompt, where the chat has that prompt.
has_release_year Release year of a large language model.
has_response Relation between a chat and a response, where the chat has that response.
has_response_value What is written in the response.
has_variant Relation between two large language models (x and y), where x has y as another version.
is_capability Relationship between a capability and a large language model, where the capability is capability of the llm.
is_model_architecture_of Relationship between a base model and a large language model, where the base model is used as architecture of the llm.
is_organization_of Relationship between an organization x and another organization y, where x is controlled by y.
is_response_of Response belongs to a chat
is_used_in_chat Relation between a large language model and a chat, where the model is used in that chat
is_used_in_prompt Relation between a prompt and a prompting technique, where the prompt is generated using that prompting technique
official_website Official website of an organization.
processed_by Relation between a prompt and a large language model, where the prompt is given as input to the large language model
processes Relation between a large language model and a prompt, where the large language model processes the prompt
prompt_followedby_prompt The first prompt is after the second prompt
prompt_followedby_response Prompt is after response
prompt_follows_prompt The second prompt is after the first prompt
prompt_follows_response Response is after prompt
prompt_generated_using Prompt generated using a prompting technique
registered_name Registered name of an organization.
response_followedby_prompt Response is after a prompt
response_follows_prompt Prompt is after response
response_generated_using Response generated using a large language model
solved_by Task solved by a prompting technique
solves Relation between a prompting technique and a task, where the technique solves that task.
start_time_chat Start time of a chat.
uses_model Realtion between a chat and a large language model, where the chat is with the large language model

Enums

Enum Description
analogical_prompting Technique that guides large language models to self-generate relevant examples or knowledge based on analogies, aiding them in reasoning through new problems without labeled exemplars.
audio_processing Capability to process audio files.
code_processing Capability to process source code written in any programming language.
company Organization that develops an LLM for business purpose
emotion_classification Classification of text content.
emotion_prompting Technique that guides a model to generate responses with a specific emotional tone or to recognize and respond to the emotions within input text, enhancing empathetic or sentiment-aware interactions.
few_shot_prompting Technique where an AI model is provided with a few example inputs and outputs in the prompt, helping it understand the task and generate more accurate responses by leveraging these samples as context.
image_processing Capability to process images, understanding the content of the image.
mathematical_understanding Solving of mathematical formulas and problems.
research_institution Institution of researchers and developers who develop a LLM for research purposes.
role_prompting Technique that involves giving the model a specific role to play, such as a helpful assistant or a knowledgeable expert
text_processing Capability to process text and documents with text inside.
text_summarization Summarization of text starting from a prompt.
text_translation Translation of a text from a language to another.
university A higher education institution dedicated to advanced learning, research, and the development of specialized knowledge and skills
video_processing Capability to process video files.
zero_shot_prompting Technique where an AI model generates responses or performs tasks without any specific examples, relying solely on the instructions given in the prompt.

Types

Type Description
boolean A binary (true or false) value
curie a compact URI
date a date (year, month and day) in an idealized calendar
date_or_datetime Either a date or a datetime
datetime The combination of a date and time
decimal A real number with arbitrary precision that conforms to the xsd:decimal specification
double A real number that conforms to the xsd:double specification
float A real number that conforms to the xsd:float specification
integer An integer
jsonpath A string encoding a JSON Path. The value of the string MUST conform to JSON Point syntax and SHOULD dereference to zero or more valid objects within the current instance document when encoded in tree form.
jsonpointer A string encoding a JSON Pointer. The value of the string MUST conform to JSON Point syntax and SHOULD dereference to a valid object within the current instance document when encoded in tree form.
langstring String with optional localization variants. Either a plain, non-langauge-tagged string or a multi-language mapping with at least one value. In JSON, plain strings should be mapped to JSON strings, and multi-language strings should be represented as a dictionary object of a language tag to a value in that language. In RDF, plain strings should be mapped to xsd:string, and multi-language strings to rdf:langString. In multivalued slots, each value is a separate langstring, so plain strings and multi-language mappings may be mixed in one list. When a generator needs the text in one language and it is missing, it uses the en text, or if there is none, the text of the alphabetically first language tag. A plain string is used as is, whatever language is requested.
long
ncname Prefix part of CURIE
nodeidentifier A URI, CURIE or BNODE that represents a node in a model.
objectidentifier A URI or CURIE that represents an object in the model.
sparqlpath A string encoding a SPARQL Property Path. The value of the string MUST conform to SPARQL syntax and SHOULD dereference to zero or more valid objects within the current instance document when encoded as RDF.
string A character string
time A time object represents a (local) time of day, independent of any particular day
uri a complete IRI (URI)
uriorcurie an IRI (URI) or a CURIE