Environment Settings

Xio is configured using environment variables stored in a .env file at the root of the project. This file controls how Xio behaves, which services it connects to, and which features are enabled.

Here are some common settings:

envCopyEditLLM_PROVIDER=openai
EMBEDDING_PROVIDER=openai
VECTOR_DB=chroma
ALLOW_FILE_UPLOAD=true
PORT=3001

You can edit these values to change how Xio runs. After editing, restart the server to apply changes.

Each setting controls a core part of the system:

  • LLM_PROVIDER: Which model backend to use (e.g., openai, local)

  • EMBEDDING_PROVIDER: Where embeddings are generated

  • VECTOR_DB: The database that stores searchable document chunks

  • ALLOW_FILE_UPLOAD: Toggles document upload support

Use this file to tailor Xio to your environment and hardware.

Last updated