MyNixOS website logo
option

services.private-gpt.settings

settings-local.yaml for private-gpt.

Declarations
Type
YAML value
Default
{
  azopenai = { };
  data = {
    local_data_folder = "/var/lib/private-gpt";
  };
  embedding = {
    mode = "ollama";
  };
  llm = {
    mode = "ollama";
    tokenizer = "";
  };
  ollama = {
    api_base = "http://localhost:11434";
    embedding_api_base = "http://localhost:11434";
    embedding_model = "nomic-embed-text";
    keep_alive = "5m";
    llm_model = "llama3";
    repeat_last_n = 64;
    repeat_penalty = 1.2;
    request_timeout = 120;
    tfs_z = 1;
    top_k = 40;
    top_p = 0.9;
  };
  openai = { };
  qdrant = {
    path = "/var/lib/private-gpt/vectorstore/qdrant";
  };
  vectorstore = {
    database = "qdrant";
  };
}