{DEFAULT_MODEL, "llama-3.1-sonar-large-128k-online", "llama-3.1-sonar-small-128k-chat", "llama-3.1-sonar-large-128k-chat"} CONFIG_KEYS = []string{API_KEY_KEY, MAX_TOKENS_KEY, MODEL_KEY, STREAM_KEY, SYSTEM_PROMPT_KEY} SEARCH_RECENCY_FILTERS = []string{"month", "week", "day", ...
Usage: pplx search [flags] Flags: -a, --api_key string API Key -f, --frequency_penalty float Token frequency penalty [0, 1.0] -l, --max_tokens int Token limit per request -m, --model string Model to use -p, --presence_penalty float Token presence penalty [-2.0, 2.0] -q, -...
An action has a text that is shown in the menu, an icon, a shortcut key, a tooltip, a status tip (shown in the status bar), a "What's This?" text, and more. It emits atriggered()signal whenever the user invokes the action (e.g., by clicking the associated menu item or tool...
= nil { if err == err.(viper.ConfigFileNotFoundError) { return Reset() } return err } return nil } func GetApiKey() string { return viper.GetString(constants.API_KEY_KEY) } func SetApiKey(value string) { viper.Set(constants.API_KEY_KEY, value) } func GetMaxTokens() int { ...