João Galego

Results 8 issues of João Galego

Added demo for [Amazon Comprehend Medical](https://aws.amazon.com/comprehend/medical/) - just needs permissions to make `comprehendmedical:*` calls. ![How it works](https://d1.awsstatic.com/product-marketing/comprehend/medical/product-page-diagram_Amazon-Comprehend-Medical_HIW.1602fc1fcaeac97995463e57721917750ee9707e.png)

#### Reference Issues/PRs https://github.com/princeton-nlp/SWE-agent/issues/27 #### What does this implement/fix? Explain your changes. This PR fixes https://github.com/princeton-nlp/SWE-agent/issues/27 (Claude models only). It adds a `BedrockModel` class built on top of `anthropic[bedrock]`. ```bash...

## Description of changes - New functionality - Adds support for [Cohere Embed](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters-embed.html) models to `AmazonBedrockEmbeddingFunction` ## Test plan *How are these changes tested?* - [x] Tests pass locally with...

Fixes https://github.com/VinciGit00/Scrapegraph-ai/issues/226 **Example:** https://gist.github.com/JGalego/67a3db0005f5ed052224e549e8ee627c ![image](https://github.com/VinciGit00/Scrapegraph-ai/assets/7282984/4b51253c-00ec-4747-b590-3a2026e1699c)

Bedrock support is not working due to * missing class (`BedrockEmbeddings`) / `main` branch only * conflict with the Anthropic branch in `_create_llm` when using Claude models

This PR adds support for models served behind OpenAI-compatible proxies e.g. [LiteLLM](https://litellm.vercel.app/docs/simple_proxy) or [Bedrock Access Gateway](https://github.com/aws-samples/bedrock-access-gateway) (missing image generation support). The constraint is to change as little as possible of...

## Overview This PR adds support for the following models available on [Amazon Bedrock](https://aws.amazon.com/bedrock/): * Claude 3 Haiku * Claude 3 Sonnet * Claude 3 Opus ## Instructions 1. Build...

**Features** - Added support for [temporary credentials](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp.html) - Added support for [AWS credentials via environment variables](https://docs.aws.amazon.com/cli/v1/userguide/cli-configure-envvars.html) (`AWS_*`) * https://github.com/geekan/MetaGPT/issues/1174#issuecomment-2096092836 - Updated supported models and corrected max tokens * [New models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html)...