Karini AI Documentation
Go Back to Karini AI
  • Introduction
  • Installation
  • Getting Started
  • Organization
  • User Management
    • User Invitations
    • Role Management
  • Model Hub
    • Embeddings Models
    • Large Language Models (LLMs)
  • Prompt Management
    • Prompt Templates
    • Create Prompt
    • Test Prompt
      • Test & Compare
      • Prompt Observability
      • Prompt Runs
    • Agentic Prompts
      • Create Agent Prompt
      • Test Agent Prompt
    • Prompt Task Types
    • Prompt Versions
  • Datasets
  • Recipes
    • QnA Recipe
      • Data Storage Connectors
      • Connector Credential Setup
      • Vector Stores
      • Create Recipe
      • Run Recipe
      • Test Recipe
      • Evaluate Recipe
      • Export Recipe
      • Recipe Runs
      • Recipe Actions
    • Agent Recipe
      • Agent Recipe Configuration
      • Set up Agentic Recipe
      • Test Agentic Recipe
      • Agentic Evaluation
    • Databricks Recipe
  • Copilots
  • Observability
  • Dashboard Overview
    • Statistical Overview
    • Cost & Usage Summary
      • Spend by LLM Endpoint
      • Spend by Generative AI Application
    • Model Endpoints & Datasets Distribution
    • Dataset Dashboard
    • Copilot Dashboard
    • Model Endpoints Dashboard
  • Catalog Schemas
    • Connectors
    • Catalog Schema Import and Publication Process
  • Prompt Optimization Experiments
    • Set up and execute experiment
    • Optimization Insights
  • Generative AI Workshop
    • Agentic RAG
    • Intelligent Document Processing
    • Generative BI Agentic Assistant
  • Release Notes
Powered by GitBook
On this page
  1. Prompt Management

Prompt Templates

Prompt templates are pre-defined templates can contain instructions, context, few-shot examples, and questions that are appropriate for a particular task. They provide a structured framework for crafting prompts, incorporating relevant context and variables tailored to specific tasks.

Karini AI provides a repository of managed prompt templates for various cases which is automatically made available to users on bootstrap. Users also have options to create customized prompt templates as needed, or save a well-written prompt as a prompt template to enable it's reusability.

Create New Prompt Template

You can create a custom prompt template by updating an existing template with new instructions, or create a new template from scratch.

  1. On the Prompt Templates panel, click Add New.

  2. Provide a prompt template name and select an appropriate task from the available list.

    1. Classification

    2. Summarization

    3. QnA

    4. Evaluation

    5. Agent

  3. Write prompt instructions for the selected task. The instructions may include context, variables, few-shot-examples.

  4. Preview the generated prompt template on the right hand side panel.

  5. Save the prompt template.

Prompt templates improve usability and maintenance of shared prompt logic. You can define a prompt template once and reuse it to avoid duplication. For instance, create a “summarize article” template and use it whenever a summary is needed.

PreviousPrompt ManagementNextCreate Prompt

Last updated 1 month ago