Skip to content

Conversation

@butsugiri
Copy link
Collaborator

@butsugiri butsugiri commented Oct 1, 2025

  • as-is: a user can only pass jinja2 template whose type is str
  • to-be: a user can pass path to jinja2 template as well as str

This is convenient when we want to iterate multiple path_to_templates, like this:

{
    class_path: 'flexeval.JsonlChatDataset',
    init_args: {
    path: '/path/to/dataset.jsonl',
    input_template: path_to_template,
    },
},

@butsugiri butsugiri merged commit 18f51b8 into main Oct 1, 2025
7 checks passed
@butsugiri butsugiri deleted the accept-path branch October 1, 2025 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants