Skip to content

Conversation

@ssbushi
Copy link
Contributor

@ssbushi ssbushi commented May 6, 2024

No description provided.

@ssbushi ssbushi changed the title Upse dotprompt in evaluators May 6, 2024
Comment on lines +294 to +296
const myPrompt = await loadPromptFile(
path.resolve(__dirname, './path/to/my_prompt.prompt')
);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this the preferred way or if this should be mentioned as an alternative.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, I'm a bit torn, but I think this way is more flexible, if a little more verbose. I think it's good.

@ssbushi ssbushi requested a review from tagboola May 8, 2024 20:14
@pavelgj pavelgj merged commit 0c81962 into main May 8, 2024
@pavelgj pavelgj deleted the sb/evalDotPrompt branch May 8, 2024 20:16
@pavelgj
Copy link
Collaborator

pavelgj commented May 8, 2024

Ugh... I have a really bad headache.... instead of "approve" I hit "merge"...

cabljac pushed a commit to invertase/genkit that referenced this pull request Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants