Documentation ¶
Index ¶
Constants ¶
View Source
const ( Wizard = "wizardlm2:7b-q4_K_M" Qwen = "qwen2:latest" Phi = "phi3:latest" LLama3 = "llama3:latest" )
Variables ¶
This section is empty.
Functions ¶
func RetrieveResponse ¶
Types ¶
type OllamaRequest ¶
type OllamaResponse ¶
type OllamaResponse struct { Model string `json:"model,omitempty"` Created string `json:"created_at,omitempty"` Response string `json:"response"` Done bool `json:"done,omitempty"` Context []int `json:"context"` TotalDuration int64 `json:"total_duration,omitempty"` LoadDuration int64 `json:"load_duration,omitempty"` PromptEvalDuration int64 `json:"prompt_eval_duration,omitempty"` EvalCount int64 `json:"eval_count,omitempty"` EvalDuration int64 `json:"eval_duration,omitempty"` }
func OllamaGen ¶
func OllamaGen(article scrapers.ScrapedResult) OllamaResponse
Click to show internal directories.
Click to hide internal directories.