Skip to contents

This function saves the user's configuration settings for gpttools service to a YAML file.

Usage

save_user_config(
  service = "openai",
  model = "gpt-4-1106-preview",
  task = "Permissive Chat",
  embeddings = TRUE,
  k_context = 4,
  k_history = 4,
  save_history = TRUE,
  sources = "All",
  persist = TRUE
)

Arguments

service

The name of the service to use, default is "openai".

model

The model to use, default is "gpt-4-1106-preview".

task

The task to perform, default is "Permissive Chat".

embeddings

The location of embeddings, default is "local".

k_context

The amount of context to keep, default is 4.

k_history

The amount of history to keep, default is 4.

save_history

Logical indicating whether history should be saved, default is TRUE.

sources

The sources to use, default is "All".

persist

Logical indicating whether to persist the settings, default is TRUE.

Value

Invisible NULL.