Skip to content

Commit

Permalink
nit in changelog and surfacing better errors in bedrock image query d…
Browse files Browse the repository at this point in the history
…river
  • Loading branch information
emjay07 committed Mar 21, 2024
1 parent 8a2e640 commit 5528638
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `BaseTextLoader` to accept a `BaseChunker`.
- Default model of `AmazonBedrockStructureConfig` to `anthropic.claude-3-sonnet-20240229-v1:0`.
- `AnthropicPromptDriver` and `BedrockClaudePromptModelDriver` to use Anthropic's Messages API.
- `OpenAIVisionImageQueryDriver` now has a required field `max_output_tokens` that defaults to 256
- `OpenAiVisionImageQueryDriver` now has a required field `max_output_tokens` that defaults to 256

## [0.23.2] - 2024-03-15

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ def try_query(self, query: str, images: list[ImageArtifact]) -> TextArtifact:
try:
return self.image_query_model_driver.process_output(response_body)
except Exception as e:
raise e
raise ValueError(f"Output is unable to be processed as returned {e}")

0 comments on commit 5528638

Please sign in to comment.