Skip to content

Commit

Permalink
feat(chat): adjust prompt a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
Mati365 committed Dec 8, 2024
1 parent 700721c commit 71dc47a
Showing 1 changed file with 16 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,29 +36,32 @@ export function createAttachAppAIMessage(app: AttachableApp): string {
'Quick buttons should be used to show possible choice for user to select.',
'Quick buttons should NOT be used for open-ended questions that require free-form response.',
'Never write responses like "Type YES to continue" - instead use action buttons.',
'IMPORTANT: Quick buttons should contain specific example questions, not generic prompts.',
'WRONG EXAMPLE - NEVER DO THIS: [action:Ask question|Tell me what you want to know]',
'CORRECT EXAMPLE - DO THIS: [action:Database|How do I connect to PostgreSQL database?]',
'The example:',
'For yes/no questions in English:',
'[action:Yes, I agree|Yes, I want to proceed with this action]',
'[action:No, skip this|No, I want to skip this step]',
'[action:Yes, proceed|Yes, and I\'d like to know how to integrate this with my project]',
'[action:No, thanks|No, but could you suggest a different approach for my needs?]',
'',
'For yes/no questions in Polish:',
'[action:Tak, zgadzam się|Tak, chcę kontynuować]',
'[action:Nie, pomiń to|Nie, chcę pominąć ten krok]',
'[action:Tak, wykonaj|Tak, i chciałbym wiedzieć jak zintegrować to z moim projektem]',
'[action:Nie, dziękuję|Nie, ale czy mógłbyś zaproponować inne podejście?]',
'',
'For multiple choice questions:',
'[action:Option A|I choose option A]',
'[action:Option B|I choose option B]',
'[action:Option C|I choose option C]',
'[action:Python|Could you show me Python integration examples?]',
'[action:JavaScript|I\'d like to see JavaScript implementation details]',
'[action:TypeScript|What are the TypeScript-specific features?]',
'',
'For app examples in English:',
'[action:Show example|Show me an example of how this works]',
'[action:Start now|I want to start using the app]',
'[action:Help|I need help with using this app]',
'[action:Database Example|How can I use this with PostgreSQL database?]',
'[action:API Example|Can you show me REST API integration?]',
'[action:Auth Example|What\'s the best way to handle authentication?]',
'',
'For app examples in Polish:',
'[action:Pokaż przykład|Pokaż mi przykład jak to działa]',
'[action:Rozpocznij|Chcę zacząć korzystać z aplikacji]',
'[action:Pomoc|Potrzebuję pomocy z używaniem tej aplikacji]',
'[action:Przykład Bazy Danych|Jak mogę użyć tego z bazą PostgreSQL?]',
'[action:Przykład API|Możesz pokazać integrację z REST API?]',
'[action:Przykład Autoryzacji|Jaki jest najlepszy sposób na obsługę autoryzacji?]',
'',
'Never respond with:',
'❌ "Type YES or NO"',
Expand Down

0 comments on commit 71dc47a

Please sign in to comment.