Skip to main content
Instruction format type

Example Usage

from openrouter.components import InstructType

# Open enum: unrecognized values are captured as UnrecognizedStr
value: InstructType = "none"

Values

This is an open enum. Unrecognized values will not fail type checks.
  • "none"
  • "airoboros"
  • "alpaca"
  • "alpaca-modif"
  • "chatml"
  • "claude"
  • "code-llama"
  • "gemma"
  • "llama2"
  • "llama3"
  • "mistral"
  • "nemotron"
  • "neural"
  • "openchat"
  • "phi3"
  • "rwkv"
  • "vicuna"
  • "zephyr"
  • "deepseek-r1"
  • "deepseek-v3.1"
  • "qwq"
  • "qwen3"