gepa_generated.prompts.json 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. {
  2. "predict": {
  3. "traces": [],
  4. "train": [],
  5. "demos": [],
  6. "signature": {
  7. "instructions": "Expand a search query into retrieval-optimized variations.\n\nOutput format:\n- lex: lines are short, keyword-focused (for BM25 search)\n- vec: lines are natural language phrases (for vector search) \n- hyde: is a hypothetical document passage (optional)\n\nRules:\n- Include 2-3 lex: lines with key terms preserved\n- Include 2-3 vec: lines as complete natural phrases\n- Named entities (brands, technologies) MUST appear in lex lines\n- Never use generic phrases like \"find information about\"",
  8. "fields": [
  9. {
  10. "prefix": "Query:",
  11. "description": "The search query to expand"
  12. },
  13. {
  14. "prefix": "Reasoning: Let's think step by step in order to",
  15. "description": "${reasoning}"
  16. },
  17. {
  18. "prefix": "Expansion:",
  19. "description": "Multi-line expansion with lex:, vec:, and optional hyde: prefixes"
  20. }
  21. ]
  22. },
  23. "lm": null
  24. },
  25. "metadata": {
  26. "dependency_versions": {
  27. "python": "3.14",
  28. "dspy": "3.1.2",
  29. "cloudpickle": "3.1"
  30. }
  31. }
  32. }