discourse-ai/lib/completions/endpoints
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
..
anthropic.rb FEATURE: add Claude 3 sonnet/haiku support for Amazon Bedrock (#534) 2024-03-19 06:48:46 +11:00
aws_bedrock.rb FEATURE: add Claude 3 sonnet/haiku support for Amazon Bedrock (#534) 2024-03-19 06:48:46 +11:00
base.rb FEATURE: add Claude 3 sonnet/haiku support for Amazon Bedrock (#534) 2024-03-19 06:48:46 +11:00
canned_response.rb UX: Validations to LLM-backed features (except AI Bot) (#436) 2024-01-29 16:04:25 -03:00
fake.rb FEATURE: allow personas to supply top_p and temperature params (#459) 2024-02-03 07:09:34 +11:00
gemini.rb FEATURE: Add GitHub Helper AI Bot persona and tools (#513) 2024-03-08 06:37:23 +11:00
hugging_face.rb UX: Validations to LLM-backed features (except AI Bot) (#436) 2024-01-29 16:04:25 -03:00
open_ai.rb FEATURE: Add GitHub Helper AI Bot persona and tools (#513) 2024-03-08 06:37:23 +11:00
vllm.rb UX: Validations to LLM-backed features (except AI Bot) (#436) 2024-01-29 16:04:25 -03:00