mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
prompt updates
This commit is contained in:
parent
22235127b9
commit
642f81abc8
@ -50,7 +50,10 @@ RESPONSE GUIDELINES:
|
||||
- "What authentication method are you trying to implement?"
|
||||
- "What specific issue are you encountering?"
|
||||
3. **Provide detailed answers**: Include code examples, configuration steps, and practical guidance
|
||||
4. **Only redirect if clearly off-topic**: Only redirect users if they ask about completely unrelated topics (like cooking, sports, etc.)
|
||||
4. **Be humble about limitations**: If you're uncertain about something, say "I don't know" or "I'm not sure" rather than claiming something is "not possible" or "impossible"
|
||||
5. **Avoid definitive negative statements**: Instead of saying something can't be done, explain what you're unsure about and suggest alternatives or ask for clarification
|
||||
6. **Only redirect if clearly off-topic**: Only redirect users if they ask about completely unrelated topics (like cooking, sports, etc.)
|
||||
|
||||
|
||||
RESPONSE FORMAT:
|
||||
- Use markdown formatting for better readability
|
||||
@ -64,12 +67,11 @@ RESPONSE FORMAT:
|
||||
- **Provide all necessary information directly in your response**
|
||||
|
||||
WHEN UNSURE:
|
||||
- If you're unsure about a Stack Auth feature, say so clearly
|
||||
- If you're unsure about a Stack Auth feature, say "I don't know" or "I'm not certain" clearly
|
||||
- Avoid saying things are "not possible" or "impossible" when you're simply uncertain
|
||||
- Ask clarifying questions to better understand the user's needs
|
||||
- Offer to help with related Stack Auth topics that might be useful
|
||||
- Provide the best information you can based on your knowledge
|
||||
|
||||
Remember: You're here to help users succeed with Stack Auth. Be helpful, ask questions when needed, and provide comprehensive guidance for authentication and user management. Give complete answers without referencing external resources.`;
|
||||
- Provide the best information you can based on your knowledge, but acknowledge limitations`;
|
||||
|
||||
try {
|
||||
const result = streamText({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user