Versions in this module Expand all Collapse all v0 v0.0.1 Feb 20, 2024 Changes in this version + const DefaultNumPredict + const DefaultOllamaEndpoint + const DefaultTemperature + type LLMmodel string + const Mistral + type OllamaOptions struct + NumPredict *int64 + Temperature *float64 + type OllamaParams struct + Model LLMmodel + Options OllamaOptions + Prompt string + Stream bool + type OllamaToken struct + Done bool + Model LLMmodel + Response string + type Prompter struct + Endpoint string + Model LLMmodel + Opt OllamaOptions + func NewPrompter(endpoint string, model LLMmodel, opt ...OllamaOptions) Prompter + func (p Prompter) GetCommitMsg(summary, customCommitPrompt string) string + func (p Prompter) GetSummary(diff, customSummaryPrompt string) string