evalution
    Preparing search index...

    Interface EvalutionConfig

    Top-level configuration for an Evalution instance.

    Place a default export of this type in .evalution/config.ts at the root of your project to customise how Evalution discovers and serves prompts and traces.

    If no config file is found, Evalution will show an onboarding wizard to help you create one.

    // .evalution/config.ts
    import type { EvalutionConfig } from 'evalution';
    import { FilePromptProvider, VercelAISDK } from 'evalution';

    export default {
    promptProviders: [
    new FilePromptProvider({
    sdk: new VercelAISDK(),
    }),
    ],
    } satisfies EvalutionConfig;
    interface EvalutionConfig {
        promptProviders?: PromptProvider<NormalizedPrompt>[];
        traceProviders?: TraceProvider[];
        useDotenv?: boolean;
    }
    Index

    Properties

    promptProviders?: PromptProvider<NormalizedPrompt>[]

    One or more providers that supply prompts to the playground.

    If omitted, a FilePromptProvider rooted at the current working directory is used automatically.

    traceProviders?: TraceProvider[]

    One or more providers that supply execution traces to the playground.

    If omitted, a MemoryTraceProvider is used automatically so the Traces tab can still be exercised without wiring a real tracing backend.

    useDotenv?: boolean

    Whether to load a .env file from the directory Evalution is launched from before starting the server.

    true