Go to file
Sam 8b81ff45b8
FIX: switch off native tools on Anthropic Claude Opus (#659)
Native tools do not work well on Opus.

Chain of Thought prompting means it consumes enormous amounts of
tokens and has poor latency.

This commit introduce and XML stripper to remove various chain of
thought XML islands from anthropic prompts when tools are involved.

This mean Opus native tools is now functions (albeit slowly)

From local testing XML just works better now.

Also fixes enum support in Anthropic native tools
2024-06-07 10:52:01 -03:00
.github/workflows Initial commit 2023-02-17 11:33:47 -03:00
admin/assets/javascripts/discourse FIX: Remove doubled up breadcrumb in persona UI (#650) 2024-05-29 11:37:01 +10:00
app FIX: AI Bot Shared Conversation didn't respect CDN / Subfolder (#657) 2024-06-06 15:13:51 -03:00
assets DEV: Remove breadcrumbs for now (#656) 2024-06-07 10:37:53 +10:00
config FIX: switch off native tools on Anthropic Claude Opus (#659) 2024-06-07 10:52:01 -03:00
db DEV: Update rubocop-discourse to version 3.8.0 (#641) 2024-05-28 11:15:42 +02:00
discourse_automation FEATURE: safeguard to avoid over triage (#626) 2024-05-16 16:49:44 +10:00
lib FIX: switch off native tools on Anthropic Claude Opus (#659) 2024-06-07 10:52:01 -03:00
public/ai-share UX: prevent social share content from overflowing container (#597) 2024-04-30 09:47:21 -04:00
spec FIX: switch off native tools on Anthropic Claude Opus (#659) 2024-06-07 10:52:01 -03:00
test/javascripts DEV: use sinon for safer stubbing (#624) 2024-05-15 11:54:19 +02:00
tokenizers FEATURE: Set endpoint credentials directly from LlmModel. (#625) 2024-05-16 09:50:22 -03:00
.discourse-compatibility FIX: uses getByIdentifier of d-menu (#611) 2024-05-10 12:01:02 +02:00
.eslintrc.cjs DEV: Update linting configs (#280) 2023-11-03 11:30:09 +00:00
.gitignore Initial commit 2023-02-17 11:33:47 -03:00
.prettierignore FEATURE: UI to update ai personas on admin page (#290) 2023-11-21 16:56:43 +11:00
.prettierrc.cjs DEV: Update linting configs (#280) 2023-11-03 11:30:09 +00:00
.rubocop.yml DEV: Update linting configs (#280) 2023-11-03 11:30:09 +00:00
.streerc DEV: Update linting configs (#280) 2023-11-03 11:30:09 +00:00
.template-lintrc.cjs DEV: Update linting (#326) 2023-11-29 23:01:48 +01:00
Gemfile DEV: Update linting configs (#280) 2023-11-03 11:30:09 +00:00
Gemfile.lock DEV: Update rubocop-discourse to version 3.8.0 (#641) 2024-05-28 11:15:42 +02:00
LICENSE Initial commit 2023-02-17 11:33:47 -03:00
README.md CHORE: Update Readme (#185) 2023-09-04 15:46:35 -03:00
package.json DEV: Update rubocop-discourse to version 3.8.0 (#641) 2024-05-28 11:15:42 +02:00
plugin.rb FEATURE: Configurable LLMs. (#606) 2024-05-13 12:46:42 -03:00
translator.yml UX: Display the indexing progress for RAG uploads (#557) 2024-04-09 11:03:07 -03:00
yarn.lock DEV: Update linting (#423) 2024-01-13 00:28:06 +01:00

README.md

Discourse AI Plugin

Plugin Summary

For more information, please see: https://meta.discourse.org/t/discourse-ai/259214?u=falco