Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 42 |
|
0.00% |
0 / 9 |
CRAP | |
0.00% |
0 / 1 |
| AIPromptExamples | |
0.00% |
0 / 42 |
|
0.00% |
0 / 9 |
90 | |
0.00% |
0 / 1 |
| getFlyEngageCuriousExamples | |
0.00% |
0 / 5 |
|
0.00% |
0 / 1 |
2 | |||
| getFlyEngageThoughtfulExamples | |
0.00% |
0 / 5 |
|
0.00% |
0 / 1 |
2 | |||
| getFlyEngageOptimisticExamples | |
0.00% |
0 / 5 |
|
0.00% |
0 / 1 |
2 | |||
| getFlyEngageCustomExamples | |
0.00% |
0 / 5 |
|
0.00% |
0 / 1 |
2 | |||
| getFlyPostHiringExamples | |
0.00% |
0 / 4 |
|
0.00% |
0 / 1 |
2 | |||
| getFlyPostCelebrateSomethingExamples | |
0.00% |
0 / 4 |
|
0.00% |
0 / 1 |
2 | |||
| getFlyPostCompanyNewsExamples | |
0.00% |
0 / 5 |
|
0.00% |
0 / 1 |
2 | |||
| getFlyPostThoughtLeadershipExamples | |
0.00% |
0 / 5 |
|
0.00% |
0 / 1 |
2 | |||
| getFlyPostCustomExamples | |
0.00% |
0 / 4 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | |
| 3 | namespace App\Services\FlyMsgAI; |
| 4 | |
| 5 | class AIPromptExamples |
| 6 | { |
| 7 | |
| 8 | public static function getFlyEngageCuriousExamples($context, $promptInitial, $formattedPromptExamples): string |
| 9 | { |
| 10 | return " |
| 11 | $promptInitial |
| 12 | |
| 13 | $formattedPromptExamples |
| 14 | |
| 15 | input: You are creative, very experienced in |
| 16 | social media, able to engage audiences and an expert in LinkedIn content |
| 17 | creation. |
| 18 | |
| 19 | Your mission is to write a curious and engaging reply to this LinkedIn post. Output should be crisp and clear. Write in a way that can go viral on LinkedIn. Include a question to solicit engagement with the author where appropriate and applicable. |
| 20 | input: $context |
| 21 | output:"; |
| 22 | } |
| 23 | |
| 24 | public static function getFlyEngageThoughtfulExamples($context, $promptInitial, $formattedPromptExamples): string |
| 25 | { |
| 26 | return " |
| 27 | $promptInitial |
| 28 | |
| 29 | $formattedPromptExamples |
| 30 | |
| 31 | input: You are creative, very experienced in social media, able to engage audiences and an expert in LinkedIn content creation. |
| 32 | |
| 33 | Your mission is to write a thoughtful, inspiring, and reflective response to this LinkedIn post. Output should be crisp and clear. Write in a way that |
| 34 | can go viral on LinkedIn. |
| 35 | |
| 36 | input: $context |
| 37 | output:"; |
| 38 | } |
| 39 | |
| 40 | public static function getFlyEngageOptimisticExamples($context, $promptInitial, $formattedPromptExamples): string |
| 41 | { |
| 42 | return " |
| 43 | $promptInitial |
| 44 | |
| 45 | $formattedPromptExamples |
| 46 | |
| 47 | input: You are creative, very experienced in social media, able to engage audiences and an expert in LinkedIn content creation. |
| 48 | |
| 49 | Your mission is to write a positive, optimistic, and encouraging response to this LinkedIn post. Output should be crisp and clear. Write in a way that |
| 50 | can go viral on LinkedIn. |
| 51 | |
| 52 | input: $context |
| 53 | output:"; |
| 54 | } |
| 55 | |
| 56 | public static function getFlyEngageCustomExamples($custom_prompt, $context, $promptInitial, $formattedPromptExamples): string |
| 57 | { |
| 58 | return "$promptInitial |
| 59 | |
| 60 | $formattedPromptExamples |
| 61 | |
| 62 | input: You are creative, very experienced in social media, able to engage audiences and an expert in LinkedIn content creation. |
| 63 | Your mission is to $custom_prompt on |
| 64 | input: $context |
| 65 | output:"; |
| 66 | } |
| 67 | |
| 68 | public static function getFlyPostHiringExamples($prompt, $promptInitial, $formattedPromptExamples): string |
| 69 | { |
| 70 | return "$promptInitial |
| 71 | |
| 72 | $formattedPromptExamples |
| 73 | |
| 74 | input: You are creative, extremely experienced in HR recruiting and an expert in social media writing. |
| 75 | input: Your mission is to $prompt |
| 76 | output:"; |
| 77 | } |
| 78 | |
| 79 | public static function getFlyPostCelebrateSomethingExamples($prompt, $promptInitial, $formattedPromptExamples): string |
| 80 | { |
| 81 | return "$promptInitial |
| 82 | |
| 83 | $formattedPromptExamples |
| 84 | |
| 85 | input: You are creative, extremely experienced in social media, a seasoned growth marketer, able to engage audiences and an expert in LinkedIn social media content creation. |
| 86 | input: Your mission is to $prompt |
| 87 | output:"; |
| 88 | } |
| 89 | |
| 90 | public static function getFlyPostCompanyNewsExamples($prompt, $promptInitial, $formattedPromptExamples): string |
| 91 | { |
| 92 | return " |
| 93 | $promptInitial |
| 94 | |
| 95 | $formattedPromptExamples |
| 96 | |
| 97 | input: You are creative, extremely experienced in social media, a seasoned growth marketer, able to engage audiences and an expert in LinkedIn social media content creation. |
| 98 | input: Your mission is to $prompt |
| 99 | output:"; |
| 100 | } |
| 101 | |
| 102 | public static function getFlyPostThoughtLeadershipExamples($prompt, $promptInitial, $formattedPromptExamples): string |
| 103 | { |
| 104 | return " |
| 105 | $promptInitial |
| 106 | |
| 107 | $formattedPromptExamples |
| 108 | input: Your mission is to $prompt |
| 109 | output:"; |
| 110 | } |
| 111 | |
| 112 | public static function getFlyPostCustomExamples($prompt, $promptInitial, $formattedPromptExamples): string |
| 113 | { |
| 114 | return "$promptInitial |
| 115 | |
| 116 | $formattedPromptExamples |
| 117 | |
| 118 | input: You are creative, very experienced in social media, able to engage audiences and an expert in LinkedIn content creation. |
| 119 | input: Your mission is to $prompt |
| 120 | output:"; |
| 121 | } |
| 122 | } |