Skip to content
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

Provider bedrock is not supported when trying to use bedrock examples listed in repo. #633

Closed
anth0nyhak1m opened this issue Sep 4, 2024 · 7 comments · Fixed by #636
Closed
Assignees

Comments

@anth0nyhak1m
Copy link

Here is my config, got it off the examples.

graph_config = {
"llm": {
"client": "bedrock",
"model": "bedrock/anthropic.claude-3-sonnet-20240229-v1:0",
"temperature": 0.0
}
}

Clarity on what "client" is helps.

Here is the error:
line 139, in _create_llm
raise ValueError(f"Provider {llm_params['model_provider']} is not supported. If possible, try to use a model instance instead.")
ValueError: Provider bedrock is not supported. If possible, try to use a model instance instead.

@anth0nyhak1m
Copy link
Author

image

Looks like the bug is caused because of a missing comma between anthropic and bedrock.

@f-aguzzi
Copy link
Member

f-aguzzi commented Sep 5, 2024

Working on it, thanks for reporting this bug. The fix will most likely be rolled out in the next beta in a few hours.

@f-aguzzi f-aguzzi self-assigned this Sep 5, 2024
f-aguzzi added a commit that referenced this issue Sep 5, 2024
@f-aguzzi f-aguzzi linked a pull request Sep 5, 2024 that will close this issue
@f-aguzzi f-aguzzi added the bug Something isn't working label Sep 5, 2024
github-actions bot pushed a commit that referenced this issue Sep 5, 2024
## [1.17.0-beta.7](v1.17.0-beta.6...v1.17.0-beta.7) (2024-09-05)

### Bug Fixes

