Skip to content

fix: Bedrock support #227

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 28 commits into from
Closed

Conversation

JGalego
Copy link
Contributor

@JGalego JGalego commented May 13, 2024

PeriniM and others added 26 commits May 8, 2024 13:09
docs: update instructions to use with LocalAI
Revert "docs: update instructions to use with LocalAI"
## [0.10.1](ScrapeGraphAI/Scrapegraph-ai@v0.10.0...v0.10.1) (2024-05-11)

### Bug Fixes

* crash asyncio due dependency version ([2563773](ScrapeGraphAI@2563773))

### Docs

* fixed speechgraphexample ([4bf90f3](ScrapeGraphAI@4bf90f3))
* fixed unused param and install ([cc28d5a](ScrapeGraphAI@cc28d5a))
* **readme:** improve main readme ([ae5655f](ScrapeGraphAI@ae5655f))
* update instructions to use with LocalAI ([198420c](ScrapeGraphAI@198420c))
* Update README.md ([772e064](ScrapeGraphAI@772e064))
* updated sponsor logo ([f8d8d71](ScrapeGraphAI@f8d8d71))
Copy link
Member

@f-aguzzi f-aguzzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not a member of the team, however:

  • direct contributions to the main branch are not accepted, as stated in the contributing policy. You have to work on the pre/beta branch (the embedding problem is already fixed in that branch, by the way)

You might still improve two things on that branch too, though:

  • look into the duplicate Claude and Anthropic classes in the models folder (looks like they're doing the same thing)
  • swap the community BedrockEmbeddings with the official BedrockEmbeddings

@@ -146,12 +147,12 @@ def _create_llm(self, llm_config: dict, chat=False) -> object:
except KeyError as exc:
raise KeyError("Model not supported") from exc
return Gemini(llm_params)
elif "claude" in llm_params["model"]:
elif llm_params["model"].startswith("claude"):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, could be used in other points of this file

@JGalego JGalego changed the base branch from main to pre/beta May 13, 2024 11:18
@JGalego
Copy link
Contributor Author

JGalego commented May 13, 2024

Superseded by #228

@JGalego JGalego closed this May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Amazon Bedrock support is not working
9 participants