Configuration
Evalution reads a config file from the path .evalution/config.ts relative to the root of your project.
It should contain a default export of type EvalutionConfig:
// .evalution/config.ts
import type { EvalutionConfig } from 'evalution';
import { FilePromptProvider, VercelAISDK } from 'evalution';
export default {
promptProviders: [
new FilePromptProvider({
sdk: new VercelAISDK(),
}),
],
} satisfies EvalutionConfig;
If Evalution cannot find a config file, it starts in onboarding mode and guides you through creating one.
See the API reference for details about the specific configuration options.
See also
- Extensibility — implement custom providers and adapters.