---
title: "Update Configs"
method: PUT
path: "/api/configs/update"
tags: ["configs"]
---

# Update Configs

`PUT /api/configs/update`

Update user-specific configuration settings.
Saves new configurations to a TOML file if different from existing ones.

## Request body

- ConfigUpdateData
  - `configs` AllConfigs, required
    - `Parser` ParserConfig
    - `Chunker` ChunkerConfig
    - `Embedder` EmbedderConfig
      - `MODEL_NAME` string — The name of the embedder model.
      - `API_TYPE` 'local' | 'remote' — The inference type (local or remote).
    - `Retriever` RetrieverConfig
      - `MIN_RETRIEVAL_SIM_SCORE` number — Minimum similarity score for retrieval of a chunk.
      - `MAX_DISTINCT_DOCUMENTS` integer — Maximum number of distinct documents to search for.
      - `MAX_TOTAL_CHUNKS_TO_RETRIEVE` integer — Maximum total number of chunks to retrieve for all documents retrieved.
      - `GROUP_SIZE` integer — Maximum number of chunks per document for retrieval.
    - `Reranker` RerankerConfig
      - `MAX_NUMB_OF_CHUNKS` integer — Maximum number of chunks to return after reranking.
      - `MODEL_NAME` string — Name of the reranking model to use.
      - `API_TYPE` 'local' | 'remote' — The inference type (local or remote).
    - `QueryLLM` QueryLLMConfig
      - `MODEL_NAME` string — The name of the model to be used.
      - `API_TYPE` 'local' | 'remote' — The inference type (local or remote).
      - `SYSTEM_INSTRUCTION` string — The system instruction string.
      - `MAX_CHAR_SIZE_TO_ANSWER` integer — Maximum character size to answer.
      - `TEMPERATURE` number — Temperature value for randomness.
      - `MAX_TOKENS` integer — Maximum number of tokens allowed.
    - `TitleLLM` TitleLLMConfig
      - `MODEL_NAME` string — The name of the model to be used.
      - `API_TYPE` 'local' | 'remote' — The inference type (local or remote).
      - `SYSTEM_INSTRUCTION` string
      - `MAX_CHAR_SIZE_TO_ANSWER` integer — Maximum character size to answer.
      - `TEMPERATURE` number — Temperature value for randomness.
      - `MAX_TOKENS` integer — Maximum number of tokens allowed.
    - `DocumentDateExtractorLLM` DocumentDateExtractorLLMConfig
      - `MODEL_NAME` string — The name of the model to be used.
      - `API_TYPE` 'local' | 'remote' — The inference type (local or remote).
      - `SYSTEM_INSTRUCTION` string
      - `MAX_CHAR_SIZE_TO_ANSWER` integer — Maximum character size to answer.
      - `TEMPERATURE` number — Temperature value for randomness.
      - `MAX_TOKENS` integer — Maximum number of tokens allowed.
    - `ModelCitation` ModelCitationConfig
      - `SIM_THREASHOLD` number — How similar does the statement needs to be to be considered as citation.
      - `MODEL_NAME` string — Name of the model to be used.
  - `filename_suffix` string

## Response `200`

Successful Response

- ConfigUpdateResponse
  - `detail` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/arbicity/apis/arbi.md) · [All operations](https://skmtc.dev/arbicity/apis/arbi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/arbicity/arbi/revisions/8cb63de3e7f5/schema)
