Skip to content

Server-Configuration

OIDC Configuration

yaml
oidc:
  provider: "https://example.com/oidc"
  audience: "feedback-fusion"
  issuer: "https://issuer.example.com"
  group_claim: "groups"
  scopes:
    - name: "ApiAccess"
      grants:
        - endpoint: "*"
          permissions:
            - "*"
    - name: "ReadAccess"
      grants:
        - endpoint: "*"
          permissions:
            - "Read"
            - "List"
  groups:
    - name: "admin"
      grants: 
        - endpoint: "*"
          permissions:
            - "*"

OIDC Configuration Reference

ParameterDescriptionDefaultData Type
providerOIDC provider URLN/AString
audienceAudience for OIDC tokens"feedback-fusion"String
issuerOptional issuer URL for OIDCN/AString
group_claimName of the claim that contains user groups"groups"String
scopesAccess scopes and permissionsN/AList
groupsUser groups and their permissionsN/AList

Available Endpoints and Permissions

  • Endpoints: "Target", "Prompt", "Field", "Response", "Export"
  • Permissions: "Read", "Write", "List"

OTLP Configuration

yaml
otlp:
  endpoint: "https://otlp.example.com"
  service_name: "feedback-fusion"

OTLP Configuration Reference

ParameterDescriptionDefaultData Type
endpointOTLP endpoint for trace spansN/AString
service_nameService name used in tracing context"feedback-fusion"String

Database Configuration

PostgreSQL

yaml
database:
  postgres:
    endpoint: "localhost:5432"
    username: "postgres_user"
    password: "postgres_password"
    database: "postgres_db"

PostgreSQL Configuration Reference

ParameterDescriptionDefaultData Type
endpointPostgreSQL hostname and portN/AString
usernameUsername for PostgreSQLN/AString
passwordPassword for PostgreSQLN/AString
databaseName of the PostgreSQL databaseN/AString

MySQL / MariaDB

yaml
database:
  mysql:
    endpoint: "localhost:3306"
    username: "mysql_user"
    password: "mysql_password"
    database: "mysql_db"

MySQL / MariaDB Configuration Reference

ParameterDescriptionDefaultData Type
endpointMySQL/MariaDB hostname and portN/AString
usernameUsername for MySQL/MariaDBN/AString
passwordPassword for MySQL/MariaDBN/AString
databaseName of the MySQL/MariaDB databaseN/AString

MSSQL

yaml
database:
  mssql:
    endpoint: "localhost:1433"
    username: "mssql_user"
    password: "mssql_password"
    database: "mssql_db"
    encrypt: true
    trust_server_certificate: true

MSSQL Configuration Reference

ParameterDescriptionDefaultData Type
endpointMSSQL hostname and portN/AString
usernameUsername for MSSQLN/AString
passwordPassword for MSSQLN/AString
databaseName of the MSSQL databaseN/AString
encryptEncrypt connection to MSSQLtrueBoolean
trust_server_certificateTrust server certificate for MSSQLtrueBoolean

Presets

Example:

yaml
preset:
  targets:
  - id: target 
    name: TestTarget 
    description: A nice Target 
    prompts:
      - id: prompt 
        title: Testprompt 
        description: A nice Prompt 
        active: true
        fields:
          - id: field1 
            title: TextField
            field_type: text 
            options:
              type: text
              lines: 1 
              placeholder: test