Skip to content

Python scraper based on AI

Merge branch 'pre/beta' into main

Marco Vinciguerra96ebcfcc357d
diff --cc CHANGELOG.md
index 4a29f231,dd613838..17505fcd
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -1,10 -1,10 +1,12 @@@
-## [0.6.1-beta.1](https://github.com/VinciGit00/Scrapegraph-ai/compare/v0.6.0...v0.6.1-beta.1) (2024-05-02)
+## [0.6.1](https://github.com/VinciGit00/Scrapegraph-ai/compare/v0.6.0...v0.6.1) (2024-05-02)
+
+
### Bug Fixes
-* add to requirements.txt langchain-aws = "^0.1.2" ([1afa319](https://github.com/VinciGit00/Scrapegraph-ai/commit/1afa31910d25b2735abe0ad09dad433d6c2159fb))
+* gemini errror ([2ea54ea](https://github.com/VinciGit00/Scrapegraph-ai/commit/2ea54eab1d070e177c7d5ecfcc032b325fbd7c12))
+
+
## [0.6.0](https://github.com/VinciGit00/Scrapegraph-ai/compare/v0.5.2...v0.6.0) (2024-05-02)
diff --cc pyproject.toml
index 800e5c9f,b6f39b23..19c41f4d
--- a/pyproject.toml
+++ b/pyproject.toml
@@@ -1,9 -1,9 +1,8 @@@
[tool.poetry]
name = "scrapegraphai"
-version = "0.6.1b1"
-
+version = "0.6.1"
-
description = "A web scraping library based on LangChain which uses LLM and direct graph logic to create scraping pipelines."
authors = [
"Marco Vinciguerra <[email protected]>",
diff --cc scrapegraphai/helpers/models_tokens.py
index 55d3e689,3105929c..a9bab3fc
--- a/scrapegraphai/helpers/models_tokens.py
+++ b/scrapegraphai/helpers/models_tokens.py
@@@ -48,5 -46,23 +48,22 @@@ models_tokens =
"claude2": 9000,
"claude2.1": 200000,
"claude3": 200000
+ },
+ "bedrock": {
+ "anthropic.claude-3-haiku-20240307-v1:0": 200000,
+ "anthropic.claude-3-sonnet-20240229-v1:0": 200000,
+ "anthropic.claude-3-opus-20240229-v1:0": 200000,
+ "anthropic.claude-v2:1": 200000,
+ "anthropic.claude-v2": 100000,
+ "anthropic.claude-instant-v1": 100000,
+ "meta.llama3-8b-instruct-v1:0": 8192,
+ "meta.llama3-70b-instruct-v1:0": 8192,
+ "meta.llama2-13b-chat-v1": 4096,
+ "meta.llama2-70b-chat-v1": 4096,
+ "mistral.mistral-7b-instruct-v0:2": 32768,
+ "mistral.mixtral-8x7b-instruct-v0:1": 32768,
+ "mistral.mistral-large-2402-v1:0": 32768,
+ "cohere.embed-english-v3": 512,
+ "cohere.embed-multilingual-v3": 512
}
}
-