discourse-ai/spec/lib/completions/dialects
Sam f62703760f
FEATURE: add Claude 3 sonnet/haiku support for Amazon Bedrock (#534)
This PR consolidates the  implements new Anthropic Messages interface for Bedrock Claude endpoints and adds support for the new Claude 3 models (haiku, opus, sonnet).

Key changes:
- Renamed `AnthropicMessages` and `Anthropic` endpoint classes into a single `Anthropic` class (ditto for ClaudeMessages -> Claude)
- Updated `AwsBedrock` endpoints to use the new `/messages` API format for all Claude models
- Added `claude-3-haiku`, `claude-3-opus` and `claude-3-sonnet` model support in both Anthropic and AWS Bedrock endpoints
- Updated specs for the new consolidated endpoints and Claude 3 model support

This refactor removes support for old non messages API which has been deprecated by anthropic
2024-03-19 06:48:46 +11:00
..
chat_gpt_spec.rb FIX: Tune function calling (#519) 2024-03-09 08:46:40 +11:00
claude_spec.rb FEATURE: add Claude 3 sonnet/haiku support for Amazon Bedrock (#534) 2024-03-19 06:48:46 +11:00
dialect_context.rb FIX: Tune function calling (#519) 2024-03-09 08:46:40 +11:00
dialect_spec.rb FIX: scrub invalid prompts when truncating (#426) 2024-01-16 13:48:00 +11:00
gemini_spec.rb FIX: Tune function calling (#519) 2024-03-09 08:46:40 +11:00
llama2_classic_spec.rb REFACTOR: Represent generic prompts with an Object. (#416) 2024-01-12 14:36:44 -03:00
mixtral_spec.rb FIX: Tune function calling (#519) 2024-03-09 08:46:40 +11:00
orca_style_spec.rb FIX: Tune function calling (#519) 2024-03-09 08:46:40 +11:00