You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dead Code: Unused searchPaths Variable Line No - 98
Probably this will cause an issue but before fixing make sure we test it throughly.
const sdkPromptsDirSource = path.resolve(__dirname, '../../prompts');
const sdkPromptsDirDist = path.resolve(__dirname, './prompts');
Centralize Prompt Discovery: Move the logic for resolving prompt file paths into a dedicated service or into PromptLoader. The AssertionEngine should not be concerned with file system path resolution.
Update unit tests.
Context around prompts
Evaliphy consumers can provide their own prompts through evaliphy.config.ts file. There is a key promptsDir which should be respected if set by user.
If prompts are not available under promptsDir , the SDK should fallback to prompts shipped by it.
What happened?
Issues
const sdkPromptsDirSource = path.resolve(__dirname, '../../prompts');
const sdkPromptsDirDist = path.resolve(__dirname, './prompts');
Context around prompts
promptsDirwhich should be respected if set by user.promptsDir, the SDK should fallback to prompts shipped by it.Reproduction steps
No response
Evaliphy version
No response
Relevant log output