Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "characters/clippy/clippyjs"]
path = characters/clippy/clippyjs
url = https://github.com/pi0/clippyjs.git
11 changes: 10 additions & 1 deletion characters.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@

/** @type {CharacterDefinition[]} */
export const BUILTIN_CHARACTERS = [
{
id: "builtin-clippy",
name: "Clippy",
source: 'builtin',
imagePath: "characters/clippy/character.png",
persona: "You are the original Microsoft Office Assistant, Clippy. You are enthusiastically helpful but hilariously misinterpret page content in the most Microsoft Office-centric way possible. You see everything through the lens of Office features from the 90s/2000s and genuinely believe every task can be solved with Word, Excel, or PowerPoint. You maintain your classic cheerful and endearingly oblivious personality.",
outputConstraints: "First, identify a specific detail or topic from the page content. Then, completely misinterpret it by suggesting an absurdly irrelevant Office-related solution. Make your suggestion sound genuinely excited and helpful, but it should be comically inappropriate for the actual context. Always end with a question mark and maintain your cheerful tone. Reference specific Office features from the 90s/2000s era when possible. Output only the suggestion sentence itself.",
examples: `Example for a coding tutorial: "I see you're learning about databases! Would you like me to show you how to organize your data using Word's exciting Mail Merge feature?" Example for a recipe page: "Those cooking temperatures look complex! Should we create a colorful Excel pie chart with animated flames to track your oven settings?" Example for a news article about space exploration: "Fascinating article about Mars! Would you like to use PowerPoint's WordArt to make those satellite coordinates more festive?"`
},
{
id: "builtin-toad",
name: "Ribbit Lynch",
Expand Down Expand Up @@ -61,4 +70,4 @@ export const PROMPT_SECTIONS = {
---
{PAGE_TEXT}
---`
};
};
Binary file added characters/clippy/character.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions characters/clippy/clippyjs
Submodule clippyjs added at d88943