discourse-ai/spec
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
..
fabricators FEATURE: Configurable LLMs. (#606) 2024-05-13 12:46:42 -03:00
fixtures FIX: Load categories from search response (#612) 2024-05-14 17:13:25 +03:00
jobs FIX: blank metadata leading to errors (#578) 2024-04-17 13:46:40 +10:00
lib FIX: switch off native tools on Anthropic Claude Opus (#659) 2024-06-07 10:52:01 -03:00
models FEATURE: support Chat with AI Persona via a DM (#488) 2024-05-06 09:49:02 +10:00
requests FEATURE: restrict public sharing on login required sites (#649) 2024-05-29 11:04:47 +10:00
serializers DEV: Fix new Rubocop offenses 2024-03-06 15:23:29 +01:00
shared FEATURE: Set endpoint credentials directly from LlmModel. (#625) 2024-05-16 09:50:22 -03:00
support FIX: typo causing text_embedding_3_large to fail (#460) 2024-02-05 11:16:36 +11:00
system FIX: Reply broken when auto caption is enabled (#642) 2024-05-27 12:17:35 -07:00
tasks FIX: Filter soft-deleted topics when backfilling sentiment (#527) 2024-03-12 21:01:24 -03:00
plugin_spec.rb DEV: Fix new Rubocop offenses 2024-03-06 15:23:29 +01:00