Skip to content
Closed
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
7 changes: 6 additions & 1 deletion docusaurus/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,10 @@ docs/node_modules/**
# LLMs.txt files and related
llms*.txt
**/llm*.txt

# Allow the generated public files under static/ to be committed by CI
!static/llms.txt
!static/llms-full.txt
!static/llms-code.txt
pr-*.diff
*-results.json
*-results.json
46 changes: 23 additions & 23 deletions docusaurus/src/components/AiToolbar/config/aiToolsConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,29 @@ export const aiToolsConfig = {
icon: 'copy',
actionType: 'copy-markdown',
},
{
id: 'open-chatgpt',
label: 'Open with ChatGPT',
icon: 'open-ai-logo',
actionType: 'open-llm',
targetUrl: 'https://chat.openai.com/',
promptTemplate: 'Read from {{url}} so I can ask questions about it.',
localizedPromptTemplates: aiPromptTemplates,
promptParam: 'prompt',
openIn: '_blank',
},
{
id: 'open-claude',
label: 'Open with Claude',
icon: 'chat-teardrop-text',
actionType: 'open-llm',
targetUrl: 'https://claude.ai/new',
promptTemplate: 'Read from {{url}} so I can ask questions about it.',
localizedPromptTemplates: aiPromptTemplates,
copyPromptToClipboard: true,
promptParam: 'q',
openIn: '_blank',
},
{
id: 'view-llms',
label: 'View LLMs.txt',
Expand All @@ -35,28 +58,5 @@ export const aiToolsConfig = {
actionType: 'navigate',
url: '/llms-full.txt',
},
{
id: 'open-chatgpt',
label: 'Open with ChatGPT',
icon: 'open-ai-logo',
actionType: 'open-llm',
targetUrl: 'https://chat.openai.com/',
promptTemplate: 'Read from {{url}} so I can ask questions about it.',
localizedPromptTemplates: aiPromptTemplates,
promptParam: 'prompt',
openIn: '_blank',
},
{
id: 'open-claude',
label: 'Open with Claude',
icon: 'chat-teardrop-text',
actionType: 'open-llm',
targetUrl: 'https://claude.ai/new',
promptTemplate: 'Read from {{url}} so I can ask questions about it.',
localizedPromptTemplates: aiPromptTemplates,
copyPromptToClipboard: true,
promptParam: 'q',
openIn: '_blank',
},
],
};