The config.yml file at the root of your repository is the configuration file you’ll use to define three entities, specified as the following top-level keys:

  1. databases: database connections
  2. models: foundation model connections

A sample config.yml file is shown below:

databases:
  - name: primary-database
    type: bigquery
    key_path: /path/to/keyfile
    dataset: dataset-name
  - name: local
    type: duckdb
    key_path: None
    dataset: /path/to/local/files

models:
  - name: openai-4o-mini
    vendor: openai
    model_ref: gpt-4o-mini
    key_var: OPENAI_API_KEY
  - name: llama3.2
    vendor: ollama
    model_ref: llama3.2:latest
    api_url: http://localhost:11434/v1
    api_key: secret

To get more information about connecting to databases or models, you can reference our integrations section.