OCI GenAI Pro key terms
OCI GenAI Pro · Get comfortable with the vocabulary.
- Large Language Model (LLM)
- Related: Token, Pretrained Foundation Model
A neural network trained on large text corpora to predict tokens and generate language. In OCI it is accessed through the Generative AI service rather than hosted by the customer.
- Token
- Related: Context Window, Large Language Model (LLM)
A subword unit of text produced by a model's tokenizer. Billing, context limits, and latency are all measured in tokens, so prompt length directly affects cost and throughput.
- Context Window
- Related: Token, Prompt Engineering
The maximum number of tokens a model can consider in a single request, covering both the prompt and the generated output. Exceeding it causes truncation or an error.
- Prompt Engineering
- Related: Few-Shot Prompting, System Prompt
Designing instructions, examples, and formatting in the input text to steer model output. It requires no training and is the fastest way to improve response quality.
- Few-Shot Prompting
- Related: Prompt Engineering, Fine-Tuning
Supplying a small number of worked input-output examples inside the prompt so the model imitates the desired pattern. Useful when fine-tuning is unnecessary or too costly.
- System Prompt
- Related: Prompt Engineering, Prompt Injection
A leading instruction that sets persona, tone, and behavioral constraints for a conversation, applied before user turns. It is a soft control and must not be relied on as a security boundary.
- Temperature
- Related: Top-P Sampling, Max Tokens
A sampling parameter that scales randomness. Lower values make output more deterministic and factual; higher values increase diversity. Set near zero for extraction and classification tasks.
- Top-P Sampling
- Related: Temperature, Token
Nucleus sampling that restricts generation to the smallest set of tokens whose cumulative probability reaches P. It is an alternative diversity control to temperature, usually tuned with it, not independently.
- Max Tokens
- Related: Token, Context Window
A request parameter capping how many tokens the model may generate. It bounds latency and cost but can truncate answers, so size it against the expected output length.
- Pretrained Foundation Model
- Related: Fine-Tuning, Large Language Model (LLM)
A general-purpose model trained on broad data before any task-specific adaptation. OCI Generative AI offers several families in different sizes so you can trade quality against cost and latency.
- Model Family and Size Selection
- Related: Pretrained Foundation Model, On-Demand vs Dedicated AI Cluster
Choosing among available model families and parameter sizes to balance answer quality, latency, context length, and price per token. Larger models generally cost more and respond more slowly.
- On-Demand vs Dedicated AI Cluster
- Related: Fine-Tuning, Model Family and Size Selection
On-demand inference bills per token with shared capacity and no commitment. Dedicated AI clusters reserve compute for predictable throughput, fine-tuning, or hosting custom models, billed by time.
- Fine-Tuning
- Related: T-Few Fine-Tuning, Training Dataset
Further training a pretrained model on your own labeled examples so it learns a task, style, or domain vocabulary. It changes model weights and requires a dedicated cluster to host the result.
- T-Few Fine-Tuning
- Related: Fine-Tuning, Training Dataset
A parameter-efficient tuning method offered by OCI Generative AI that updates a small fraction of weights. It reduces training cost and data requirements compared with full fine-tuning.
- Training Dataset
- Related: Fine-Tuning, Hallucination
The curated prompt-and-completion records used for fine-tuning, stored in Object Storage. Quality, coverage, and consistent formatting matter more than raw volume for good results.
- Hallucination
- Related: Retrieval-Augmented Generation (RAG), Grounding
A confident model statement that is unsupported or factually wrong. It arises because models predict plausible text, not verified truth, and is mitigated by grounding, citations, and evaluation.
- Embedding
- Related: Vector Database, Semantic Search
A dense numeric vector representing text meaning, produced by an embedding model. Similar texts land close together, enabling semantic search and clustering without keyword matching.
- Embedding Model
- Related: Embedding, Vector Database
A model that converts text into vectors for similarity comparison. The same model and version must embed both documents and queries, or distances become meaningless.
- Vector Database
- Related: Embedding, Approximate Nearest Neighbor (ANN) Search
A store that indexes embeddings and answers nearest-neighbor queries efficiently. OCI offers a vector store capability alongside database services that support vector columns and indexes.
- Approximate Nearest Neighbor (ANN) Search
- Related: Vector Database, Semantic Search
An indexing strategy that returns close-but-not-guaranteed nearest vectors to gain speed at scale. Recall versus latency is a tuning tradeoff governed by index parameters.
- Semantic Search
- Related: Embedding, Hybrid Search
Retrieval ranked by meaning similarity in embedding space rather than exact keyword overlap. It finds paraphrases and synonyms but can miss rare identifiers better served by lexical search.
- Hybrid Search
- Related: Semantic Search, Chunking
Combining lexical keyword scoring with vector similarity, then merging results. This improves recall for exact terms such as part numbers while retaining semantic matching.
- Chunking
- Related: Retrieval-Augmented Generation (RAG), Embedding
Splitting source documents into passages small enough to embed and fit in the prompt. Chunk size and overlap strongly affect retrieval precision and answer completeness.
- Retrieval-Augmented Generation (RAG)
- Related: Grounding, Chunking
A pattern where relevant passages are retrieved and inserted into the prompt so the model answers from supplied evidence. It reduces hallucination and keeps answers current without retraining.
- Grounding
- Related: Retrieval-Augmented Generation (RAG), Hallucination
Anchoring generated answers in retrieved or supplied source content, ideally with citations. It lets reviewers verify claims and limits unsupported invention.
- Reranking
- Related: Retrieval-Augmented Generation (RAG), Context Window
A second-stage scoring of initially retrieved passages with a more precise model before prompting. It improves the order and relevance of the few chunks that enter the context window.
- Guardrails
- Related: Prompt Injection, Content Moderation
Controls that constrain model input and output, such as content filters, blocked topics, or required formats. They reduce harmful or off-policy responses but are not a complete security solution.
- Prompt Injection
- Related: Guardrails, System Prompt
An attack where untrusted text, such as a retrieved document, instructs the model to ignore its rules or leak data. Mitigate with least privilege, input isolation, and output validation.
- Content Moderation
- Related: Guardrails, Responsible AI
Detecting and filtering harmful or disallowed content in prompts and responses. It is typically one layer within a broader responsible-AI and safety design.
- Responsible AI
- Related: Content Moderation, Model Evaluation
Design principles covering fairness, transparency, privacy, safety, and human oversight for AI systems. In practice it means documenting intended use, limitations, and evaluation evidence.
- Model Evaluation
- Related: Hallucination, Responsible AI
Measuring output quality against defined criteria using test sets, human review, or automated scoring. It should cover accuracy, groundedness, safety, and latency before and after deployment.
- Identity and Access Management (IAM)
- Related: Compartment, Principle of Least Privilege
OCI's authorization system of users, groups, policies, and compartments. Access to Generative AI resources, endpoints, and data is granted through policies scoped to compartments.
- Compartment
- Related: Identity and Access Management (IAM), Principle of Least Privilege
A logical container for OCI resources used to organize and isolate them for quota, cost tracking, and access control. Policies written at one compartment can be inherited by children.
- Principle of Least Privilege
- Related: Identity and Access Management (IAM), Prompt Injection
Granting only the permissions needed for a task, and no more. For AI workloads this means scoping model invocation, data access, and cluster management to separate, minimal policies.
- Private Endpoint
- Related: Vault (Key Management), Compartment
A network access path that keeps traffic to a service inside a virtual cloud network instead of the public internet. It reduces exposure for model invocation and data retrieval.
- Vault (Key Management)
- Related: Private Endpoint, Identity and Access Management (IAM)
An OCI service for storing and controlling encryption keys and secrets. It supports encrypting stored data and managing credentials used by AI applications.
- Observability
- Related: Model Evaluation, Max Tokens
Collecting logs, metrics, and traces to understand system behavior in production. For generative AI it should capture latency, token usage, errors, and retrieval quality signals.
- Cost and Token Governance
- Related: Token, Compartment
Managing spend through quotas, per-team compartments, token budgets, caching, and model right-sizing. Without limits, long prompts and retries can silently multiply inference charges.