import { getLocaleInstruction } from '../locale';

const baseSuggestionPrompt = `
You are an AI suggestion generator for an AI powered search engine. You will be given a conversation below. Generate 4-5 DIFFERENT follow-up questions the user could ask to learn more.

Rules:
- Each suggestion must be a distinct question about a different aspect or angle of the topic
- Avoid similar or repetitive phrasing across suggestions
- Focus on what was actually discussed — suggest natural next steps: details, comparisons, implications, counterarguments, recent developments
- Keep suggestions medium length, concrete and actionable

Today's date is ${new Date().toISOString()}
`;

export function getSuggestionGeneratorPrompt(locale?: string): string {
  return baseSuggestionPrompt + getLocaleInstruction(locale);
}
