InstructType - Go SDK

InstructType type definition

The Go SDK and docs are currently in beta. Report issues on GitHub.

Instruction format type

Example Usage

1import (
2 "github.com/OpenRouterTeam/go-sdk/models/components"
3)
4
5value := components.InstructTypeNone
6
7// Open enum: custom values can be created with a direct type cast
8custom := components.InstructType("custom_value")

Values

NameValue
InstructTypeNonenone
InstructTypeAiroborosairoboros
InstructTypeAlpacaalpaca
InstructTypeAlpacaModifalpaca-modif
InstructTypeChatmlchatml
InstructTypeClaudeclaude
InstructTypeCodeLlamacode-llama
InstructTypeGemmagemma
InstructTypeLlama2llama2
InstructTypeLlama3llama3
InstructTypeMistralmistral
InstructTypeNemotronnemotron
InstructTypeNeuralneural
InstructTypeOpenchatopenchat
InstructTypePhi3phi3
InstructTypeRwkvrwkv
InstructTypeVicunavicuna
InstructTypeZephyrzephyr
InstructTypeDeepseekR1deepseek-r1
InstructTypeDeepseekV31deepseek-v3.1
InstructTypeQwqqwq
InstructTypeQwen3qwen3