This commit adds support for streaming completions from Llama models alongside with Anthropic's Claude on Bedrock. Key changes: - Introduce a `BedrockModelToolkit` interface to encapsulate model-specific logic for generating commands and unwrapping response chunks - Implement `AnthropicClaude3Toolkit` for Claude model - Implement `Llama3Toolkit` for Llama models - Refactor `_streamChat` method to use the appropriate toolkit based on the selected model - Clean up code formatting and remove unused imports Co-authored-by: Ruben Kostandyan <kostard@amazon.com> |
||
|---|---|---|
| .. | ||
| intellij | ||
| vscode | ||