discourse-ai/lib/completions/dialects
Sam 0cbbf130b9
FIX: never mention the word JSON in tool preamble (#572)
Just having the word JSON can confuse models when we expect them
to deal solely in XML

Instead provide an example of how string arrays should be returned

Technically the tool framework supports int arrays and more, but
our current implementation only does string arrays.

Also tune the prompt construction not to give any tips about arrays
if none exist
2024-04-11 11:24:22 +10:00
..
chat_gpt.rb FEATURE: remove gpt-4-turbo-0125 preview swap with gpt-4-turbo (#568) 2024-04-10 09:53:20 -03:00
claude.rb FEATURE: Add vision support to AI personas (Claude 3) (#546) 2024-03-27 14:30:11 +11:00
command.rb FEATURE: Cohere Command R support (#558) 2024-04-11 07:24:17 +10:00
dialect.rb FIX: never mention the word JSON in tool preamble (#572) 2024-04-11 11:24:22 +10:00
fake.rb UX: Validations to LLM-backed features (except AI Bot) (#436) 2024-01-29 16:04:25 -03:00
gemini.rb FIX: Tune function calling (#519) 2024-03-09 08:46:40 +11:00
llama2_classic.rb REFACTOR: Represent generic prompts with an Object. (#416) 2024-01-12 14:36:44 -03:00
mixtral.rb FIX: Tune function calling (#519) 2024-03-09 08:46:40 +11:00
orca_style.rb FIX: Tune function calling (#519) 2024-03-09 08:46:40 +11:00