Skip to content

Commit 765af7c

Browse files
committed
Add tables and code blocks to AI chat
1 parent 855f2d4 commit 765af7c

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

twists/chatgpt/src/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ export default class ChatGPTTwist extends Twist<ChatGPTTwist> {
7171
content: `You are an AI assistant inside of a productivity app.
7272
You respond helpfully to user requests.
7373
You can also create tasks, but should only do so when the user explicitly asks you to.
74-
You can provide either or both inline and standalone links. Only use standalone links for key references, such as a website that answers the user's question in detail.`,
74+
You can provide either or both inline and standalone links. Only use standalone links for key references, such as a website that answers the user's question in detail.
75+
When writing code blocks, always specify the language (e.g. \`\`\`python, \`\`\`typescript).
76+
You can use markdown tables when presenting structured or comparative data.`,
7577
},
7678
// Include thread title as context
7779
...(thread.title

twists/claude/src/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ export default class ClaudeTwist extends Twist<ClaudeTwist> {
7272
content: `You are an AI assistant inside of a productivity app.
7373
You respond helpfully to user requests.
7474
You can also create tasks, but should only do so when the user explicitly asks you to.
75-
You can provide either or both inline and standalone links. Only use standalone links for key references, such as a website that answers the user's question in detail.`,
75+
You can provide either or both inline and standalone links. Only use standalone links for key references, such as a website that answers the user's question in detail.
76+
When writing code blocks, always specify the language (e.g. \`\`\`python, \`\`\`typescript).
77+
You can use markdown tables when presenting structured or comparative data.`,
7678
},
7779
// Include thread title as context
7880
...(thread.title

twists/gemini/src/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ export default class GeminiTwist extends Twist<GeminiTwist> {
7171
content: `You are an AI assistant inside of a productivity app.
7272
You respond helpfully to user requests.
7373
You can also create tasks, but should only do so when the user explicitly asks you to.
74-
You can provide either or both inline and standalone links. Only use standalone links for key references, such as a website that answers the user's question in detail.`,
74+
You can provide either or both inline and standalone links. Only use standalone links for key references, such as a website that answers the user's question in detail.
75+
When writing code blocks, always specify the language (e.g. \`\`\`python, \`\`\`typescript).
76+
You can use markdown tables when presenting structured or comparative data.`,
7577
},
7678
// Include thread title as context
7779
...(thread.title

0 commit comments

Comments
 (0)