# AiSettings

- File ID: file:11mkiaz:aisettings-cs
- Path: NexusReader.Infrastructure/Configuration/AiSettings.cs
- Role: config
- Layer: infrastructure

## Purpose

Defines typed configuration/settings for AI (Google) integration used for options binding and runtime configuration of model, embedding, token limits, retries, and temperature.

## Key Details

Exposes SectionName = "Ai:Google" for config binding; defaults target Gemini family models, embedding model id, high MaxInputTokens (15000), MaxOutputTokens 1000, RetryAttempts 3 and low Temperature 0.1.

## Symbols

- AiSettings: Defines typed configuration/settings for AI (Google) integration used for options binding and runtime configuration of model, embedding, token limits, retries, and temperature.
- AiSettings: Holds AI integration configuration values (Google API key, model choices, token limits, retry and sampling settings) for options/config binding.

## Dependencies

- No resolved dependencies.

## Calls

- No resolved calls.

## Coverage

- Symbols: 2
- Executable symbols: 0
- Executable symbols with control flow: 0
- Grounded edges: 2
- Unresolved references: 0
- Control-flow fragments: 0
- Unresolved jumps: 0
- Unsupported constructs: 0
- Control-flow coverage: 100%
- Required diagrams: 1
- Generated diagrams: 1

## Diagrams

### AiSettings Neighborhood

```mermaid
flowchart LR
    class_1e23oyo_aisettings("AiSettings")
    file_11mkiaz_aisettings_cs("AiSettings")
    type_7ek9gn_aisettings[/"AiSettings"/]
```

## Diagram Validation

- Status: pass
