packages/prompts/README.md
This package contains prompt chains and templates for the LobeHub application.
chainSummaryTitle - Generate conversation titleschainLangDetect - Detect language of input textchainTranslate - Translate content between languageschainPickEmoji - Select appropriate emojis for contentchainAnswerWithContext - Answer questions using knowledge base contextchainAbstractChunkText - Summarize text chunksPrompt evaluation tests are located in devtools/agent-evals/scenarios/prompt-chain/ (cloud repo) and run via the agent-evals CLI.
# Run from cloud repo root
bun run agent-evals run prompt-chain/translate
bun run agent-evals run prompt-chain/emoji-picker
bun run agent-evals list # See all available scenarios
# Run unit tests
pnpm test
src/
├── chains/ # Prompt chain implementations
├── prompts/ # Prompt templates and utilities
└── index.ts # Main exports