* **AbstractGraph:** Bedrock init issues ([63a5d18](63a5d18)), closes [#633](#633)
Copy link

github-actions bot commented Sep 5, 2024

🎉 This issue has been resolved in version 1.17.0-beta.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

@VinciGit00
Copy link
Collaborator

Hi please update to the new beta

github-actions bot pushed a commit that referenced this issue Sep 8, 2024
## [1.19.0-beta.1](v1.18.1...v1.19.0-beta.1) (2024-09-08)

### Features

* **AbstractGraph:** add adjustable rate limit ([2859fb7](2859fb7))
* add scrape_do_integration ([94e69a0](94e69a0))
* add togheterai ([8f615ad](8f615ad))
* ConcatNode.py added for heavy merge operations ([bd4b26d](bd4b26d))
* fetch_node improved ([167f970](167f970))

### Bug Fixes

* **AbstractGraph:** Bedrock init issues ([63a5d18](63a5d18)), closes [#633](#633)
* correctly parsing output when using structured_output ([8e74ac5](8e74ac5))
* **ScreenshotScraper:** impose dynamic imports ([b8ef937](b8ef937))
* **Ollama:** instance model from correct package ([398b2c5](398b2c5))
* Parse Node scraping link and img urls allowing OmniScraper to work ([66a3b6d](66a3b6d))
* **SmartScraper:** pass llm_model to ParseNode ([5242166](5242166))
* **DeepSeek:** proper model initialization ([74dfc69](74dfc69))
* Removed link_urls and img_ulrs from FetchNode output ([57337a0](57337a0))
* screenshot scraper ([388630c](388630c))
* screenshot_scraper ([ef7a589](ef7a589))
* **ScreenShotScraper:** static import of optional dependencies ([52fe441](52fe441))
* update generate answernode ([c348f67](c348f67))

### chore

* **examples:** create Together AI examples ([34942de](34942de))

### CI

* **release:** 1.16.0-beta.1 [skip ci] ([d7f6036](d7f6036))
* **release:** 1.16.0-beta.2 [skip ci] ([1c37d5d](1c37d5d))
* **release:** 1.16.0-beta.3 [skip ci] ([886c987](886c987))
* **release:** 1.16.0-beta.4 [skip ci] ([ba5c7ad](ba5c7ad))
* **release:** 1.17.0-beta.1 [skip ci] ([13efd4e](13efd4e))
* **release:** 1.17.0-beta.10 [skip ci] ([af28885](af28885))
* **release:** 1.17.0-beta.11 [skip ci] ([a73fec5](a73fec5))
* **release:** 1.17.0-beta.2 [skip ci] ([08afc92](08afc92))
* **release:** 1.17.0-beta.3 [skip ci] ([fc55418](fc55418))
* **release:** 1.17.0-beta.4 [skip ci] ([5e99071](5e99071))
* **release:** 1.17.0-beta.5 [skip ci] ([16ab1bf](16ab1bf))
* **release:** 1.17.0-beta.6 [skip ci] ([50c9c6b](50c9c6b))
* **release:** 1.17.0-beta.7 [skip ci] ([4347afb](4347afb)), closes [#633](#633)
* **release:** 1.17.0-beta.8 [skip ci] ([85c374e](85c374e))
* **release:** 1.17.0-beta.9 [skip ci] ([77d0fd3](77d0fd3))
Copy link

github-actions bot commented Sep 8, 2024

🎉 This issue has been resolved in version 1.19.0-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this issue Sep 14, 2024
## [1.20.0-beta.1](v1.19.0...v1.20.0-beta.1) (2024-09-14)

### Features

* **AbstractGraph:** add adjustable rate limit ([2859fb7](2859fb7))
* add copy for smart_scraper_multi_concat ([9e3171b](9e3171b))
* add scrape_do_integration ([94e69a0](94e69a0))
* add togheterai ([8f615ad](8f615ad))
* ConcatNode.py added for heavy merge operations ([bd4b26d](bd4b26d))
* fetch_node improved ([167f970](167f970))
* refactoring of the tokenization function ([ec6b164](ec6b164))
* removed semchunk and used tikton ([1a7f21f](1a7f21f))
* return urls in searchgraph ([afb6eb7](afb6eb7))

### Bug Fixes

* Added support for nested structure ([66ea166](66ea166))
* **AbstractGraph:** Bedrock init issues ([63a5d18](63a5d18)), closes [#633](#633)
* correctly parsing output when using structured_output ([8e74ac5](8e74ac5))
* Fixed pydantic error on SearchGraphs ([039ba2e](039ba2e))
* **ScreenshotScraper:** impose dynamic imports ([b8ef937](b8ef937))
* **Ollama:** instance model from correct package ([398b2c5](398b2c5))
* OmniScraerGraph working. ([c3d1b7c](c3d1b7c))
* parse node ([947ebd2](947ebd2))
* Parse Node scraping link and img urls allowing OmniScraper to work ([66a3b6d](66a3b6d))
* **SmartScraper:** pass llm_model to ParseNode ([5242166](5242166))
* **DeepSeek:** proper model initialization ([74dfc69](74dfc69))
* pyproject.toml dependencies ([b805aea](b805aea))
* Refactor code to use CustomOpenAiCallbackManager for exclusive access to get_openai_callback ([e657113](e657113))
* Removed link_urls and img_ulrs from FetchNode output ([57337a0](57337a0))
* screenshot scraper ([388630c](388630c))
* screenshot_scraper ([ef7a589](ef7a589))
* **ScreenShotScraper:** static import of optional dependencies ([52fe441](52fe441))
* temporary fix for parse_node ([f2bb22d](f2bb22d))
* update all nodes that were using MergeNode or IteratorNode ([a92dddb](a92dddb))
* update generate answernode ([c348f67](c348f67))

### chore

* **examples:** create Together AI examples ([34942de](34942de))

### Docs

* Updated the graph_config in the documentation. ([57a58e1](57a58e1))

### CI

* **release:** 1.16.0-beta.1 [skip ci] ([d7f6036](d7f6036))
* **release:** 1.16.0-beta.2 [skip ci] ([1c37d5d](1c37d5d))
* **release:** 1.16.0-beta.3 [skip ci] ([886c987](886c987))
* **release:** 1.16.0-beta.4 [skip ci] ([ba5c7ad](ba5c7ad))
* **release:** 1.17.0-beta.1 [skip ci] ([13efd4e](13efd4e))
* **release:** 1.17.0-beta.10 [skip ci] ([af28885](af28885))
* **release:** 1.17.0-beta.11 [skip ci] ([a73fec5](a73fec5))
* **release:** 1.17.0-beta.2 [skip ci] ([08afc92](08afc92))
* **release:** 1.17.0-beta.3 [skip ci] ([fc55418](fc55418))
* **release:** 1.17.0-beta.4 [skip ci] ([5e99071](5e99071))
* **release:** 1.17.0-beta.5 [skip ci] ([16ab1bf](16ab1bf))
* **release:** 1.17.0-beta.6 [skip ci] ([50c9c6b](50c9c6b))
* **release:** 1.17.0-beta.7 [skip ci] ([4347afb](4347afb)), closes [#633](#633)
* **release:** 1.17.0-beta.8 [skip ci] ([85c374e](85c374e))
* **release:** 1.17.0-beta.9 [skip ci] ([77d0fd3](77d0fd3))
* **release:** 1.19.0-beta.1 [skip ci] ([eddcb79](eddcb79)), closes [#633](#633) [#633](#633)
* **release:** 1.19.0-beta.10 [skip ci] ([92f5df2](92f5df2))
* **release:** 1.19.0-beta.11 [skip ci] ([edfb185](edfb185))
* **release:** 1.19.0-beta.12 [skip ci] ([bd2afef](bd2afef))
* **release:** 1.19.0-beta.2 [skip ci] ([23a260c](23a260c))
* **release:** 1.19.0-beta.3 [skip ci] ([38cba96](38cba96))
* **release:** 1.19.0-beta.4 [skip ci] ([24c38f9](24c38f9))
* **release:** 1.19.0-beta.5 [skip ci] ([7621a7c](7621a7c))
* **release:** 1.19.0-beta.6 [skip ci] ([ed8e173](ed8e173))
* **release:** 1.19.0-beta.7 [skip ci] ([4ab26a2](4ab26a2))
* **release:** 1.19.0-beta.8 [skip ci] ([88b2c46](88b2c46))
* **release:** 1.19.0-beta.9 [skip ci] ([7ad6f21](7ad6f21))
Copy link

🎉 This issue has been resolved in version 1.20.0-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this issue Sep 19, 2024
## [1.21.0](v1.20.1...v1.21.0) (2024-09-19)

### Features

* **AbstractGraph:** add adjustable rate limit ([2859fb7](2859fb7))
* add copy for smart_scraper_multi_concat ([9e3171b](9e3171b))
* add scrape_do_integration ([94e69a0](94e69a0))
* add togheterai ([8f615ad](8f615ad))
* added Bedrock and Mistral to exec info ([8a37c6b](8a37c6b))
* ConcatNode.py added for heavy merge operations ([bd4b26d](bd4b26d))
* fetch_node improved ([167f970](167f970))
* refactoring of the tokenization function ([ec6b164](ec6b164))
* removed semchunk and used tikton ([1a7f21f](1a7f21f))
* return urls in searchgraph ([afb6eb7](afb6eb7))
* updated pydantic to v2 ([eb89549](eb89549))

### Bug Fixes

* Add mistral-common dependency ([7681a45](7681a45))
* Added support for nested structure ([66ea166](66ea166))
* **AbstractGraph:** Bedrock init issues ([63a5d18](63a5d18)), closes [#633](#633)
* correctly parsing output when using structured_output ([8e74ac5](8e74ac5))
* Error in pyproject dependencies ([5b5cb5b](5b5cb5b))
* fetch_node condition ([3f45c17](3f45c17))
* Fixed pydantic error on SearchGraphs ([039ba2e](039ba2e))
* **ScreenshotScraper:** impose dynamic imports ([b8ef937](b8ef937))
* **Ollama:** instance model from correct package ([398b2c5](398b2c5))
* OmniScraerGraph working. ([c3d1b7c](c3d1b7c))
* parse node ([947ebd2](947ebd2))
* Parse Node scraping link and img urls allowing OmniScraper to work ([66a3b6d](66a3b6d))
* **SmartScraper:** pass llm_model to ParseNode ([5242166](5242166))
* **DeepSeek:** proper model initialization ([74dfc69](74dfc69))
* pyproject.toml ([812c73d](812c73d))
* pyproject.toml dependencies ([b805aea](b805aea))
* Refactor code to use CustomOpenAiCallbackManager for exclusive access to get_openai_callback ([e657113](e657113))
* Removed link_urls and img_ulrs from FetchNode output ([57337a0](57337a0))
* screenshot scraper ([388630c](388630c))
* screenshot_scraper ([ef7a589](ef7a589))
* **ScreenShotScraper:** static import of optional dependencies ([52fe441](52fe441))
* temporary fix for parse_node ([f2bb22d](f2bb22d))
* update all nodes that were using MergeNode or IteratorNode ([a92dddb](a92dddb))
* update generate answernode ([c348f67](c348f67))
* update pyproject.toml ([932412e](932412e))

### chore

* **examples:** create Together AI examples ([34942de](34942de))

### Docs

* Updated the graph_config in the documentation. ([57a58e1](57a58e1))

### Refactor

* Output parser code ([28b85a3](28b85a3))

### CI

* **release:** 1.16.0-beta.1 [skip ci] ([d7f6036](d7f6036))
* **release:** 1.16.0-beta.2 [skip ci] ([1c37d5d](1c37d5d))
* **release:** 1.16.0-beta.3 [skip ci] ([886c987](886c987))
* **release:** 1.16.0-beta.4 [skip ci] ([ba5c7ad](ba5c7ad))
* **release:** 1.17.0-beta.1 [skip ci] ([13efd4e](13efd4e))
* **release:** 1.17.0-beta.10 [skip ci] ([af28885](af28885))
* **release:** 1.17.0-beta.11 [skip ci] ([a73fec5](a73fec5))
* **release:** 1.17.0-beta.2 [skip ci] ([08afc92](08afc92))
* **release:** 1.17.0-beta.3 [skip ci] ([fc55418](fc55418))
* **release:** 1.17.0-beta.4 [skip ci] ([5e99071](5e99071))
* **release:** 1.17.0-beta.5 [skip ci] ([16ab1bf](16ab1bf))
* **release:** 1.17.0-beta.6 [skip ci] ([50c9c6b](50c9c6b))
* **release:** 1.17.0-beta.7 [skip ci] ([4347afb](4347afb)), closes [#633](#633)
* **release:** 1.17.0-beta.8 [skip ci] ([85c374e](85c374e))
* **release:** 1.17.0-beta.9 [skip ci] ([77d0fd3](77d0fd3))
* **release:** 1.19.0-beta.1 [skip ci] ([eddcb79](eddcb79)), closes [#633](#633) [#633](#633)
* **release:** 1.19.0-beta.10 [skip ci] ([92f5df2](92f5df2))
* **release:** 1.19.0-beta.11 [skip ci] ([edfb185](edfb185))
* **release:** 1.19.0-beta.12 [skip ci] ([bd2afef](bd2afef))
* **release:** 1.19.0-beta.2 [skip ci] ([23a260c](23a260c))
* **release:** 1.19.0-beta.3 [skip ci] ([38cba96](38cba96))
* **release:** 1.19.0-beta.4 [skip ci] ([24c38f9](24c38f9))
* **release:** 1.19.0-beta.5 [skip ci] ([7621a7c](7621a7c))
* **release:** 1.19.0-beta.6 [skip ci] ([ed8e173](ed8e173))
* **release:** 1.19.0-beta.7 [skip ci] ([4ab26a2](4ab26a2))
* **release:** 1.19.0-beta.8 [skip ci] ([88b2c46](88b2c46))
* **release:** 1.19.0-beta.9 [skip ci] ([7ad6f21](7ad6f21))
* **release:** 1.20.0-beta.1 [skip ci] ([cc8392e](cc8392e)), closes [#633](#633) [#633](#633) [#633](#633) [#633](#633)
* **release:** 1.20.0-beta.2 [skip ci] ([4f8b55d](4f8b55d))
* **release:** 1.20.0-beta.3 [skip ci] ([cca783c](cca783c))
* **release:** 1.20.0-beta.4 [skip ci] ([c81f970](c81f970))
* **release:** 1.20.0-beta.5 [skip ci] ([b0fef3f](b0fef3f))
Copy link

🎉 This issue has been resolved in version 1.21.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants