discourse-ai/spec/lib/completions/dialects
Sam 05d8b021f1
FIX: scrub invalid prompts when truncating (#426)
When you trim a prompt we never want to have a state where there
is a "tool" reply without a corresponding tool call, it makes no
sense

Also

- GPT-4-Turbo is 128k, fix that
- Claude was not preserving username in prompt
- We were throwing away unicode usernames instead of adding to
message
2024-01-16 13:48:00 +11:00
..
chat_gpt_spec.rb FIX: scrub invalid prompts when truncating (#426) 2024-01-16 13:48:00 +11:00
claude_spec.rb FIX: scrub invalid prompts when truncating (#426) 2024-01-16 13:48:00 +11:00
dialect_context.rb REFACTOR: Represent generic prompts with an Object. (#416) 2024-01-12 14:36:44 -03:00
dialect_spec.rb FIX: scrub invalid prompts when truncating (#426) 2024-01-16 13:48:00 +11:00
gemini_spec.rb REFACTOR: Represent generic prompts with an Object. (#416) 2024-01-12 14:36:44 -03:00
llama2_classic_spec.rb REFACTOR: Represent generic prompts with an Object. (#416) 2024-01-12 14:36:44 -03:00
mixtral_spec.rb REFACTOR: Represent generic prompts with an Object. (#416) 2024-01-12 14:36:44 -03:00
orca_style_spec.rb REFACTOR: Represent generic prompts with an Object. (#416) 2024-01-12 14:36:44 -03:00