Skip to content

Conversation

@caizer0x
Copy link
Contributor

@caizer0x caizer0x commented Mar 25, 2025

Swap out system prompts

Changes Made

  • Added src/langchain/evals/utils/systemPrompts.ts
  • Removed system prompt string from src/langchain/evals/utils/runEvals.ts to system prompt file

Prompt Used

  • Added two new system prompts
  • Added examples to system prompts for few-shot learning
  • The third prompt combines few shot + XML labeling.

Additional Notes

  • Prompt 3, increases test pass rate by about 14% (73 -> 83 tests pass)
  • Ran 3 times, showed increased performance all 3

image

Checklist

  • I have tested these changes locally
  • I have added the prompt used to test it

@caizer0x caizer0x marked this pull request as ready for review March 25, 2025 17:29
@caizer0x caizer0x force-pushed the different-system-prompts branch from 16e6461 to 9e0c7f6 Compare March 26, 2025 15:10
@michaelessiet michaelessiet merged commit f818106 into sendaifun:main Mar 26, 2025
2 checks passed
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.

2 participants