Documentation
¶
Index ¶
- Constants
- Variables
- func Get(task Task) string
- func GetChatModel() string
- func GetCodeCompletionModel() string
- func GetCodeModel() string
- func GetTestModel() string
- func GetTextGenerationModel() string
- func GetToolUseModel() string
- func GetTranslationModel() string
- func GetVisionModel() string
- type Task
Constants ¶
View Source
const ( // Tasks ChatTask = "chat" CodeTask = "code" CodeCompletionTask = "code-completion" TestTask = "test" TextGenerationTask = "text-generation" ToolUseTask = "tool-use" TranslationTask = "translation" VisionTask = "vision" )
Variables ¶
View Source
var (
DefaultModels = map[Task]string{
"chat": "llama3.2:3b",
"code": "deepseek-coder:1.3b",
"code-completion": "deepseek-coder:1.3b",
"test": "tinyllama:1b",
"text-generation": "gemma2:2b",
"tool-use": "llama3.2:3b",
"translation": "mixtral:8x7b",
"vision": "llava:7b",
}
)
Functions ¶
func Get ¶
Get attempts to retrieve the model name using llm-manager. If llm-manager is not available or the command fails, it falls back to the Default*Model variables.
func GetChatModel ¶
func GetChatModel() string
func GetCodeCompletionModel ¶
func GetCodeCompletionModel() string
func GetCodeModel ¶ added in v1.2.0
func GetCodeModel() string
func GetTestModel ¶
func GetTestModel() string
func GetTextGenerationModel ¶
func GetTextGenerationModel() string
func GetToolUseModel ¶
func GetToolUseModel() string
func GetTranslationModel ¶
func GetTranslationModel() string
func GetVisionModel ¶ added in v1.0.1
func GetVisionModel() string
Types ¶
Click to show internal directories.
Click to hide internal directories.