-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
fix: Bedrock support #227
Conversation
docs: update instructions to use with LocalAI
Revert "docs: update instructions to use with LocalAI"
Docs main readme
## [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))
There was a problem hiding this 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
mainbranch are not accepted, as stated in the contributing policy. You have to work on thepre/betabranch (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
ClaudeandAnthropicclasses in themodelsfolder (looks like they're doing the same thing) - swap the community
BedrockEmbeddingswith the officialBedrockEmbeddings
| raise KeyError("Model not supported") from exc | ||
| return Gemini(llm_params) | ||
| elif "claude" in llm_params["model"]: | ||
| elif llm_params["model"].startswith("claude"): |
There was a problem hiding this comment.
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
|
Superseded by #228 |
Fixes #226
Example: https://gist.github.com/JGalego/67a3db0005f5ed052224e549e8ee627c